summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-12-05 20:37:46 +0000
committerbz <bz@FreeBSD.org>2009-12-05 20:37:46 +0000
commitc75ccf4f6c42e9755a06177deed1a3b2aa9025ed (patch)
treeec014812146f66625d407d868edb39eda496b652 /sys/modules
parent499a230354bd2778d684835cf5b3475c7a054014 (diff)
downloadFreeBSD-src-c75ccf4f6c42e9755a06177deed1a3b2aa9025ed.zip
FreeBSD-src-c75ccf4f6c42e9755a06177deed1a3b2aa9025ed.tar.gz
MFC r197518:
lindev(4) [1] is supposed to be a collection of linux-specific pseudo devices that we also support, just not by default (thus only LINT or module builds by default). While currently there is only "/dev/full" [2], we are planning to see more in the future. We may decide to change the module/dependency logic in the future should the list grow too long. This is not part of linux.ko as also non-linux binaries like kFreeBSD userland or ports can make use of this as well. Suggested by: rwatson [1] (name) Submitted by: ed [2] Discussed with: markm, ed, rwatson, kib (weeks ago) Reviewed by: rwatson, brueffer (prev. version) PR: kern/68961
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile3
-rw-r--r--sys/modules/lindev/Makefile8
2 files changed, 11 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 089450a..eca7b6b 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -150,6 +150,7 @@ SUBDIR= ${_3dfx} \
libiconv \
libmbpool \
libmchain \
+ ${_lindev} \
${_linprocfs} \
${_linsysfs} \
${_linux} \
@@ -370,6 +371,7 @@ _ie= ie
_if_ndis= if_ndis
_igb= igb
_io= io
+_lindev= lindev
_linprocfs= linprocfs
_linsysfs= linsysfs
_linux= linux
@@ -505,6 +507,7 @@ _ipwfw= ipwfw
_iwn= iwn
_iwnfw= iwnfw
_ixgb= ixgb
+_lindev= lindev
_linprocfs= linprocfs
_linsysfs= linsysfs
_linux= linux
diff --git a/sys/modules/lindev/Makefile b/sys/modules/lindev/Makefile
new file mode 100644
index 0000000..704cac3
--- /dev/null
+++ b/sys/modules/lindev/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/lindev
+
+KMOD= lindev
+SRCS= full.c lindev.c
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud