summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-09-07 12:56:46 +0000
committerbde <bde@FreeBSD.org>1997-09-07 12:56:46 +0000
commit996bf127fa143c0b4235fc2a2d220a9b633cd3fa (patch)
tree97c0345258bb443b430ec3f19b90866a7603a45b /sys
parent98cf145068980e00e1f0ac0c8f7653ab09a6978f (diff)
downloadFreeBSD-src-996bf127fa143c0b4235fc2a2d220a9b633cd3fa.zip
FreeBSD-src-996bf127fa143c0b4235fc2a2d220a9b633cd3fa.tar.gz
Removed more vestiges of config-time swap configuration.
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/nfsswapkernel.c6
-rw-r--r--sys/i386/i386/swapgeneric.c16
-rw-r--r--sys/nfs/nfs_vfsops.c4
-rw-r--r--sys/nfs/nfsdiskless.h6
-rw-r--r--sys/nfsclient/nfs_vfsops.c4
-rw-r--r--sys/nfsclient/nfsdiskless.h6
6 files changed, 10 insertions, 32 deletions
diff --git a/sys/conf/nfsswapkernel.c b/sys/conf/nfsswapkernel.c
index 432109c..aedf7ef 100644
--- a/sys/conf/nfsswapkernel.c
+++ b/sys/conf/nfsswapkernel.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)nfsswapvmunix.c 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: nfsswapkernel.c,v 1.3 1997/02/22 09:28:14 peter Exp $
*/
/*
@@ -59,10 +59,6 @@ dev_t rootdev = NODEV;
dev_t argdev = NODEV;
dev_t dumpdev = NODEV;
-struct swdevt swdevt[] = {
- { NODEV, 0, 5000 }, /* happy:/u/swap.dopey */
- { 0, 0, 0 }
-};
struct nfs_diskless nfs_diskless = {
{ { 'q', 'e', '0', '\0' },
{ 0x10, 0x2, { 0x0, 0x0, 0x83, 0x68, 0x30, 0x2, } },
diff --git a/sys/i386/i386/swapgeneric.c b/sys/i386/i386/swapgeneric.c
index 4a1f576..988c072 100644
--- a/sys/i386/i386/swapgeneric.c
+++ b/sys/i386/i386/swapgeneric.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)swapgeneric.c 5.5 (Berkeley) 5/9/91
- * $Id$
+ * $Id: swapgeneric.c,v 1.21 1997/02/22 09:32:49 peter Exp $
*/
#include <sys/param.h>
@@ -52,7 +52,6 @@
#include "wd.h"
#include "fd.h"
#include "sd.h"
-#include "vn.h"
#include "cd.h"
#include "mcd.h"
#include "scd.h"
@@ -65,19 +64,6 @@
dev_t rootdev = NODEV;
dev_t dumpdev = NODEV;
-#ifdef notused
-int nswap;
-struct swdevt swdevt[] = {
- { makedev (0xFF, 0x00000001), 0, 0 },
-#if NVN > 0
- { makedev (15, 0x00000001), 0, 0 },
-#endif
- { NODEV, 0, 0 }, /* For NFS diskless */
- { NODEV, 0, 0 },
-};
-int dmmin, dmmax, dmtext;
-#endif
-
void gets __P((char *));
struct genericconf {
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index 170c699..663086a 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95
- * $Id: nfs_vfsops.c,v 1.45 1997/08/16 19:16:04 wollman Exp $
+ * $Id: nfs_vfsops.c,v 1.46 1997/09/02 01:19:41 bde Exp $
*/
#include <sys/param.h>
@@ -382,8 +382,6 @@ nfs_fsinfo(nmp, vp, cred, p)
* can talk to the server
* - If nfs_diskless.mygateway is filled in, use that address as
* a default gateway.
- * - hand craft the swap nfs vnode hanging off a fake mount point
- * if swdevt[0].sw_dev == NODEV
* - build the rootfs mount point and call mountnfs() to do the rest.
*/
int
diff --git a/sys/nfs/nfsdiskless.h b/sys/nfs/nfsdiskless.h
index 2fcb0a0..f499a2c 100644
--- a/sys/nfs/nfsdiskless.h
+++ b/sys/nfs/nfsdiskless.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfsdiskless.h 8.2 (Berkeley) 3/30/95
- * $Id: nfsdiskless.h,v 1.8 1997/02/22 09:42:47 peter Exp $
+ * $Id: nfsdiskless.h,v 1.9 1997/05/12 19:02:55 tegge Exp $
*/
@@ -43,8 +43,8 @@
/*
* Structure that must be initialized for a diskless nfs client.
- * This structure is used by nfs_mountroot() to set up the root and swap
- * vnodes plus do a partial ifconfig(8) and route(8) so that the critical net
+ * This structure is used by nfs_mountroot() to set up the root vnode,
+ * and to do a partial ifconfig(8) and route(8) so that the critical net
* interface can communicate with the server.
* The primary bootstrap is expected to fill in the appropriate fields before
* starting the kernel. Whether or not the swap area is nfs mounted is
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 170c699..663086a 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95
- * $Id: nfs_vfsops.c,v 1.45 1997/08/16 19:16:04 wollman Exp $
+ * $Id: nfs_vfsops.c,v 1.46 1997/09/02 01:19:41 bde Exp $
*/
#include <sys/param.h>
@@ -382,8 +382,6 @@ nfs_fsinfo(nmp, vp, cred, p)
* can talk to the server
* - If nfs_diskless.mygateway is filled in, use that address as
* a default gateway.
- * - hand craft the swap nfs vnode hanging off a fake mount point
- * if swdevt[0].sw_dev == NODEV
* - build the rootfs mount point and call mountnfs() to do the rest.
*/
int
diff --git a/sys/nfsclient/nfsdiskless.h b/sys/nfsclient/nfsdiskless.h
index 2fcb0a0..f499a2c 100644
--- a/sys/nfsclient/nfsdiskless.h
+++ b/sys/nfsclient/nfsdiskless.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfsdiskless.h 8.2 (Berkeley) 3/30/95
- * $Id: nfsdiskless.h,v 1.8 1997/02/22 09:42:47 peter Exp $
+ * $Id: nfsdiskless.h,v 1.9 1997/05/12 19:02:55 tegge Exp $
*/
@@ -43,8 +43,8 @@
/*
* Structure that must be initialized for a diskless nfs client.
- * This structure is used by nfs_mountroot() to set up the root and swap
- * vnodes plus do a partial ifconfig(8) and route(8) so that the critical net
+ * This structure is used by nfs_mountroot() to set up the root vnode,
+ * and to do a partial ifconfig(8) and route(8) so that the critical net
* interface can communicate with the server.
* The primary bootstrap is expected to fill in the appropriate fields before
* starting the kernel. Whether or not the swap area is nfs mounted is
OpenPOWER on IntegriCloud