From 00c745e5ffd6c6be9c8a31223955527a5aca6f92 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 7 Jul 2014 23:55:55 +0100 Subject: [autoboot] Allow autoboot device to be identified by link-layer address Signed-off-by: Michael Brown --- src/arch/i386/core/pci_autoboot.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/arch') diff --git a/src/arch/i386/core/pci_autoboot.c b/src/arch/i386/core/pci_autoboot.c index 5e6197e2e..a3eb1f97d 100644 --- a/src/arch/i386/core/pci_autoboot.c +++ b/src/arch/i386/core/pci_autoboot.c @@ -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 */ -- cgit v1.2.3-55-g7522