diff options
Diffstat (limited to 'sys/arch/i386/stand/libsa/pxe.c')
-rw-r--r-- | sys/arch/i386/stand/libsa/pxe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/pxe.c b/sys/arch/i386/stand/libsa/pxe.c index 554a82b3fcb..5c5fc8fe977 100644 --- a/sys/arch/i386/stand/libsa/pxe.c +++ b/sys/arch/i386/stand/libsa/pxe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxe.c,v 1.4 2006/05/20 22:37:40 deraadt Exp $ */ +/* $OpenBSD: pxe.c,v 1.5 2007/07/27 17:46:56 tom Exp $ */ /* $NetBSD: pxe.c,v 1.5 2003/03/11 18:29:00 drochner Exp $ */ /* @@ -115,6 +115,8 @@ BOOTPLAYER bootplayer; struct in_addr servip; /* for tftp */ /* XXX init this */ +extern char *bootmac; /* To pass to kernel */ + /* static struct btinfo_netif bi_netif; */ /***************************************************************************** @@ -230,7 +232,7 @@ pxe_netif_open() } bcopy(bootplayer.CAddr, desc.myea, ETHER_ADDR_LEN); - addbootarg(BOOTARG_BOOTMAC, sizeof(bios_bootmac_t), bootplayer.CAddr); + bootmac = bootplayer.CAddr; /* * Since the PXE BIOS has already done DHCP, make sure we |