From 53ab0b600cc7cd14403a9d8feafb1bd1a81e56eb Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 4 Dec 2008 19:22:49 -0500 Subject: [PATCH] Only support IDE devices with pci class of PCI_CLASS_STORAGE_IDE. Devices of class PCI_CLASS_STORAGE_OTHER may work with some devices, but they are just as likely to cause a crash with other devices. --- src/ata.c | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/src/ata.c b/src/ata.c index 2e7c4cc..a33b830 100644 --- a/src/ata.c +++ b/src/ata.c @@ -893,18 +893,11 @@ ata_init() } // Scan PCI bus for ATA adapters - int count=0, bdf=-1; - u16 classid = PCI_CLASS_STORAGE_OTHER; // SATA first - while (count