From 4fdfe6f24c3ba0d82f73009d152ec08c4000a8af Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 27 Jun 2002 05:13:33 +0000 Subject: Exclude the Atari/Milan floppy driver from being a RAID capable device. --- sys/dev/raidframe/rf_netbsdkintf.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/dev/raidframe') 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 -__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 #include @@ -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; -- cgit