From 4e9883750a4b1b7961bab3e6f5aac1c9bc904555 Mon Sep 17 00:00:00 2001 From: kstailey Date: Sat, 22 Feb 1997 21:09:17 +0000 Subject: ramdisk now has raw version, disklabels --- sys/arch/sun3/include/conf.h | 4 ++-- sys/arch/sun3/sun3/conf.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') 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 */ -- cgit v1.2.3