diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-09-29 18:40:34 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-09-29 18:40:34 +0000 |
commit | d3f78f493f474e5bdbc5901cdb6e15937e707b63 (patch) | |
tree | b7c1feba6517997717922f55e1e2d981df43e3fd /sys/arch/sparc | |
parent | 0a0e1539b895602200bbb9bacfce5e94375abd72 (diff) |
The "swap generic" configuration needs only two entries in swdevt[].
So shrink it when necessary, and remove unwanted stuff as well.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/swapgeneric.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/arch/sparc/sparc/swapgeneric.c b/sys/arch/sparc/sparc/swapgeneric.c index 42e4690ac66..4869f641952 100644 --- a/sys/arch/sparc/sparc/swapgeneric.c +++ b/sys/arch/sparc/sparc/swapgeneric.c @@ -1,4 +1,4 @@ -/* $OpenBSD: swapgeneric.c,v 1.5 2001/07/04 08:43:30 niklas Exp $ */ +/* $OpenBSD: swapgeneric.c,v 1.6 2001/09/29 18:40:32 miod Exp $ */ /* $NetBSD: swapgeneric.c,v 1.8 1996/03/14 21:09:32 christos Exp $ */ /*- @@ -42,7 +42,6 @@ #include <sys/param.h> #include <sys/conf.h> -#include <sys/systm.h> int (*mountroot) __P((void)) = NULL; /* tells autoconf.c that we are "generic" */ @@ -50,10 +49,6 @@ dev_t rootdev = NODEV; dev_t dumpdev = NODEV; struct swdevt swdevt[] = { - { makedev(7, 1), 0, 0 }, /* sd0b */ - { makedev(7, 17), 0, 0 }, /* sd1b */ - { makedev(7, 33), 0, 0 }, /* sd2b */ - { makedev(7, 49), 0, 0 }, /* sd3b */ - { NODEV, 0, 0 }, + { NODEV, 0, 0 }, /* to be filled in */ { NODEV, 0, 0 } }; |