Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Add new RF_* options for RAIDframe bits that are no...



details:   https://anonhg.NetBSD.org/src/rev/af79d2a5d7b8
branches:  trunk
changeset: 520925:af79d2a5d7b8
user:      oster <oster%NetBSD.org@localhost>
date:      Sat Jan 19 18:45:06 2002 +0000

description:
Add new RF_* options for RAIDframe bits that are no longer built by default.

While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.

Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.

diffstat:

 sys/arch/acorn32/conf/GENERIC      |  16 ++++++++++++----
 sys/arch/alpha/conf/GENERIC        |  16 ++++++++++++----
 sys/arch/amiga/conf/GENERIC        |  16 ++++++++++++----
 sys/arch/arc/conf/GENERIC          |  14 +++++++++++---
 sys/arch/arm26/conf/GENERIC        |  14 +++++++++++---
 sys/arch/atari/conf/GENERIC.in     |  14 +++++++++++---
 sys/arch/bebox/conf/GENERIC        |  16 ++++++++++++----
 sys/arch/cobalt/conf/GENERIC       |  16 ++++++++++++----
 sys/arch/hp300/conf/GENERIC        |  16 ++++++++++++----
 sys/arch/hpcmips/conf/GENERIC      |  14 +++++++++++---
 sys/arch/i386/conf/GENERIC         |  16 ++++++++++++----
 sys/arch/i386/conf/GENERIC_LAPTOP  |  14 +++++++++++---
 sys/arch/mac68k/conf/GENERIC       |  14 +++++++++++---
 sys/arch/mac68k/conf/GENERICSBC    |  14 +++++++++++---
 sys/arch/macppc/conf/GENERIC       |  14 +++++++++++---
 sys/arch/mipsco/conf/GENERIC       |  12 ++++++++++--
 sys/arch/mmeye/conf/GENERIC        |  14 +++++++++++---
 sys/arch/news68k/conf/GENERIC      |  15 ++++++++++++---
 sys/arch/news68k/conf/GENERIC_TINY |  15 ++++++++++++---
 sys/arch/newsmips/conf/GENERIC     |  14 +++++++++++---
 sys/arch/next68k/conf/GENERIC      |  14 +++++++++++---
 sys/arch/ofppc/conf/GENERIC        |  14 +++++++++++---
 sys/arch/pmax/conf/GENERIC         |  16 ++++++++++++----
 sys/arch/prep/conf/GENERIC         |  14 +++++++++++---
 sys/arch/sparc/conf/GENERIC        |  17 +++++++++++++----
 sys/arch/sparc64/conf/GENERIC32    |  17 +++++++++++++----
 sys/arch/sun2/conf/GENERIC         |  12 ++++++++++--
 sys/arch/sun3/conf/GENERIC         |  12 ++++++++++--
 sys/arch/sun3/conf/GENERIC3X       |  10 +++++++++-
 sys/arch/vax/conf/GENERIC          |  16 ++++++++++++----
 sys/arch/x68k/conf/GENERIC         |  17 +++++++++++++----
 31 files changed, 353 insertions(+), 100 deletions(-)

diffs (truncated from 1067 to 300 lines):

diff -r f6800bca3188 -r af79d2a5d7b8 sys/arch/acorn32/conf/GENERIC
--- a/sys/arch/acorn32/conf/GENERIC     Sat Jan 19 17:07:51 2002 +0000
+++ b/sys/arch/acorn32/conf/GENERIC     Sat Jan 19 18:45:06 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.6 2001/12/28 12:21:52 martin Exp $
+# $NetBSD: GENERIC,v 1.7 2002/01/19 18:45:06 oster Exp $
 #
 # GENERIC machine description file
 # 
@@ -20,7 +20,7 @@
 
 include        "arch/acorn32/conf/std.acorn32"
 
-#ident                 "GENERIC-$Revision: 1.6 $"
+#ident                 "GENERIC-$Revision: 1.7 $"
 
 # estimated number of users
 maxusers       32
@@ -306,8 +306,16 @@
 pseudo-device  tb      1               # tablet line discipline
 pseudo-device  vnd     4               # disk-like interface to files
 pseudo-device  ccd     2               # concatenated disk devices
