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.
This commit is contained in:
jonathan 1997-11-09 02:03:50 +00:00
parent 1d83bab62a
commit 9e1d749da4
1 changed files with 15 additions and 1 deletions

View File

@ -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 <sys/cdefs.h> /* 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