summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2002-08-07 20:45:39 +0000
committeroster <oster@NetBSD.org>2002-08-07 20:45:39 +0000
commit9c2db4ef79480c23db219a8456500f5e1f6022c7 (patch)
tree402e8f717464f2de47d92229c52b1ad7a49bbe6e /sys/dev/raidframe
parent8abb6b6ba236e0c9b78c83fb7b2975d90d219f4d (diff)
Let's not bother poking CD's to see if they might have RAID sets
on them.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index bb7cfb923e2..043ddbe77b4 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.128 2002/08/04 03:27:04 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.129 2002/08/07 20:45:39 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -114,7 +114,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.128 2002/08/04 03:27:04 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.129 2002/08/07 20:45:39 oster Exp $");
#include <sys/param.h>
#include <sys/errno.h>
@@ -2688,6 +2688,12 @@ rf_find_raid_components()
if (!strcmp(dv->dv_cfdata->cf_driver->cd_name,"fd")) {
continue;
}
+
+ /* we don't care about CD's... */
+ if (!strcmp(dv->dv_cfdata->cf_driver->cd_name,"cd")) {
+ continue;
+ }
+
/* hdfd is the Atari/Hades floppy driver */
if (!strcmp(dv->dv_cfdata->cf_driver->cd_name,"hdfd")) {
continue;