mirror of
https://github.com/ipxe/ipxe
synced 2026-01-03 02:13:23 +03:00
undipci_probe() has to calculate busdevfn anyway, so we may as well pass
it directly to undi_load_pci().
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user