Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe Exclude the Atari/Milan floppy driver from...



details:   https://anonhg.NetBSD.org/src/rev/43f9e87cf006
branches:  trunk
changeset: 533303:43f9e87cf006
user:      leo <leo%NetBSD.org@localhost>
date:      Thu Jun 27 05:13:33 2002 +0000

description:
Exclude the Atari/Milan floppy driver from being a RAID capable device.

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 3cf9631fdf8f -r 43f9e87cf006 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Thu Jun 27 04:09:15 2002 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Thu Jun 27 05:13:33 2002 +0000
@@ -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 @@
                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;



Home | Main Index | Thread Index | Old Index