svn commit: r232761 - in projects/nand/sys/modules: . nandsim
Grzegorz Bernacki
gber at FreeBSD.org
Sat Mar 10 02:52:37 UTC 2012
Author: gber
Date: Sat Mar 10 02:52:36 2012
New Revision: 232761
URL: http://svn.freebsd.org/changeset/base/232761
Log:
Add NAND simulator as a module.
Obtained from: Semihalf
Supported by: FreeBSD Foundation, Juniper Networks
Added:
projects/nand/sys/modules/nandsim/
projects/nand/sys/modules/nandsim/Makefile
Modified:
projects/nand/sys/modules/Makefile
Modified: projects/nand/sys/modules/Makefile
==============================================================================
--- projects/nand/sys/modules/Makefile Sat Mar 10 02:46:55 2012 (r232760)
+++ projects/nand/sys/modules/Makefile Sat Mar 10 02:52:36 2012 (r232761)
@@ -215,6 +215,7 @@ SUBDIR= ${_3dfx} \
${_mwlfw} \
mxge \
my \
+ ${_nandsim} \
${_ncp} \
${_ncv} \
${_ndis} \
@@ -333,7 +334,6 @@ SUBDIR= ${_3dfx} \
vx \
${_vxge} \
wb \
- ${_wbwd} \
${_wi} \
wlan \
wlan_acl \
@@ -396,6 +396,11 @@ _ipdivert= ipdivert
_ipfw= ipfw
.endif
+.if ${MK_NAND} != "no" || defined(ALL_MODULES)
+_nandfs= nandfs
+_nandsim= nandsim
+.endif
+
.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
_netgraph= netgraph
.endif
@@ -511,7 +516,6 @@ _stg= stg
_streams= streams
_svr4= svr4
_vxge= vxge
-_wbwd= wbwd
_wi= wi
_xe= xe
.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
@@ -706,7 +710,6 @@ _viawd= viawd
_virtio= virtio
_vxge= vxge
_x86bios= x86bios
-_wbwd= wbwd
_wi= wi
_wpi= wpi
.if ${MK_SOURCELESS_UCODE} != "no"
Added: projects/nand/sys/modules/nandsim/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/nand/sys/modules/nandsim/Makefile Sat Mar 10 02:52:36 2012 (r232761)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/nand
+
+KMOD= nandsim
+SRCS= nandsim.c nandsim_chip.c nandsim_swap.c nandsim_ctrl.c nandsim_log.c\
+ bus_if.h device_if.h vnode_if.h nfc_if.h nand_if.h
+
+.include <bsd.kmod.mk>
More information about the svn-src-projects
mailing list