summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-30 15:03:20 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-30 15:03:20 +0000
commit23f2e4eda0b3d464d08f945a25a79d7e1b929b21 (patch)
tree3e3784235b5e4964844d7787bbbf6f680aa27fee /pci.c
parent7e317d016823fa511dd2cf20827543b3375ac377 (diff)
downloadldetect-23f2e4eda0b3d464d08f945a25a79d7e1b929b21.tar
ldetect-23f2e4eda0b3d464d08f945a25a79d7e1b929b21.tar.gz
ldetect-23f2e4eda0b3d464d08f945a25a79d7e1b929b21.tar.bz2
ldetect-23f2e4eda0b3d464d08f945a25a79d7e1b929b21.tar.xz
ldetect-23f2e4eda0b3d464d08f945a25a79d7e1b929b21.zip
oops: sata_via doesn't support for CLASS probing whereas sata_nv does
Diffstat (limited to 'pci.c')
-rw-r--r--pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pci.c b/pci.c
index 37dc5ca..1ecbeeb 100644
--- a/pci.c
+++ b/pci.c
@@ -95,8 +95,8 @@ extern struct pciusb_entries pci_probe(void) {
|| e->subvendor == 0x1186 && e->subdevice == 0x1300
|| e->subvendor == 0x13d1 && e->subdevice == 0xab06)
e->module = strdup("8139too");
- } else if (e->vendor == 0x1106 && e->class_ == PCI_CLASS_STORAGE_IDE) {
- e->module = strdup("sata_via");
+ } else if (e->vendor == 0x10de && e->class_ == PCI_CLASS_STORAGE_IDE) {
+ e->module = strdup("sata_nv");
} else if (e->vendor == 0x10b5 && (e->device == 0x9030 || e->device == 0x9050) && e->subvendor == 0x1369) {
e->module = strdup("snd-vx222");
} else if (e->vendor == 0x1119) { /* Vortex only makes RAID controllers. */