-# $OpenBSD: DISKLESS,v 1.12 1997/02/16 10:42:14 downsj Exp $
+# $OpenBSD: DISKLESS,v 1.13 1997/02/16 14:37:06 downsj Exp $
# $NetBSD: GENERIC,v 1.23 1997/01/31 06:12:57 thorpej Exp $
#
# Generic kernel - one size fits all.
dcm* at dio? scode ? flags 0xe # DCM 4- or 8-port serial interfaces
le* at dio? scode ? # LANCE ethernet interfaces
+
+pseudo-device rd 2
-# $OpenBSD: GENERIC,v 1.16 1997/02/16 10:42:16 downsj Exp $
+# $OpenBSD: GENERIC,v 1.17 1997/02/16 14:37:08 downsj Exp $
# $NetBSD: GENERIC,v 1.23 1997/01/31 06:12:57 thorpej Exp $
#
# Generic kernel - one size fits all.
sd* at oscsi? target ? lun ? # SCSI disks
st* at oscsi? target ? lun ? # SCSI tapes
ac* at oscsi? target ? lun ? # SCSI changers
+
+pseudo-device rd 2
-# $OpenBSD: MINIROOT,v 1.1 1997/02/16 10:42:17 downsj Exp $
+# $OpenBSD: MINIROOT,v 1.2 1997/02/16 14:37:08 downsj Exp $
#
# Ram disk kernel for the miniroot.
#
# (Warning: this compiles in a large string table)
option DIOVERBOSE # recognize "unknown" DIO devices
-config bsd swap generic
+config bsd root rd0 swap sd0 and sd1 and hd0 and hd1
mainbus0 at root # root "bus"
-/* $OpenBSD: autoconf.c,v 1.11 1997/02/03 08:11:59 downsj Exp $ */
+/* $OpenBSD: autoconf.c,v 1.12 1997/02/16 14:37:10 downsj Exp $ */
/* $NetBSD: autoconf.c,v 1.31 1997/01/31 01:49:41 thorpej Exp $ */
/*
{ "ct", 0 },
{ "hd", 2 },
{ "sd", 4 },
+ { "rd", 8 },
};
static int
-/* $OpenBSD: conf.c,v 1.13 1997/02/16 10:42:22 downsj Exp $ */
+/* $OpenBSD: conf.c,v 1.14 1997/02/16 14:37:11 downsj Exp $ */
/* $NetBSD: conf.c,v 1.34 1996/12/17 08:41:20 thorpej Exp $ */
/*-
/* 28 */ NODEV,
/* 29 */ NODEV,
/* 30 */ NODEV,
+ /* 31 */ NODEV,
+ /* 32 */ NODEV,
+ /* 33 */ NODEV,
+ /* 34 */ 8,
};
/*
}
/*
- * Convert a character device number to a block device number.
+ * Convert a block device number to a character device number.
*/
dev_t
blktochr(dev)