diff options
author | phk <phk@FreeBSD.org> | 2004-07-28 21:54:57 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-07-28 21:54:57 +0000 |
commit | 98d8f3741c9752729a6684372287457a18580e7f (patch) | |
tree | 382896a8ecc11b588b13ee046bb420127036553a /sys/ia64 | |
parent | 72ff15d7fb39222cff16cf948d64041a4bcc043f (diff) | |
download | FreeBSD-src-98d8f3741c9752729a6684372287457a18580e7f.zip FreeBSD-src-98d8f3741c9752729a6684372287457a18580e7f.tar.gz |
Move a relic to its correct location(s): Put nfs diskless initialization
calls with the code they call. (Yet another example of mindless copy&paste).
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/autoconf.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sys/ia64/ia64/autoconf.c b/sys/ia64/ia64/autoconf.c index dcfd1b0..0772acc 100644 --- a/sys/ia64/ia64/autoconf.c +++ b/sys/ia64/ia64/autoconf.c @@ -28,8 +28,6 @@ #include "opt_bootp.h" #include "opt_isa.h" -#include "opt_nfs.h" -#include "opt_nfsroot.h" #include <sys/param.h> #include <sys/systm.h> @@ -63,8 +61,6 @@ void bootpc_init(void); device_t isa_bus_device = 0; #endif -extern int nfs_diskless_valid; /* XXX use include file */ - /* * Determine i/o configuration for a machine. */ @@ -91,26 +87,3 @@ configure(void *dummy) cold = 0; } - -/* - * Do legacy root filesystem discovery. This isn't really - * needed on the Alpha, which has always used the loader. - */ -void -cpu_rootconf() -{ -#if defined(NFSCLIENT) && defined(NFS_ROOT) - int order = 0; -#endif - -#ifdef BOOTP - bootpc_init(); -#endif -#if defined(NFSCLIENT) && defined(NFS_ROOT) -#if !defined(BOOTP_NFSROOT) - if (nfs_diskless_valid) -#endif - rootdevnames[order++] = "nfs:"; -#endif -} -SYSINIT(cpu_rootconf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, cpu_rootconf, NULL) |