[autoboot] Allow autoboot device to be identified by link-layer address

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2014-07-07 23:55:55 +01:00
parent c7051d826b
commit 00c745e5ff
3 changed files with 65 additions and 15 deletions

View File

@@ -34,10 +34,8 @@ uint16_t __bss16 ( autoboot_busdevfn );
*/
static void pci_autoboot_init ( void ) {
if ( autoboot_busdevfn ) {
autoboot_device.bus_type = BUS_TYPE_PCI;
autoboot_device.location = autoboot_busdevfn;
}
if ( autoboot_busdevfn )
set_autoboot_busloc ( BUS_TYPE_PCI, autoboot_busdevfn );
}
/** PCI autoboot device initialisation function */