summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-12-01 10:03:51 +0000
committerThierry Vignaud <tv@mandriva.org>2009-12-01 10:03:51 +0000
commita0dbef1a26aa0fd5d6f3bc19c7b3d6b4d8d3e16d (patch)
treeb590b45aaf896948fcbf38222d5a54cdc461f2a5
parent8f1d4c65924a2d85f41950c53088920fceb05aa1 (diff)
downloadldetect-a0dbef1a26aa0fd5d6f3bc19c7b3d6b4d8d3e16d.tar
ldetect-a0dbef1a26aa0fd5d6f3bc19c7b3d6b4d8d3e16d.tar.gz
ldetect-a0dbef1a26aa0fd5d6f3bc19c7b3d6b4d8d3e16d.tar.bz2
ldetect-a0dbef1a26aa0fd5d6f3bc19c7b3d6b4d8d3e16d.tar.xz
ldetect-a0dbef1a26aa0fd5d6f3bc19c7b3d6b4d8d3e16d.zip
(pci_probe) no need to lookup extended PCI capabilities
-rw-r--r--pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci.c b/pci.c
index 244bd3b..1609fe7 100644
--- a/pci.c
+++ b/pci.c
@@ -57,7 +57,7 @@ extern struct pciusb_entries pci_probe(void) {
memset(buf, 0, CONFIG_SPACE_SIZE); // make sure not to retrieve values from previous devices
pci_setup_cache(dev, (u8*)buf, CONFIG_SPACE_SIZE);
pci_read_block(dev, 0, buf, CONFIG_SPACE_SIZE);
- pci_fill_info(dev, PCI_FILL_IDENT | PCI_FILL_CLASS | PCI_FILL_CAPS | PCI_FILL_EXT_CAPS);
+ pci_fill_info(dev, PCI_FILL_IDENT | PCI_FILL_CLASS | PCI_FILL_CAPS);
pciusb_initialize(e);