undipci_probe() has to calculate busdevfn anyway, so we may as well pass
[people/xl0/gpxe.git] / src / arch / i386 / drivers / net / undi.c
index a6f1267..4508253 100644 (file)
@@ -91,8 +91,7 @@ static int undipci_probe ( struct pci_device *pci,
                }
 
                /* Call UNDI ROM loader to create pixie */
-               if ( ( rc = undi_load_pci ( undi, undirom, pci->bus,
-                                           pci->devfn ) ) != 0 )
+               if ( ( rc = undi_load_pci ( undi, undirom, busdevfn ) ) != 0 )
                        goto err_load_pci;
        }