1998-03-12 20:00:21 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
1998-10-22 13:49:51 +00:00
|
|
|
# $Id: LKM,v 1.2 1998/10/22 12:23:04 bde Exp $
|
1998-03-12 20:00:21 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
##
|
|
|
|
# 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)
|
1998-10-22 13:49:51 +00:00
|
|
|
device npx0 at isa? port IO_NPX irq 13
|
1998-03-12 20:00:21 +00:00
|
|
|
|
|
|
|
##
|
|
|
|
# Requirements for various LKMs
|
|
|
|
##
|
|
|
|
|
|
|
|
#
|
|
|
|
# Options required for the ATAPI LKM
|
|
|
|
#
|
1998-10-22 12:23:04 +00:00
|
|
|
controller wdc0 at isa? port "IO_WD1" bio irq 14
|
1998-03-12 20:00:21 +00:00
|
|
|
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
|
1998-10-22 12:23:04 +00:00
|
|
|
device sio0 at isa? port "IO_COM1" tty irq 4
|
1998-03-12 20:00:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# For the screensavers
|
|
|
|
#
|
1998-10-22 13:49:51 +00:00
|
|
|
device sc0 at isa? port IO_KBD tty irq 1
|
1998-03-12 20:00:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# For umapfs
|
|
|
|
#
|
|
|
|
options NULLFS
|