Date: Tue, 26 Jun 2012 18:08:04 +0000 (UTC) From: Takanori Watanabe <takawata@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r237605 - in head/sys: dev/nand modules/nand Message-ID: <201206261808.q5QI84Ih054761@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: takawata Date: Tue Jun 26 18:08:03 2012 New Revision: 237605 URL: http://svn.freebsd.org/changeset/base/237605 Log: Add nand core module and module dependency information. Reviewed by:gber Added: head/sys/modules/nand/ head/sys/modules/nand/Makefile (contents, props changed) Modified: head/sys/dev/nand/nand.c head/sys/dev/nand/nandsim.c Modified: head/sys/dev/nand/nand.c ============================================================================== --- head/sys/dev/nand/nand.c Tue Jun 26 16:45:18 2012 (r237604) +++ head/sys/dev/nand/nand.c Tue Jun 26 18:08:03 2012 (r237605) @@ -830,3 +830,5 @@ nand_erase_blocks(struct nand_chip *chip return (err); } + +MODULE_VERSION(nand, 1); Modified: head/sys/dev/nand/nandsim.c ============================================================================== --- head/sys/dev/nand/nandsim.c Tue Jun 26 16:45:18 2012 (r237604) +++ head/sys/dev/nand/nandsim.c Tue Jun 26 18:08:03 2012 (r237605) @@ -663,3 +663,5 @@ nandsim_modevent(module_t mod __unused, DEV_MODULE(nandsim, nandsim_modevent, NULL); MODULE_VERSION(nandsim, 1); +MODULE_DEPEND(nandsim, nand, 1, 1, 1); +MODULE_DEPEND(nandsim, alq, 1, 1, 1); Added: head/sys/modules/nand/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/modules/nand/Makefile Tue Jun 26 18:08:03 2012 (r237605) @@ -0,0 +1,13 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/nand + +KMOD = nand +SRCS= nand.c nand_bbt.c nand_cdev.c nand_generic.c nand_geom.c \ + nand_id.c nandbus.c nandbus_if.c nand_if.c nfc_if.c \ + nand_if.h device_if.h bus_if.h nfc_if.h nandbus_if.h + +MFILES= kern/bus_if.m kern/device_if.m dev/nand/nfc_if.m \ + dev/nand/nand_if.m dev/nand/nandbus_if.m + +.include <bsd.kmod.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206261808.q5QI84Ih054761>