Exclude the Atari/Milan floppy driver from being a RAID capable device.
This commit is contained in:
parent
a441a7dffa
commit
4fdfe6f24c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user