summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-09-29 18:40:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-09-29 18:40:34 +0000
commitd3f78f493f474e5bdbc5901cdb6e15937e707b63 (patch)
treeb7c1feba6517997717922f55e1e2d981df43e3fd /sys/arch/macppc
parent0a0e1539b895602200bbb9bacfce5e94375abd72 (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/macppc')
-rw-r--r--sys/arch/macppc/macppc/swapgeneric.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/macppc/macppc/swapgeneric.c b/sys/arch/macppc/macppc/swapgeneric.c
index b4fd47baf7e..6d59e1a50b3 100644
--- a/sys/arch/macppc/macppc/swapgeneric.c
+++ b/sys/arch/macppc/macppc/swapgeneric.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: swapgeneric.c,v 1.1 2001/09/01 15:44:20 drahn Exp $ */
+/* $OpenBSD: swapgeneric.c,v 1.2 2001/09/29 18:40:32 miod Exp $ */
/* $NetBSD: swapgeneric.c,v 1.1 1996/09/30 16:34:55 ws Exp $ */
/*-
@@ -49,8 +49,6 @@ dev_t rootdev = NODEV;
dev_t dumpdev = NODEV;
struct swdevt swdevt[] = {
- { NODEV, 0, 0 }, /* Setup by autoconf.c/disksubr.c */
- { NODEV, 0, 0 },
- { NODEV, 0, 0 },
- { NODEV, 0, 0 },
+ { NODEV, 0, 0 }, /* to be filled in */
+ { NODEV, 0, 0 }
};