linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ata: pata_oldpiix: Add missing device ID for INTEL_82371AB
@ 2018-12-10 13:46 Corentin Labbe
  2018-12-10 14:52 ` Sergei Shtylyov
  0 siblings, 1 reply; 7+ messages in thread
From: Corentin Labbe @ 2018-12-10 13:46 UTC (permalink / raw)
  To: axboe, b.zolnierkie; +Cc: linux-ide, linux-kernel, Corentin Labbe

When playing with a virtual SPARC machine with qemu, I found that the
IDE emulated device was not probing with the ata/pata_oldpiix driver.
But with the old ide/piix, it was probed.

This is due to this PCI devid was not migrated from the old ide/piix.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
 drivers/ata/pata_oldpiix.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c
index b9bf78b7d48d..63a964062865 100644
--- a/drivers/ata/pata_oldpiix.c
+++ b/drivers/ata/pata_oldpiix.c
@@ -249,6 +249,7 @@ static int oldpiix_init_one (struct pci_dev *pdev, const struct pci_device_id *e
 
 static const struct pci_device_id oldpiix_pci_tbl[] = {
 	{ PCI_VDEVICE(INTEL, 0x1230), },
+	{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_82371AB), },
 
 	{ }	/* terminate list */
 };
-- 
2.19.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-03-22 17:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-10 13:46 [PATCH] ata: pata_oldpiix: Add missing device ID for INTEL_82371AB Corentin Labbe
2018-12-10 14:52 ` Sergei Shtylyov
2019-03-12 10:41   ` LABBE Corentin
2019-03-12 10:44     ` Sergei Shtylyov
2019-03-12 12:06     ` Alan Cox
2019-03-12 13:38       ` LABBE Corentin
2019-03-22 17:36         ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).