This is because some OSs (noticeably NetBSD) look up devices by device_type in order to establish an interrupt mapping.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk --- drivers/pci_database.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci_database.c b/drivers/pci_database.c index 999b42b..5daf23b 100644 --- a/drivers/pci_database.c +++ b/drivers/pci_database.c @@ -65,7 +65,7 @@ static const pci_dev_t scsi_devices[] = { static const pci_dev_t ide_devices[] = { { PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_CMD_646, /* CMD646 IDE controller */ - "pci-ide", "pci-ata", NULL, + "ide", "ide", NULL, "pci1095,646\0pci1095,646\0pciclass,01018f\0", 0, 0, 0, ide_config_cb2, NULL,