The Alpha console uses BOOTP for network booting, so the NetBSD kernel
should, too. Enable the BOOTP support in nfs_boot().
This commit is contained in:
parent
27e54e6dc3
commit
12b0c2a20a
|
@ -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 <sys/cdefs.h> /* 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 <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -60,6 +60,13 @@ __KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.26 1997/09/02 13:17:57 thorpej Exp $"
|
|||
#include <machine/prom.h>
|
||||
#include <machine/conf.h>
|
||||
|
||||
/*
|
||||
* 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;
|
||||
|
|
Loading…
Reference in New Issue