summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorleo <leo@NetBSD.org>2002-06-27 05:13:33 +0000
committerleo <leo@NetBSD.org>2002-06-27 05:13:33 +0000
commit4fdfe6f24c3ba0d82f73009d152ec08c4000a8af (patch)
treeca631040ddf0378a8f87fa849aa8ebba3b981829 /sys/dev/raidframe
parenta441a7dffa4e9d48f2c3f67e965a1f36da63358a (diff)
Exclude the Atari/Milan floppy driver from being a RAID capable device.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index d4db86b0820..169b8be1fff 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.120 2002/05/23 15:12:59 leo Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.121 2002/06/27 05:13:33 leo 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.120 2002/05/23 15:12:59 leo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.121 2002/06/27 05:13:33 leo Exp $");
#include <sys/param.h>
#include <sys/errno.h>
@@ -2688,6 +2688,10 @@ rf_find_raid_components()
if (!strcmp(dv->dv_cfdata->cf_driver->cd_name,"hdfd")) {
continue;
}
+ /* fdisa is the Atari/Milan floppy driver */
+ if (!strcmp(dv->dv_cfdata->cf_driver->cd_name,"fdisa")) {
+ continue;
+ }
/* need to find the device_name_to_block_device_major stuff */
cd_name = dv->dv_cfdata->cf_driver->cd_name;