summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-03-12 20:00:21 +0000
committereivind <eivind@FreeBSD.org>1998-03-12 20:00:21 +0000
commita7622141981320b9270201031c72c1c5759388b5 (patch)
tree4d3c1d6d78139bb07af557122fe32901f0398ada
parent7549a1c33e40ed04f5e11c5f07a183a1051a076d (diff)
downloadFreeBSD-src-a7622141981320b9270201031c72c1c5759388b5.zip
FreeBSD-src-a7622141981320b9270201031c72c1c5759388b5.tar.gz
'LKM' is a minimal kernel config file, just enough to be able to test-link
the LKMs.
-rw-r--r--sys/i386/conf/LKM74
1 files changed, 74 insertions, 0 deletions
diff --git a/sys/i386/conf/LKM b/sys/i386/conf/LKM
new file mode 100644
index 0000000..4e123a6
--- /dev/null
+++ b/sys/i386/conf/LKM
@@ -0,0 +1,74 @@
+#
+# LKM - verification kernel for LKMs. This is not intended to be run
+# on any real hardware, only to make it possible to test-link LKMs.
+#
+# $Id$
+#
+
+##
+# Things the kernel don't seem to be able to do without
+##
+
+machine "i386"
+cpu "I386_CPU"
+ident LKM
+maxusers 2
+
+config kernel root on wd0
+
+# Need either FFS or NFS
+options FFS
+
+# The kernel fail to compile without ISA - it is complaining about the
+# missing NPX...
+controller isa0
+# npx is mandated by config(8)
+device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
+
+##
+# Requirements for various LKMs
+##
+
+#
+# Options required for the ATAPI LKM
+#
+controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
+options ATAPI
+
+
+#
+# Options required for if_ppp LKM
+#
+options INET
+options PPP_DEFLATE #PPP zlib/deflate/gzip support
+
+# Cascaded requirement from "INET"
+pseudo-device loop #Network loopback device
+
+
+#
+# Options required for linux LKM
+#
+options "COMPAT_43"
+
+
+#
+# Options required for pcic LKM
+#
+controller card0
+
+# Cascading requirement from card0 - any device that have a DATA_SET of
+# pccarddrv_set
+device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
+
+
+#
+# For the screensavers
+#
+device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
+
+
+#
+# For umapfs
+#
+options NULLFS
OpenPOWER on IntegriCloud