diff options
author | benno <benno@FreeBSD.org> | 2002-06-29 09:33:18 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2002-06-29 09:33:18 +0000 |
commit | a3a56ebeb3fef9d3b9f820eeccb19e0cdec8e6d4 (patch) | |
tree | 87d688a1a25b3928967358e2b8ab9f4f9e1a4fb9 /sys | |
parent | b3dcfcf0d7d27dc8e3f9986980d97d86698afc30 (diff) | |
download | FreeBSD-src-a3a56ebeb3fef9d3b9f820eeccb19e0cdec8e6d4.zip FreeBSD-src-a3a56ebeb3fef9d3b9f820eeccb19e0cdec8e6d4.tar.gz |
Add BOOTP_NFSROOT support code.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/powerpc/powerpc/autoconf.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/powerpc/powerpc/autoconf.c b/sys/powerpc/powerpc/autoconf.c index d010ebd..a5f86c7 100644 --- a/sys/powerpc/powerpc/autoconf.c +++ b/sys/powerpc/powerpc/autoconf.c @@ -60,6 +60,23 @@ static const char rcsid[] = static void configure(void *); SYSINIT(configure, SI_SUB_CONFIGURE, SI_ORDER_THIRD, configure, NULL) +#ifdef NFS_ROOT +SYSINIT(cpu_rootconf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, cpu_rootconf, NULL) + +#ifndef BOOTP_NFSROOT +#error "NFS_ROOT support not implemented for the non-BOOTP_NFSROOT case" +#endif + +extern void bootpc_init(void); + +void +cpu_rootconf() +{ + + bootpc_init(); + rootdevnames[0] = "nfs:"; +} +#endif /* * Determine i/o configuration for a machine. |