Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/dev/raidframe Pull up following revision(s) (requeste...



details:   https://anonhg.NetBSD.org/src/rev/0bb3863629bd
branches:  netbsd-9
changeset: 369727:0bb3863629bd
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Aug 29 16:02:34 2022 +0000

description:
Pull up following revision(s) (requested by oster in ticket #1506):

        sys/dev/raidframe/rf_netbsdkintf.c: revision 1.409

RAIDframe must be initialized for the RAIDFRAME_SET_LAST_UNIT
and RAIDFRAME_SHUTDOWN ioctls.

diffstat:

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

diffs (28 lines):

diff -r ef0753e85a46 -r 0bb3863629bd sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Mon Aug 29 15:48:30 2022 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Mon Aug 29 16:02:34 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.376.4.3 2022/08/12 15:18:13 martin Exp $  */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.376.4.4 2022/08/29 16:02:34 martin Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.376.4.3 2022/08/12 15:18:13 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.376.4.4 2022/08/29 16:02:34 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_raid_autoconfig.h"
@@ -1066,7 +1066,9 @@
        case RAIDFRAME_REWRITEPARITY:
        case RAIDFRAME_SET_AUTOCONFIG:
        case RAIDFRAME_SET_COMPONENT_LABEL:
+       case RAIDFRAME_SET_LAST_UNIT:
        case RAIDFRAME_SET_ROOT:
+       case RAIDFRAME_SHUTDOWN:
                return (rs->sc_flags & RAIDF_INITED) == 0;
        }
        return false;



Home | Main Index | Thread Index | Old Index