summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-14 11:55:34 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-14 11:55:34 +0000
commitb0d7d63bb12ea5fe49184389fdd5b68381f74202 (patch)
treeff4259249a89859f88d606b667032628e421786f /pci.c
parent30efe552e191167686369776b65e6d14c171d180 (diff)
downloadldetect-b0d7d63bb12ea5fe49184389fdd5b68381f74202.tar
ldetect-b0d7d63bb12ea5fe49184389fdd5b68381f74202.tar.gz
ldetect-b0d7d63bb12ea5fe49184389fdd5b68381f74202.tar.bz2
ldetect-b0d7d63bb12ea5fe49184389fdd5b68381f74202.tar.xz
ldetect-b0d7d63bb12ea5fe49184389fdd5b68381f74202.zip
remove old 8139too/gdth hardcoded rules (already in modules.alias)
Diffstat (limited to 'pci.c')
-rw-r--r--pci.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/pci.c b/pci.c
index c28a846..ed76153 100644
--- a/pci.c
+++ b/pci.c
@@ -96,16 +96,6 @@ extern struct pciusb_entries pci_probe(void) {
}
class_prog = buf[PCI_CLASS_PROG];
- /* special rules below must be in sync with gi/mdk-stage1/probing.c */
-
- if (e->device == 0x8139) {
- if (e->subvendor == 0x8139 && e->subdevice == 0x10ec
- || e->subvendor == 0x1186 && e->subdevice == 0x1300
- || e->subvendor == 0x13d1 && e->subdevice == 0xab06)
- e->module = strdup("8139too");
- } else if (e->vendor == 0x1119) /* Vortex only makes RAID controllers. */
- e->module = strdup("gdth");
-
close(devf);
}
realloc(r.entries, sizeof(struct pciusb_entry) * r.nb);