diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2002-09-22 00:59:02 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2002-09-22 00:59:02 +0000 |
commit | abc370fa85dc724306dbadcc8c83566e162e635d (patch) | |
tree | 3fb240e30b7440ff11e70f83c558b3021c0ef104 /sys/modules/nfsclient | |
parent | dcf0aad852754e7409f723e6fc1e86fab1ee6ff7 (diff) | |
download | src-abc370fa85dc724306dbadcc8c83566e162e635d.tar.gz src-abc370fa85dc724306dbadcc8c83566e162e635d.zip |
Moved nfs_diskless setup code from autoconf.c to nfsclient/nfs_diskless.c
so that it is MI. Allow nfs_mountroot to return an error if the nfs_diskless
struct is not valid, rather than panicing later on. Call nfs_setup_diskless()
from nfs_mountroot if NFS_ROOT is defined, like bootpc_init(). Removed legacy
root mount support for sparc64, and enabled NFS_ROOT by default.
Notes
Notes:
svn path=/head/; revision=103770
Diffstat (limited to 'sys/modules/nfsclient')
-rw-r--r-- | sys/modules/nfsclient/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile index 0d2505ae1c1b..e558e95ad870 100644 --- a/sys/modules/nfsclient/Makefile +++ b/sys/modules/nfsclient/Makefile @@ -5,7 +5,7 @@ KMOD= nfsclient SRCS= vnode_if.h \ nfs_bio.c nfs_lock.c nfs_node.c nfs_socket.c nfs_subs.c nfs_nfsiod.c \ nfs_vfsops.c nfs_vnops.c nfs_common.c \ - opt_inet.h opt_nfs.h opt_bootp.h + opt_inet.h opt_nfs.h opt_bootp.h opt_nfsroot.h SRCS+= opt_inet6.h NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel |