summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2014-07-08 00:55:55 +0200
committerMichael Brown2014-07-08 01:37:31 +0200
commit00c745e5ffd6c6be9c8a31223955527a5aca6f92 (patch)
tree74cfea02fb340839c86bf8b272f1f6deb8c216fd /src/arch
parent[efi] Allow network devices to be created on top of arbitrary SNP devices (diff)
downloadipxe-00c745e5ffd6c6be9c8a31223955527a5aca6f92.tar.gz
ipxe-00c745e5ffd6c6be9c8a31223955527a5aca6f92.tar.xz
ipxe-00c745e5ffd6c6be9c8a31223955527a5aca6f92.zip
[autoboot] Allow autoboot device to be identified by link-layer address
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/core/pci_autoboot.c6
1 files changed, 2 insertions, 4 deletions
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 */