summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-06-27 19:21:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-06-27 19:21:21 +0000
commit7d32a1f216ebcb8d589218d1e99775869d1054d1 (patch)
tree698d0bca3d8ef74bace21a08002798af943cf289 /sys/arch/i386
parenta171f68efe5479f4c65f8f09c191bf297a0e8b01 (diff)
Mark the PXE boot device as "netboot" even if we do not contain
nfs client support (yes, it becomes the root device too, but for ramdisks this is OK because they are not a swap generic configuration) Discussion with reyk and halex
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/autoconf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/autoconf.c b/sys/arch/i386/i386/autoconf.c
index d357d5a30d3..7a649ad1881 100644
--- a/sys/arch/i386/i386/autoconf.c
+++ b/sys/arch/i386/i386/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.82 2010/04/20 22:05:41 tedu Exp $ */
+/* $OpenBSD: autoconf.c,v 1.83 2010/06/27 19:21:19 deraadt Exp $ */
/* $NetBSD: autoconf.c,v 1.20 1996/05/03 19:41:56 christos Exp $ */
/*-
@@ -205,13 +205,11 @@ diskconf(void)
break;
}
if (ifp) {
-#if defined(NFSCLIENT)
printf("PXE boot MAC address %s, interface %s\n",
ether_sprintf(bios_bootmac->mac), ifp->if_xname);
bootdv = parsedisk(ifp->if_xname, strlen(ifp->if_xname),
0, &tmpdev);
part = 0;
-#endif
} else
printf("PXE boot MAC address %s, interface %s\n",
ether_sprintf(bios_bootmac->mac), "unknown");