summaryrefslogtreecommitdiffstats
path: root/sys/modules/nfsclient
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-09-22 00:59:02 +0000
committerjake <jake@FreeBSD.org>2002-09-22 00:59:02 +0000
commitbe3bee93960d297bcd02c9eae94dfdd5ba8759b8 (patch)
tree3fb240e30b7440ff11e70f83c558b3021c0ef104 /sys/modules/nfsclient
parent482de2f109d274142d818ac890370f47c8949ab6 (diff)
downloadFreeBSD-src-be3bee93960d297bcd02c9eae94dfdd5ba8759b8.zip
FreeBSD-src-be3bee93960d297bcd02c9eae94dfdd5ba8759b8.tar.gz
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.
Diffstat (limited to 'sys/modules/nfsclient')
-rw-r--r--sys/modules/nfsclient/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile
index 0d2505a..e558e95 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
OpenPOWER on IntegriCloud