]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Moved nfs_diskless setup code from autoconf.c to nfsclient/nfs_diskless.c
authorJake Burkholder <jake@FreeBSD.org>
Sun, 22 Sep 2002 00:59:02 +0000 (00:59 +0000)
committerJake Burkholder <jake@FreeBSD.org>
Sun, 22 Sep 2002 00:59:02 +0000 (00:59 +0000)
commitabc370fa85dc724306dbadcc8c83566e162e635d
tree3fb240e30b7440ff11e70f83c558b3021c0ef104
parentdcf0aad852754e7409f723e6fc1e86fab1ee6ff7
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.
sys/amd64/amd64/autoconf.c
sys/conf/files
sys/i386/i386/autoconf.c
sys/modules/nfsclient/Makefile
sys/nfsclient/nfs_diskless.c [new file with mode: 0644]
sys/nfsclient/nfs_vfsops.c
sys/nfsclient/nfsdiskless.h
sys/sparc64/conf/GENERIC
sys/sparc64/sparc64/autoconf.c