From 12b0c2a20a01bf06e4a5bbd6bb05d2501ac85b89 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 13 Sep 1997 07:42:01 +0000 Subject: [PATCH] The Alpha console uses BOOTP for network booting, so the NetBSD kernel should, too. Enable the BOOTP support in nfs_boot(). --- sys/arch/alpha/alpha/autoconf.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sys/arch/alpha/alpha/autoconf.c b/sys/arch/alpha/alpha/autoconf.c index 51c4958bcb3c..724f437a8930 100644 --- a/sys/arch/alpha/alpha/autoconf.c +++ b/sys/arch/alpha/alpha/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.26 1997/09/02 13:17:57 thorpej Exp $ */ +/* $NetBSD: autoconf.c,v 1.27 1997/09/13 07:42:01 thorpej Exp $ */ /* * Copyright (c) 1992, 1993 @@ -46,7 +46,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.26 1997/09/02 13:17:57 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.27 1997/09/13 07:42:01 thorpej Exp $"); #include #include @@ -60,6 +60,13 @@ __KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.26 1997/09/02 13:17:57 thorpej Exp $" #include #include +/* + * The Alpha console firmware network boots using the BOOTP + * protocol, so we ask the NFS code to use BOOTP as well, in + * case we have NFS root. + */ +int nfs_boot_rfc951 = 1; + struct device *booted_device; int booted_partition; struct bootdev_data *bootdev_data;