summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-02-22 21:09:17 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-02-22 21:09:17 +0000
commit4e9883750a4b1b7961bab3e6f5aac1c9bc904555 (patch)
treee21e1b484e14fc2926042704153c1a85c345c61a /sys
parentbcd458b82496c6f99a8d1f3e1bb6b8fd5c93acec (diff)
ramdisk now has raw version, disklabels
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sun3/include/conf.h4
-rw-r--r--sys/arch/sun3/sun3/conf.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sun3/include/conf.h b/sys/arch/sun3/include/conf.h
index 82d02b439ae..ca4dbbf0f89 100644
--- a/sys/arch/sun3/include/conf.h
+++ b/sys/arch/sun3/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.6 1997/02/04 23:25:04 kstailey Exp $ */
+/* $OpenBSD: conf.h,v 1.7 1997/02/22 21:09:16 kstailey Exp $ */
/*-
* Copyright (c) 1996 Kenneth Stailey. All rights reserved.
@@ -31,7 +31,7 @@
*/
bdev_decl(rd);
-/* no cdev for rd */
+cdev_decl(rd);
/* swap device (required) */
bdev_decl(sw);
diff --git a/sys/arch/sun3/sun3/conf.c b/sys/arch/sun3/sun3/conf.c
index 402a7c31805..8b2c0c96cac 100644
--- a/sys/arch/sun3/sun3/conf.c
+++ b/sys/arch/sun3/sun3/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.19 1997/02/04 23:25:03 kstailey Exp $ */
+/* $OpenBSD: conf.c,v 1.20 1997/02/22 21:09:15 kstailey Exp $ */
/* $NetBSD: conf.c,v 1.51 1996/11/04 16:16:09 gwr Exp $ */
/*-
@@ -149,7 +149,7 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 49: (chat) */
cdev_notdef(), /* 50: (chut) */
cdev_notdef(), /* 51: (chut) */
- cdev_notdef(), /* 52: RAM disk - for install tape */
+ cdev_disk_init(NRD,rd), /* 52: RAM disk - for install tape */
cdev_notdef(), /* 53: (hd - N/A) */
cdev_notdef(), /* 54: (fd - N/A) */
cdev_notdef(), /* 55: cgthree */