Module Name: src Committed By: pgoyette Date: Wed Dec 23 08:14:06 UTC 2015
Added Files: src/sys/modules/raid: Makefile raid.ioconf Log Message: New files, in preparation for modularized version of raidframe driver. (Driver changes to be committed on the weekend.) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/modules/raid/Makefile \ src/sys/modules/raid/raid.ioconf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Added files: Index: src/sys/modules/raid/Makefile diff -u /dev/null src/sys/modules/raid/Makefile:1.1 --- /dev/null Wed Dec 23 08:14:06 2015 +++ src/sys/modules/raid/Makefile Wed Dec 23 08:14:06 2015 @@ -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> Index: src/sys/modules/raid/raid.ioconf diff -u /dev/null src/sys/modules/raid/raid.ioconf:1.1 --- /dev/null Wed Dec 23 08:14:06 2015 +++ src/sys/modules/raid/raid.ioconf Wed Dec 23 08:14:06 2015 @@ -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