Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/raid New files, in preparation for modularized v...



details:   https://anonhg.NetBSD.org/src/rev/07850f471e82
branches:  trunk
changeset: 812605:07850f471e82
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Dec 23 08:14:06 2015 +0000

description:
New files, in preparation for modularized version of raidframe driver.

(Driver changes to be committed on the weekend.)

diffstat:

 sys/modules/raid/Makefile    |  46 ++++++++++++++++++++++++++++++++++++++++++++
 sys/modules/raid/raid.ioconf |   7 ++++++
 2 files changed, 53 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r 31f76f82ce52 -r 07850f471e82 sys/modules/raid/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/raid/Makefile Wed Dec 23 08:14:06 2015 +0000
@@ -0,0 +1,46 @@
+#      $NetBSD: Makefile,v 1.1 2015/12/23 08:14:06 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+IOCONF=        raid.ioconf
+
+.PATH: ${S}/dev/raidframe
+
+KMOD=  raid
+
+SRCS+= rf_acctrace.c           rf_alloclist.c         rf_aselect.c
+SRCS+= rf_callback.c           rf_chaindecluster.c    rf_copyback.c
+SRCS+= rf_cvscan.c             rf_dagdegrd.c          rf_dagdegwr.c
+SRCS+= rf_dagffrd.c            rf_dagffwr.c           rf_dagfuncs.c
+SRCS+= rf_dagutils.c           rf_debugMem.c          rf_debugprint.c
+SRCS+= rf_decluster.c          rf_declusterPQ.c       rf_diskqueue.c
+SRCS+= rf_disks.c              rf_driver.c            rf_engine.c
+SRCS+= rf_evenodd.c            rf_evenodd_dagfuncs.c  rf_evenodd_dags.c
+SRCS+= rf_fifo.c               rf_interdecluster.c    rf_invertq.c
+SRCS+= rf_layout.c             rf_map.c               rf_mcpair.c
+SRCS+= rf_netbsdkintf.c        rf_nwayxor.c           rf_options.c
+SRCS+= rf_paritylog.c          rf_paritylogDiskMgr.c  rf_paritylogging.c
+SRCS+= rf_parityloggingdags.c  rf_paritymap.c         rf_parityscan.c
+SRCS+= rf_pq.c                 rf_pqdeg.c             rf_pqdegdags.c
+SRCS+= rf_psstatus.c           rf_raid0.c             rf_raid1.c
+SRCS+= rf_raid4.c              rf_raid5.c             rf_raid5_rotatedspare.c
+SRCS+= rf_reconbuffer.c        rf_reconmap.c          rf_reconstruct.c
+SRCS+= rf_reconutil.c          rf_revent.c            rf_shutdown.c
+SRCS+= rf_sstf.c               rf_states.c            rf_stripelocks.c
+SRCS+= rf_strutils.c           rf_utils.c             rf_compat50.c
+
+CPPFLAGS+=     -DRAID_AUTOCONFIG=1
+
+# Include optional raid styles
+
+CPPFLAGS+=     -DRF_INCLUDE_EVENODD=1
+CPPFLAGS+=     -DRF_INCLUDE_RAID5_RS=1
+CPPFLAGS+=     -DRF_INCLUDE_PARITYLOGGING=1      
+CPPFLAGS+=     -DRF_INCLUDE_CHAINDECLUSTER=1     
+CPPFLAGS+=     -DRF_INCLUDE_INTERDECLUSTER=1
+CPPFLAGS+=     -DRF_INCLUDE_PARITY_DECLUSTERING=1
+CPPFLAGS+=     -DRF_INCLUDE_PARITY_DECLUSTERING_DS=1
+
+CPPFLAGS+=     -DCOMPAT_50
+
+.include <bsd.kmodule.mk>
diff -r 31f76f82ce52 -r 07850f471e82 sys/modules/raid/raid.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/raid/raid.ioconf      Wed Dec 23 08:14:06 2015 +0000
@@ -0,0 +1,7 @@
+#      $NetBSD: raid.ioconf,v 1.1 2015/12/23 08:14:06 pgoyette Exp $
+
+ioconf         raidframe
+
+include                "conf/files"
+
+pseudo-device   raid



Home | Main Index | Thread Index | Old Index