summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus/pci.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-16 19:30:37 +0200
committerMichael Brown2005-04-16 19:30:37 +0200
commit5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa (patch)
treea4623925d399549f734e92b0be6e098a5b43609d /src/drivers/bus/pci.c
parentAvoid signed/unsigned warnings by explicitly making PCI_{BUS,DEV,FUNC} (diff)
downloadipxe-5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa.tar.gz
ipxe-5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa.tar.xz
ipxe-5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa.zip
Place the call to adjust_pci_device() back in the individual drivers,
since we probably shouldn't be doing this to arbitrary devices during a PCI bus scan...
Diffstat (limited to 'src/drivers/bus/pci.c')
-rw-r--r--src/drivers/bus/pci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c
index 37aa1cd9b..6894cad9f 100644
--- a/src/drivers/bus/pci.c
+++ b/src/drivers/bus/pci.c
@@ -185,9 +185,6 @@ int find_pci_device ( struct pci_device *pci,
continue;
}
- /* Fix up PCI device */
- adjust_pci_device ( pci );
-
/* If driver has a class, and class matches, use it */
if ( driver->class &&
( driver->class == pci->class ) ) {