aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile7
-rw-r--r--sys/modules/io/Makefile10
-rw-r--r--sys/modules/mem/Makefile10
3 files changed, 25 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 98052a750b2a..938c4c830235 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -101,6 +101,7 @@ SUBDIR= ${_3dfx} \
if_tun \
if_vlan \
${_iir} \
+ ${_io} \
ip6fw \
${_ipfilter} \
ipfw \
@@ -131,6 +132,7 @@ SUBDIR= ${_3dfx} \
mac_test \
mcd \
md \
+ mem \
mii \
mlx \
${_mly} \
@@ -149,7 +151,7 @@ SUBDIR= ${_3dfx} \
${_nsp} \
ntfs \
ntfs_iconv \
- ${_null} \
+ null \
nullfs \
${_nwfs} \
${_oltr} \
@@ -252,7 +254,6 @@ _syscons= syscons
.endif
.if defined(ALL_MODULES)
-_null= null
_ufs= ufs
.endif
@@ -301,6 +302,7 @@ _hfa= hfa
_i2c= i2c
_ibcs2= ibcs2
_ie= ie
+_io= io
_linprocfs= linprocfs
_linux= linux
_lnc= lnc
@@ -374,6 +376,7 @@ _sppp= sppp
.endif
.if ${MACHINE_ARCH} == "amd64"
+_io= io
#_ndis= ndis
.endif
diff --git a/sys/modules/io/Makefile b/sys/modules/io/Makefile
new file mode 100644
index 000000000000..ffb3442e0a7a
--- /dev/null
+++ b/sys/modules/io/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/io
+.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/${MACHINE_ARCH}
+
+KMOD= io
+SRCS= iodev.c io.c
+SRCS+= bus_if.h device_if.h vnode_if.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/mem/Makefile b/sys/modules/mem/Makefile
new file mode 100644
index 000000000000..d1529a53f971
--- /dev/null
+++ b/sys/modules/mem/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/mem
+.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/${MACHINE_ARCH}
+
+KMOD= mem
+SRCS= memdev.c mem.c
+SRCS+= bus_if.h device_if.h vnode_if.h
+
+.include <bsd.kmod.mk>