Use of BOOTP or BOOTPARAM can be conntrolled by config option now.

This commit is contained in:
drochner 1998-01-09 17:21:10 +00:00
parent 9c3e23d351
commit 35718a7622
2 changed files with 3 additions and 18 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.45 1997/11/26 06:28:52 scottr Exp $ */ /* $NetBSD: autoconf.c,v 1.46 1998/01/09 17:21:10 drochner Exp $ */
/* /*
* Copyright (c) 1992, 1993 * Copyright (c) 1992, 1993
@ -104,11 +104,6 @@ configure()
cold = 0; cold = 0;
} }
/* XXX should be passed by bootcode */
#if defined(NFS_BOOT_BOOTP) || defined(NFS_BOOT_DHCP)
int nfs_boot_rfc951 = 1;
#endif
void void
cpu_rootconf() cpu_rootconf()
{ {

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.26 1997/11/09 02:03:50 jonathan Exp $ */ /* $NetBSD: autoconf.c,v 1.27 1998/01/09 17:22:47 drochner Exp $ */
/* /*
* Copyright (c) 1988 University of Utah. * Copyright (c) 1988 University of Utah.
@ -43,7 +43,7 @@
*/ */
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ #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 $"); __KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.27 1998/01/09 17:22:47 drochner Exp $");
/* /*
* Setup the system to run on the current machine. * Setup the system to run on the current machine.
@ -111,16 +111,6 @@ struct devnametobdevmaj pmax_nam2blk[] = {
}; };
/*
* 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. * Determine mass storage and memory configuration for a machine.
* Print cpu type, and then iterate over an array of devices * Print cpu type, and then iterate over an array of devices