-#pseudo-device raid    4               # RAIDframe disk driver
-#options       RAID_AUTOCONFIG         # auto-configuration of RAID components
+pseudo-device  raid    8               # RAIDframe disk driver
+options        RAID_AUTOCONFIG         # auto-configuration of RAID components
+# Options to enable various other RAIDframe RAID types.
+# options      RF_INCLUDE_EVENODD=1
+# options      RF_INCLUDE_RAID5_RS=1
+# options      RF_INCLUDE_PARITYLOGGING=1
+# options      RF_INCLUDE_CHAINDECLUSTER=1
+# options      RF_INCLUDE_INTERDECLUSTER=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 pseudo-device  md      1               # Ramdisk driver
 pseudo-device  rnd                     # /dev/random and in-kernel generator
 
diff -r f6800bca3188 -r af79d2a5d7b8 sys/arch/alpha/conf/GENERIC
--- a/sys/arch/alpha/conf/GENERIC       Sat Jan 19 17:07:51 2002 +0000
+++ b/sys/arch/alpha/conf/GENERIC       Sat Jan 19 18:45:06 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.201 2001/12/28 17:37:02 augustss Exp $
+# $NetBSD: GENERIC,v 1.202 2002/01/19 18:45:07 oster Exp $
 #
 # GENERIC machine description file
 # 
@@ -23,7 +23,7 @@
 
 include                "arch/alpha/conf/std.alpha"
 
-#ident                 "GENERIC-$Revision: 1.201 $"
+#ident                 "GENERIC-$Revision: 1.202 $"
 
 maxusers 32
 
@@ -497,8 +497,16 @@
 
 pseudo-device  bpfilter        16
 pseudo-device  ccd             4
-#pseudo-device raid            4       # RAIDframe disk driver
-#options       RAID_AUTOCONFIG         # auto-configuration of RAID components
+pseudo-device  raid            8       # RAIDframe disk driver
+options        RAID_AUTOCONFIG         # auto-configuration of RAID components
+# Options to enable various other RAIDframe RAID types.
+# options      RF_INCLUDE_EVENODD=1
+# options      RF_INCLUDE_RAID5_RS=1
+# options      RF_INCLUDE_PARITYLOGGING=1
+# options      RF_INCLUDE_CHAINDECLUSTER=1
+# options      RF_INCLUDE_INTERDECLUSTER=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 pseudo-device  ipfilter        1
 pseudo-device  loop            1
 pseudo-device  md              1
diff -r f6800bca3188 -r af79d2a5d7b8 sys/arch/amiga/conf/GENERIC
--- a/sys/arch/amiga/conf/GENERIC       Sat Jan 19 17:07:51 2002 +0000
+++ b/sys/arch/amiga/conf/GENERIC       Sat Jan 19 18:45:06 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.166 2002/01/13 23:24:22 jandberg Exp $
+# $NetBSD: GENERIC,v 1.167 2002/01/19 18:45:07 oster Exp $
 #
 # GENERIC machine description file
 # 
@@ -34,7 +34,7 @@
 
 include "arch/amiga/conf/std.amiga"
 
-#ident                 "GENERIC-$Revision: 1.166 $"
+#ident                 "GENERIC-$Revision: 1.167 $"
 
 #ifdef INSTALL_CONFIGURATION
 makeoptions    COPTS="-Os"
@@ -501,8 +501,16 @@
 
 pseudo-device  vnd             4       # vnode pseudo-disks
 pseudo-device  ccd             4       # concatenated disk devices
-#pseudo-device raid            4       # RAIDframe disk driver
-#options       RAID_AUTOCONFIG         # auto-configuration of RAID components
+pseudo-device  raid            8       # RAIDframe disk driver
+options        RAID_AUTOCONFIG         # auto-configuration of RAID components
+# Options to enable various other RAIDframe RAID types.
+# options      RF_INCLUDE_EVENODD=1
+# options      RF_INCLUDE_RAID5_RS=1
+# options      RF_INCLUDE_PARITYLOGGING=1
+# options      RF_INCLUDE_CHAINDECLUSTER=1
+# options      RF_INCLUDE_INTERDECLUSTER=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 
 pseudo-device  rnd                     # /dev/random and in-kernel generator
 #options       RND_COM                 # use "com" randomness as well (BROKEN)
diff -r f6800bca3188 -r af79d2a5d7b8 sys/arch/arc/conf/GENERIC
--- a/sys/arch/arc/conf/GENERIC Sat Jan 19 17:07:51 2002 +0000
+++ b/sys/arch/arc/conf/GENERIC Sat Jan 19 18:45:06 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.59 2001/12/28 12:21:53 martin Exp $
+# $NetBSD: GENERIC,v 1.60 2002/01/19 18:45:08 oster Exp $
 #
 # GENERIC machine description file
 # 
