diff options
author | jake <jake@FreeBSD.org> | 2002-09-22 00:59:02 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-09-22 00:59:02 +0000 |
commit | be3bee93960d297bcd02c9eae94dfdd5ba8759b8 (patch) | |
tree | 3fb240e30b7440ff11e70f83c558b3021c0ef104 /sys/modules | |
parent | 482de2f109d274142d818ac890370f47c8949ab6 (diff) | |
download | FreeBSD-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')
-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 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 |