Add nand core module and module dependency information.
Reviewed by:gber
This commit is contained in:
parent
5b5b0ef34d
commit
ab25c078af
@ -830,3 +830,5 @@ nand_erase_blocks(struct nand_chip *chip, off_t offset, size_t len)
|
||||
|
||||
return (err);
|
||||
}
|
||||
|
||||
MODULE_VERSION(nand, 1);
|
||||
|
@ -663,3 +663,5 @@ nandsim_modevent(module_t mod __unused, int type, void *data __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);
|
||||
|
13
sys/modules/nand/Makefile
Normal file
13
sys/modules/nand/Makefile
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user