@@ -20,7 +20,7 @@
 
 include                "arch/arc/conf/std.arc"
 
-#ident         "GENERIC-$Revision: 1.59 $"
+#ident         "GENERIC-$Revision: 1.60 $"
 
 maxusers       32              # estimated number of users
 
@@ -362,7 +362,15 @@
 
 # disk/mass storage pseudo-devices
 pseudo-device  ccd             4       # concatenated/striped disk devices
-#pseudo-device raid            4       # RAIDframe disk driver
+pseudo-device  raid            8       # RAIDframe disk driver
+# Options to enable various other RAIDframe RAID types.
+# options      RF_INCLUDE_EVENODD=1
+# options      RF_INCLUDE_RAID5_RS=1
+# options      RF_INCLUDE_PARITYLOGGING=1
+# options      RF_INCLUDE_CHAINDECLUSTER=1
+# options      RF_INCLUDE_INTERDECLUSTER=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 pseudo-device  md              1       # memory disk device (ramdisk)
 pseudo-device  vnd             4       # disk-like interface to files
 
diff -r f6800bca3188 -r af79d2a5d7b8 sys/arch/arm26/conf/GENERIC
--- a/sys/arch/arm26/conf/GENERIC       Sat Jan 19 17:07:51 2002 +0000
+++ b/sys/arch/arm26/conf/GENERIC       Sat Jan 19 18:45:06 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.31 2001/12/28 12:21:54 martin Exp $
+# $NetBSD: GENERIC,v 1.32 2002/01/19 18:45:08 oster Exp $
 #
 # GENERIC machine description file
 # 
@@ -193,8 +193,16 @@
 
 pseudo-device  bpfilter        16
 pseudo-device  ccd             4
-#pseudo-device raid            4       # RAIDframe disk driver
-#options       RAID_AUTOCONFIG         # auto-configuration of RAID components
+pseudo-device  raid            8       # RAIDframe disk driver
+options        RAID_AUTOCONFIG         # auto-configuration of RAID components
+# Options to enable various other RAIDframe RAID types.
+# options      RF_INCLUDE_EVENODD=1
+# options      RF_INCLUDE_RAID5_RS=1
+# options      RF_INCLUDE_PARITYLOGGING=1
+# options      RF_INCLUDE_CHAINDECLUSTER=1
+# options      RF_INCLUDE_INTERDECLUSTER=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 #pseudo-device ipfilter        1
 pseudo-device  loop            1
 pseudo-device  md              1
diff -r f6800bca3188 -r af79d2a5d7b8 sys/arch/atari/conf/GENERIC.in
--- a/sys/arch/atari/conf/GENERIC.in    Sat Jan 19 17:07:51 2002 +0000
+++ b/sys/arch/atari/conf/GENERIC.in    Sat Jan 19 18:45:06 2002 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: GENERIC.in,v 1.12 2001/12/28 12:21:54 martin Exp $
+#      $NetBSD: GENERIC.in,v 1.13 2002/01/19 18:45:08 oster Exp $
 #
 # Generic atari
 #
@@ -219,8 +219,16 @@
 pseudo-device  vlan                    # IEEE 802.1q encapsulation
 pseudo-device  bridge                  # simple inter-network bridging
 pseudo-device  ccd             4       # concatenating disk driver
-#pseudo-device raid            4       # RAIDframe disk driver
-#options       RAID_AUTOCONFIG         # auto-configuration of RAID components
+pseudo-device  raid            8       # RAIDframe disk driver
+options        RAID_AUTOCONFIG         # auto-configuration of RAID components
+# Options to enable various other RAIDframe RAID types.
+# options      RF_INCLUDE_EVENODD=1
+# options      RF_INCLUDE_RAID5_RS=1
+# options      RF_INCLUDE_PARITYLOGGING=1
+# options      RF_INCLUDE_CHAINDECLUSTER=1
+# options      RF_INCLUDE_INTERDECLUSTER=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 pseudo-device  ipfilter                # IP filtering device
 pseudo-device  rnd                     # /dev/random and in-kernel generator
 #endif
