mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +03:00
[autoboot] Allow autoboot device to be identified by link-layer address
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user