From bd09a311342f5f8ddfbbd6f3afa04215713d9bdc Mon Sep 17 00:00:00 2001 From: oster Date: Mon, 16 Jun 2008 16:58:26 +0000 Subject: We don't care about md devices here. Fixes issue reported by Jukka Salmi on current-users. Thanks! --- sys/dev/raidframe/rf_netbsdkintf.c | 9 +++++++-- 1 file changed, 7 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 313a491a213..e6c232ffcc7 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.247 2008/06/07 17:50:34 oster Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.248 2008/06/16 16:58:26 oster Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc. * All rights reserved. @@ -139,7 +139,7 @@ ***********************************************************/ #include -__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.247 2008/06/07 17:50:34 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.248 2008/06/16 16:58:26 oster Exp $"); #include #include @@ -2862,6 +2862,11 @@ rf_find_raid_components() continue; } + /* we don't care about md's... */ + if (device_is_a(dv, "md")) { + continue; + } + /* hdfd is the Atari/Hades floppy driver */ if (device_is_a(dv, "hdfd")) { continue; -- cgit