From 9e1d749da4173bc0dc66f43d8d0c92acd2d6e4da Mon Sep 17 00:00:00 2001 From: jonathan Date: Sun, 9 Nov 1997 02:03:50 +0000 Subject: [PATCH] Initialize nfs_boot_rfc_951 to 1. Makes pmax kernels to use bootp, not RARP/bootparams, to get diskless-boot config info. Decstation PROMs already use BOOTP so we lose nothing. --- sys/arch/pmax/pmax/autoconf.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/sys/arch/pmax/pmax/autoconf.c b/sys/arch/pmax/pmax/autoconf.c index 7d2838b109bd..da861520c4b0 100644 --- a/sys/arch/pmax/pmax/autoconf.c +++ b/sys/arch/pmax/pmax/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.25 1997/06/15 11:23:52 jonathan Exp $ */ +/* $NetBSD: autoconf.c,v 1.26 1997/11/09 02:03:50 jonathan Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -42,6 +42,9 @@ * @(#)autoconf.c 8.1 (Berkeley) 6/10/93 */ +#include /* RCS ID & Copyright macro defns */ +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.26 1997/11/09 02:03:50 jonathan Exp $"); + /* * Setup the system to run on the current machine. * @@ -107,6 +110,17 @@ struct devnametobdevmaj pmax_nam2blk[] = { { NULL, 0 }, }; + +/* + * The following is used by the NFS code to select boot method. + * 0 -> RARP/SunRPC bootparamd, 1 -> bootp/dhcp. + * + * The pmax proms need bootp anyway, so just use bootp. + */ +extern int nfs_boot_rfc951; +int nfs_boot_rfc951 = 1; + + /* * Determine mass storage and memory configuration for a machine. * Print cpu type, and then iterate over an array of devices