diff -r f6800bca3188 -r af79d2a5d7b8 sys/arch/bebox/conf/GENERIC
--- a/sys/arch/bebox/conf/GENERIC       Sat Jan 19 17:07:51 2002 +0000
+++ b/sys/arch/bebox/conf/GENERIC       Sat Jan 19 18:45:06 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.49 2001/12/28 12:21:54 martin Exp $
+# $NetBSD: GENERIC,v 1.50 2002/01/19 18:45:08 oster Exp $
 #
 # GENERIC machine description file
 # 
@@ -20,7 +20,7 @@
 
 include        "arch/bebox/conf/std.bebox"
 
-#ident                 "GENERIC-$Revision: 1.49 $"
+#ident                 "GENERIC-$Revision: 1.50 $"
 
 maxusers       32
 
@@ -89,8 +89,16 @@
 pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
 pseudo-device  bridge                  # simple inter-network bridging
 pseudo-device  pty                     # pseudo-terminals
-#pseudo-device raid            4       # RAIDframe disk driver
-#options       RAID_AUTOCONFIG         # auto-configuration of RAID components
+pseudo-device  raid            8       # RAIDframe disk driver
+options        RAID_AUTOCONFIG         # auto-configuration of RAID components
+# Options to enable various other RAIDframe RAID types.
+# options      RF_INCLUDE_EVENODD=1
+# options      RF_INCLUDE_RAID5_RS=1
+# options      RF_INCLUDE_PARITYLOGGING=1
+# options      RF_INCLUDE_CHAINDECLUSTER=1
+# options      RF_INCLUDE_INTERDECLUSTER=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 #pseudo-device gre             2       # generic L3 over IP tunnel
 pseudo-device  wsmux
 
diff -r f6800bca3188 -r af79d2a5d7b8 sys/arch/cobalt/conf/GENERIC
--- a/sys/arch/cobalt/conf/GENERIC      Sat Jan 19 17:07:51 2002 +0000
+++ b/sys/arch/cobalt/conf/GENERIC      Sat Jan 19 18:45:06 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.24 2001/12/28 12:21:55 martin Exp $
+# $NetBSD: GENERIC,v 1.25 2002/01/19 18:45:09 oster Exp $
 #
 # GENERIC machine description file
 # 
@@ -20,7 +20,7 @@
 
 include        "arch/cobalt/conf/std.cobalt"
 
-#ident                 "GENERIC-$Revision: 1.24 $"
+#ident                 "GENERIC-$Revision: 1.25 $"
 
 maxusers       32
 
@@ -236,8 +236,16 @@
 
 # Disk/mass storage pseudo-devices
 #pseudo-device ccd             4               # concatenated disk devices
-#pseudo-device raid            4               # RAIDframe disk driver
-#options       RAID_AUTOCONFIG                 # auto-configuration of RAID
+pseudo-device  raid            8               # RAIDframe disk driver
+options        RAID_AUTOCONFIG                 # auto-configuration of RAID
+# Options to enable various other RAIDframe RAID types.
+# options      RF_INCLUDE_EVENODD=1
+# options      RF_INCLUDE_RAID5_RS=1
+# options      RF_INCLUDE_PARITYLOGGING=1
+# options      RF_INCLUDE_CHAINDECLUSTER=1
+# options      RF_INCLUDE_INTERDECLUSTER=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING=1
+# options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 #pseudo-device md              1               # memory disk device (ramdisk)
 #pseudo-device vnd             4               # disk-like interface to files
 
diff -r f6800bca3188 -r af79d2a5d7b8 sys/arch/hp300/conf/GENERIC
--- a/sys/arch/hp300/conf/GENERIC       Sat Jan 19 17:07:51 2002 +0000
+++ b/sys/arch/hp300/conf/GENERIC       Sat Jan 19 18:45:06 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.74 2001/12/28 12:21:55 martin Exp $
+# $NetBSD: GENERIC,v 1.75 2002/01/19 18:45:09 oster Exp $
 #
 # GENERIC machine description file
 # 
@@ -20,7 +20,7 @@
 
 include        "arch/hp300/conf/std.hp300"
 
-#ident                 "GENERIC-$Revision: 1.74 $"
+#ident                 "GENERIC-$Revision: 1.75 $"
 
 # Support for various CPU types
 options        HP320
@@ -208,8 +208,16 @@
 pseudo-device  bpfilter        16      # Berkeley packet filter
 pseudo-device  vnd             4       # vnode pseudo-disks
 pseudo-device  ccd             4       # concatenated disk devices
-#pseudo-device raid            4       # RAIDframe disk driver



Home | Main Index | Thread Index | Old Index