1996-06-14 10:04:54 +00:00
|
|
|
#
|
2000-01-28 01:07:48 +00:00
|
|
|
# GENERIC -- Generic kernel configuration file for FreeBSD/pc98
|
1996-06-14 10:04:54 +00:00
|
|
|
#
|
2009-01-15 11:54:31 +00:00
|
|
|
# For more information on this file, please read the config(5) manual page,
|
|
|
|
# and/or the handbook section on Kernel Configuration Files:
|
1996-06-14 10:04:54 +00:00
|
|
|
#
|
2002-08-01 17:21:18 +00:00
|
|
|
# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
1999-08-28 16:49:58 +00:00
|
|
|
#
|
|
|
|
# The handbook is also available locally in /usr/share/doc/handbook
|
|
|
|
# if you've installed the doc distribution, otherwise always see the
|
2000-05-19 16:36:42 +00:00
|
|
|
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
|
1999-08-28 16:49:58 +00:00
|
|
|
# latest information.
|
|
|
|
#
|
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
2004-01-30 13:15:42 +00:00
|
|
|
# device lines is also present in the ../../conf/NOTES and NOTES files.
|
|
|
|
# If you are in doubt as to the purpose or necessity of a line, check first
|
2002-07-17 12:42:37 +00:00
|
|
|
# in NOTES.
|
1996-08-31 15:07:42 +00:00
|
|
|
#
|
1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1999-04-25 04:03:22 +00:00
|
|
|
cpu I486_CPU
|
|
|
|
cpu I586_CPU
|
|
|
|
cpu I686_CPU
|
2000-05-05 08:03:31 +00:00
|
|
|
ident GENERIC
|
1996-06-14 10:04:54 +00:00
|
|
|
|
2004-01-30 13:15:42 +00:00
|
|
|
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
|
|
|
|
|
2004-09-07 22:37:43 +00:00
|
|
|
options SCHED_4BSD # 4BSD scheduler
|
2007-05-13 07:19:10 +00:00
|
|
|
#options PREEMPTION # Enable kernel thread preemption
|
2004-01-30 13:15:42 +00:00
|
|
|
options INET # InterNETworking
|
|
|
|
options INET6 # IPv6 communications protocols
|
2015-11-26 21:35:50 +00:00
|
|
|
options IPSEC # IP (v4/v6) security
|
2010-01-03 04:38:38 +00:00
|
|
|
options SCTP # Stream Control Transmission Protocol
|
2004-01-30 13:15:42 +00:00
|
|
|
options FFS # Berkeley Fast Filesystem
|
|
|
|
options SOFTUPDATES # Enable FFS soft updates support
|
|
|
|
options UFS_ACL # Support for access control lists
|
|
|
|
options UFS_DIRHASH # Improve performance on big directories
|
2007-04-10 21:40:13 +00:00
|
|
|
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
|
2014-09-28 14:39:11 +00:00
|
|
|
options QUOTA # Enable disk quotas for UFS
|
2004-01-30 13:15:42 +00:00
|
|
|
options MD_ROOT # MD is a potential root device
|
2015-01-06 16:15:57 +00:00
|
|
|
options NFSCL # Network Filesystem Client
|
|
|
|
options NFSD # Network Filesystem Server
|
2010-01-03 04:38:38 +00:00
|
|
|
options NFSLOCKD # Network Lock Manager
|
2011-08-07 20:16:46 +00:00
|
|
|
options NFS_ROOT # NFS usable as /, requires NFSCL
|
2004-01-30 13:15:42 +00:00
|
|
|
options MSDOSFS # MSDOS Filesystem
|
|
|
|
options CD9660 # ISO 9660 Filesystem
|
2010-01-03 04:38:38 +00:00
|
|
|
options PROCFS # Process filesystem (requires PSEUDOFS)
|
|
|
|
options PSEUDOFS # Pseudo-filesystem framework
|
2007-02-07 18:55:31 +00:00
|
|
|
options GEOM_PART_GPT # GUID Partition Tables.
|
2007-02-09 19:03:18 +00:00
|
|
|
options GEOM_LABEL # Provides labelization
|
2004-01-30 13:15:42 +00:00
|
|
|
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
|
2005-07-14 15:39:06 +00:00
|
|
|
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
|
2006-09-26 12:36:34 +00:00
|
|
|
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
|
2008-01-07 21:40:11 +00:00
|
|
|
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
|
2014-10-24 19:58:24 +00:00
|
|
|
options COMPAT_FREEBSD9 # Compatible with FreeBSD9
|
|
|
|
options COMPAT_FREEBSD10 # Compatible with FreeBSD10
|
2004-11-04 15:20:26 +00:00
|
|
|
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
|
2004-01-30 13:15:42 +00:00
|
|
|
options EPSON_BOUNCEDMA # use bounce buffer for 15-16M
|
|
|
|
#options EPSON_MEMWIN # EPSON memory window support
|
1999-08-28 16:49:58 +00:00
|
|
|
#options LINE30
|
2004-01-30 13:15:42 +00:00
|
|
|
options KTRACE # ktrace(1) support
|
Break out stack(9) from ddb(4):
- Introduce per-architecture stack_machdep.c to hold stack_save(9).
- Introduce per-architecture machine/stack.h to capture any common
definitions required between db_trace.c and stack_machdep.c.
- Add new kernel option "options STACK"; we will build in stack(9) if it is
defined, or also if "options DDB" is defined to provide compatibility
with existing users of stack(9).
Add new stack_save_td(9) function, which allows the capture of a stacktrace
of another thread rather than the current thread, which the existing
stack_save(9) was limited to. It requires that the thread be neither
swapped out nor running, which is the responsibility of the consumer to
enforce.
Update stack(9) man page.
Build tested: amd64, arm, i386, ia64, powerpc, sparc64, sun4v
Runtime tested: amd64 (rwatson), arm (cognet), i386 (rwatson)
2007-12-02 20:40:35 +00:00
|
|
|
options STACK # stack(9) support
|
2010-01-03 04:38:38 +00:00
|
|
|
options SYSVSHM # SYSV-style shared memory
|
|
|
|
options SYSVMSG # SYSV-style message queues
|
|
|
|
options SYSVSEM # SYSV-style semaphores
|
2004-01-30 13:15:42 +00:00
|
|
|
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
|
2014-09-28 14:39:11 +00:00
|
|
|
options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
|
2001-01-13 13:23:42 +00:00
|
|
|
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
2008-07-07 22:55:11 +00:00
|
|
|
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
|
2007-06-08 20:29:07 +00:00
|
|
|
options AUDIT # Security event auditing
|
2011-12-29 22:48:36 +00:00
|
|
|
options CAPABILITY_MODE # Capsicum capability mode
|
|
|
|
options CAPABILITIES # Capsicum capabilities
|
2009-06-02 18:31:08 +00:00
|
|
|
options MAC # TrustedBSD MAC Framework
|
2014-09-28 14:25:46 +00:00
|
|
|
options INCLUDE_CONFIG_FILE # Include this file in kernel
|
2015-05-14 14:03:55 +00:00
|
|
|
options RACCT # Resource accounting framework
|
|
|
|
options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
|
|
|
|
options RCTL # Resource limits
|
2014-09-28 14:25:46 +00:00
|
|
|
|
|
|
|
# Debugging support. Always need this:
|
|
|
|
options KDB # Enable kernel debugger support.
|
|
|
|
options KDB_TRACE # Print a stack trace for a panic.
|
2001-04-15 19:37:28 +00:00
|
|
|
|
2005-01-02 09:51:07 +00:00
|
|
|
# To make an SMP kernel, the next two lines are needed
|
1999-08-28 16:49:58 +00:00
|
|
|
#options SMP # Symmetric MultiProcessor Kernel
|
2003-11-04 13:31:44 +00:00
|
|
|
#device apic # I/O APIC
|
1998-12-30 07:46:23 +00:00
|
|
|
|
2005-10-28 15:30:51 +00:00
|
|
|
# Bus support.
|
2002-07-23 06:38:47 +00:00
|
|
|
device pci
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1999-08-28 16:49:58 +00:00
|
|
|
# Floppy drives
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
device fdc
|
1996-06-14 10:04:54 +00:00
|
|
|
|
2011-04-24 08:58:58 +00:00
|
|
|
# ATA controllers
|
2014-09-28 14:25:46 +00:00
|
|
|
device ahci # AHCI-compatible SATA controllers
|
|
|
|
device ata # Legacy ATA/SATA controllers
|
|
|
|
device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
|
|
|
|
device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA
|
2002-12-03 20:20:44 +00:00
|
|
|
|
1999-08-28 16:49:58 +00:00
|
|
|
# SCSI Controllers
|
2014-09-28 14:25:46 +00:00
|
|
|
device ahc # AHA2940 and onboard AIC7xxx devices
|
|
|
|
device esp # AMD Am53C974 (Tekram DC-390(T))
|
|
|
|
device isp # Qlogic family
|
|
|
|
#device ncr # NCR/Symbios Logic
|
|
|
|
device sym # NCR/Symbios Logic (newer chipsets + those of `ncr')
|
1996-10-09 21:47:16 +00:00
|
|
|
|
2014-09-28 14:25:46 +00:00
|
|
|
device adv # Advansys SCSI adapters
|
|
|
|
device aic # PC-9801-100
|
|
|
|
device ct # host adapter using WD33C93[ABC] chip
|
2000-03-29 14:32:34 +00:00
|
|
|
|
2014-09-28 14:25:46 +00:00
|
|
|
device ncv # NCR 53C500
|
|
|
|
device nsp # Workbit Ninja SCSI-3
|
|
|
|
device stg # TMC 18C30/18C50
|
2000-11-05 14:31:19 +00:00
|
|
|
|
2011-04-24 08:58:58 +00:00
|
|
|
# ATA/SCSI peripherals
|
2014-09-28 14:25:46 +00:00
|
|
|
device scbus # SCSI bus (required for ATA/SCSI)
|
|
|
|
device ch # SCSI media changers
|
|
|
|
device da # Direct Access (disks)
|
|
|
|
device sa # Sequential Access (tape etc)
|
|
|
|
device cd # CD
|
|
|
|
device pass # Passthrough device (direct ATA/SCSI access)
|
|
|
|
device ses # Enclosure Services (SES and SAF-TE)
|
2014-09-28 14:39:11 +00:00
|
|
|
#device ctl # CAM Target Layer
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1999-01-18 08:38:08 +00:00
|
|
|
# keyboard driver
|
2014-09-28 14:25:46 +00:00
|
|
|
device pckbd # PC98 keyboard
|
1999-01-18 08:38:08 +00:00
|
|
|
|
2014-09-28 14:25:46 +00:00
|
|
|
device gdc # GDC screen
|
1999-01-18 08:38:08 +00:00
|
|
|
|
2014-09-28 14:25:46 +00:00
|
|
|
device splash # Splash screen and screen saver support
|
1999-01-18 08:38:08 +00:00
|
|
|
|
1999-11-13 14:04:49 +00:00
|
|
|
# syscons is the default console driver, resembling an SCO console
|
2002-08-20 00:10:22 +00:00
|
|
|
device sc
|
1996-06-14 10:04:54 +00:00
|
|
|
|
2014-09-28 14:25:46 +00:00
|
|
|
#device agp # support several AGP chipsets
|
2004-03-07 04:07:57 +00:00
|
|
|
|
2000-08-08 11:57:09 +00:00
|
|
|
# Power management support (see NOTES for more options)
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
#device apm
|
2001-10-24 14:46:40 +00:00
|
|
|
#device pmc
|
2003-02-03 14:46:26 +00:00
|
|
|
#device canbus
|
|
|
|
#device canbepm
|
2001-01-13 13:23:42 +00:00
|
|
|
# Add suspend/resume support for the i8254.
|
|
|
|
#device pmtimer
|
|
|
|
|
2005-09-27 13:10:24 +00:00
|
|
|
# PCCARD (PCMCIA) support
|
|
|
|
# PCMCIA and cardbus bridge support
|
2014-09-28 14:25:46 +00:00
|
|
|
device cbb # cardbus (yenta) bridge
|
|
|
|
device pccard # PC Card (16-bit) bus
|
|
|
|
device cardbus # CardBus (32-bit) bus
|
2005-09-27 13:10:24 +00:00
|
|
|
|
1999-08-28 16:49:58 +00:00
|
|
|
# Serial (COM) ports
|
2008-08-25 14:52:50 +00:00
|
|
|
#options COM_MULTIPORT
|
2014-09-28 14:25:46 +00:00
|
|
|
#options COM_ESP # ESP98
|
|
|
|
#device sio # 8250, 16[45]50, 8251 based serial ports
|
|
|
|
device uart # Generic UART driver
|
1996-06-14 10:04:54 +00:00
|
|
|
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
device mse
|
2001-01-13 13:23:42 +00:00
|
|
|
#device joy
|
1999-08-28 16:49:58 +00:00
|
|
|
|
2014-09-28 14:25:46 +00:00
|
|
|
# Parallel port
|
2010-01-03 04:38:38 +00:00
|
|
|
device ppc
|
2014-09-28 14:25:46 +00:00
|
|
|
device ppbus # Parallel port bus (required)
|
|
|
|
device lpt # Printer
|
|
|
|
device ppi # Parallel port interface device
|
|
|
|
#device vpo # Requires scbus and da
|
1999-06-18 14:48:28 +00:00
|
|
|
# OLD Parallel port
|
2012-02-09 14:00:49 +00:00
|
|
|
#device olpt
|
1996-06-14 10:04:54 +00:00
|
|
|
|
2014-09-28 14:39:11 +00:00
|
|
|
device puc # Multi I/O cards and multi-channel UARTs
|
|
|
|
|
1999-08-28 16:49:58 +00:00
|
|
|
# PCI Ethernet NICs.
|
2014-09-28 14:25:46 +00:00
|
|
|
device de # DEC/Intel DC21x4x (``Tulip'')
|
|
|
|
#device em # Intel PRO/1000 Gigabit Ethernet Family
|
|
|
|
device le # AMD Am7900 LANCE and Am79C9xx PCnet
|
|
|
|
#device ti # Alteon Networks Tigon I/II gigabit Ethernet
|
|
|
|
device txp # 3Com 3cR990 (``Typhoon'')
|
|
|
|
device vx # 3Com 3c590, 3c595 (``Vortex'')
|
1999-09-13 08:55:15 +00:00
|
|
|
|
|
|
|
# PCI Ethernet NICs that use the common MII bus controller code.
|
2000-11-05 14:31:19 +00:00
|
|
|
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
|
2014-09-28 14:25:46 +00:00
|
|
|
device miibus # MII bus support
|
|
|
|
device bfe # Broadcom BCM440x 10/100 Ethernet
|
|
|
|
#device bge # Broadcom BCM570xx Gigabit Ethernet
|
|
|
|
device dc # DEC/Intel 21143 and various workalikes
|
|
|
|
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
|
|
|
|
#device lge # Level 1 LXT1001 gigabit Ethernet
|
|
|
|
#device nge # NatSemi DP83820 gigabit Ethernet
|
|
|
|
device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le')
|
|
|
|
device re # RealTek 8139C+/8169/8169S/8110S
|
|
|
|
device rl # RealTek 8129/8139
|
|
|
|
device sf # Adaptec AIC-6915 (``Starfire'')
|
|
|
|
device sis # Silicon Integrated Systems SiS 900/SiS 7016
|
|
|
|
#device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
|
|
|
|
device ste # Sundance ST201 (D-Link DFE-550TX)
|
|
|
|
device tl # Texas Instruments ThunderLAN
|
|
|
|
device tx # SMC EtherPower II (83c170 ``EPIC'')
|
|
|
|
#device vge # VIA VT612x gigabit Ethernet
|
|
|
|
device vr # VIA Rhine, Rhine II
|
|
|
|
device wb # Winbond W89C840F
|
|
|
|
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
|
1996-06-14 10:04:54 +00:00
|
|
|
|
2004-01-30 13:15:42 +00:00
|
|
|
# ISA Ethernet NICs. pccard NICs included.
|
2001-09-16 05:34:34 +00:00
|
|
|
# 'device ed' requires 'device miibus'
|
2014-09-28 14:25:46 +00:00
|
|
|
device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
|
|
|
|
device ep # Etherlink III based cards
|
|
|
|
device fe # Fujitsu MB8696x based cards
|
|
|
|
device sn # SMC's 9000 series of Ethernet chips
|
2000-10-02 14:27:20 +00:00
|
|
|
device snc
|
2014-09-28 14:25:46 +00:00
|
|
|
device xe # Xircom pccard Ethernet
|
2000-01-03 07:12:56 +00:00
|
|
|
|
2001-01-13 13:23:42 +00:00
|
|
|
# Wireless NIC cards
|
2014-09-28 14:25:46 +00:00
|
|
|
#device wlan # 802.11 support
|
|
|
|
#options IEEE80211_DEBUG # enable debug msgs
|
2008-12-21 09:01:00 +00:00
|
|
|
#options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
|
2012-01-06 08:51:20 +00:00
|
|
|
options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
|
2014-09-28 14:25:46 +00:00
|
|
|
#device wlan_wep # 802.11 WEP support
|
|
|
|
#device wlan_ccmp # 802.11 CCMP support
|
|
|
|
#device wlan_tkip # 802.11 TKIP support
|
|
|
|
#device wlan_amrr # AMRR transmit rate control algorithm
|
|
|
|
#device an # Aironet 4500/4800 802.11 wireless NICs.
|
|
|
|
#device ath # Atheros NICs
|
|
|
|
#device ath_pci # Atheros pci/cardbus glue
|
|
|
|
#device ath_hal # pci/cardbus chip support
|
2012-01-06 08:51:20 +00:00
|
|
|
options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
|
2014-09-28 14:25:46 +00:00
|
|
|
#device ath_rate_sample # SampleRate tx rate control for ath
|
|
|
|
#device ral # Ralink Technology RT2500 wireless NICs.
|
|
|
|
#device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
|
|
|
|
#device wl # Older non 802.11 Wavelan wireless NIC.
|
2000-05-19 15:41:52 +00:00
|
|
|
|
2004-07-18 09:03:12 +00:00
|
|
|
# Pseudo devices.
|
2014-09-28 14:25:46 +00:00
|
|
|
device loop # Network loopback
|
|
|
|
device random # Entropy device
|
|
|
|
device ether # Ethernet support
|
|
|
|
device vlan # 802.1Q VLAN support
|
|
|
|
device tun # Packet tunnel.
|
|
|
|
device md # Memory "disks"
|
|
|
|
device gif # IPv6 and IPv4 tunneling
|
|
|
|
device firmware # firmware assist module
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
|
|
|
# The `bpf' device enables the Berkeley Packet Filter.
|
1999-08-08 11:09:28 +00:00
|
|
|
# Be aware of the administrative consequences of enabling this!
|
2005-03-18 15:24:00 +00:00
|
|
|
# Note that 'bpf' is required for DHCP.
|
2014-09-28 14:25:46 +00:00
|
|
|
device bpf # Berkeley packet filter
|
1999-08-29 09:12:54 +00:00
|
|
|
|
2009-02-23 18:34:56 +00:00
|
|
|
# USB support
|
2014-09-28 14:25:46 +00:00
|
|
|
#options USB_DEBUG # enable debug msgs
|
|
|
|
#device uhci # UHCI PCI->USB interface
|
|
|
|
#device ohci # OHCI PCI->USB interface
|
|
|
|
#device ehci # EHCI PCI->USB interface (USB 2.0)
|
|
|
|
#device usb # USB Bus (required)
|
|
|
|
#device ukbd # Keyboard
|
|
|
|
#device umass # Disks/Mass storage - Requires scbus and da
|
2011-06-13 13:24:33 +00:00
|
|
|
|
|
|
|
# Sound support
|
2014-09-28 14:25:46 +00:00
|
|
|
#device sound # Generic sound driver (required)
|
|
|
|
#device snd_mss # Microsoft Sound System
|
|
|
|
#device "snd_sb16" # Sound Blaster 16
|
|
|
|
#device snd_sbc # Sound Blaster
|
2015-07-04 17:37:00 +00:00
|
|
|
|
2015-07-14 10:47:56 +00:00
|
|
|
# The crypto framework is required by IPSEC
|
2015-07-04 17:37:00 +00:00
|
|
|
device crypto # Required by IPSEC
|