From 7f37c95f850969bd5503645a387fb07f89a376c7 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 6 Dec 1996 15:51:09 +0000 Subject: [PATCH] a temporary hack until i fix some confusing swapbsd.c handling --- sys/arch/i386/i386/swapgeneric.c | 9 ++++++--- 1 file 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; -- 2.20.1