Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Let's not bother poking CD's to see if the...
details: https://anonhg.NetBSD.org/src/rev/f43ea5502149
branches: trunk
changeset: 534988:f43ea5502149
user: oster <oster%NetBSD.org@localhost>
date: Wed Aug 07 20:45:39 2002 +0000
description:
Let's not bother poking CD's to see if they might have RAID sets
on them.
diffstat:
sys/dev/raidframe/rf_netbsdkintf.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 305a99b92a5d -r f43ea5502149 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c Wed Aug 07 20:03:19 2002 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c Wed Aug 07 20:45:39 2002 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index