summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-06 15:51:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-06 15:51:10 +0000
commit85835d2fd9d85457892a067f1d54ac9270d5ae71 (patch)
treef9ec2b53f5504cc74d3d990f0f8d76d61a3341a8
parentd84517fefb6c54f2cb4de3a290c90fb8a74deae7 (diff)
a temporary hack until i fix some confusing swapbsd.c handling
-rw-r--r--sys/arch/i386/i386/swapgeneric.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/swapgeneric.c b/sys/arch/i386/i386/swapgeneric.c
index 24411663850..25257c6d045 100644
--- a/sys/arch/i386/i386/swapgeneric.c
+++ b/sys/arch/i386/i386/swapgeneric.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: swapgeneric.c,v 1.7 1996/11/06 01:30:04 deraadt Exp $ */
+/* $OpenBSD: swapgeneric.c,v 1.8 1996/12/06 15:51:09 deraadt Exp $ */
/* $NetBSD: swapgeneric.c,v 1.12 1996/05/03 19:42:28 christos Exp $ */
/*-
@@ -64,8 +64,11 @@
dev_t rootdev = NODEV;
dev_t dumpdev = NODEV;
struct swdevt swdevt[] = {
- { NODEV, 1, 0 },
- { NODEV, 0, 0 },
+ { makedev(4, 1), 0, 0 }, /* sd0 */
+ { makedev(4, 17), 0, 0 }, /* sd1 */
+ { makedev(4, 33), 0, 0 }, /* sd2 */
+ { NODEV, 0, 0 },
+ { NODEV, 0, 0 },
};
int (*mountroot) __P((void)) = NULL;