xref: /freebsd/sys/i386/conf/GENERIC (revision b3940a8730c6ddb8a7fa670e332b8f71b04419a3)
1677060b4SPoul-Henning Kamp#
229429ddeSWilko Bulte# GENERIC -- Generic kernel configuration file for FreeBSD/i386
3677060b4SPoul-Henning Kamp#
4d571daa0SJordan K. Hubbard# For more information on this file, please read the handbook section on
5d571daa0SJordan K. Hubbard# Kernel Configuration Files:
6d571daa0SJordan K. Hubbard#
7c0727dcbSMarc Fonvieille#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8d571daa0SJordan K. Hubbard#
9d571daa0SJordan K. Hubbard# The handbook is also available locally in /usr/share/doc/handbook
10d571daa0SJordan K. Hubbard# if you've installed the doc distribution, otherwise always see the
11214d1c55STim Vanderhoek# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12d571daa0SJordan K. Hubbard# latest information.
13677060b4SPoul-Henning Kamp#
148830dd31SWolfram Schneider# An exhaustive list of options and more detailed explanations of the
15dde04295SJohn Baldwin# device lines is also present in the ../../conf/NOTES and NOTES files.
16dde04295SJohn Baldwin# If you are in doubt as to the purpose or necessity of a line, check first
17dde04295SJohn Baldwin# in NOTES.
188830dd31SWolfram Schneider#
19c3aac50fSPeter Wemm# $FreeBSD$
20677060b4SPoul-Henning Kamp
215895e3c8SPeter Wemmmachine		i386
225895e3c8SPeter Wemmcpu		I486_CPU
235895e3c8SPeter Wemmcpu		I586_CPU
245895e3c8SPeter Wemmcpu		I686_CPU
25677060b4SPoul-Henning Kampident		GENERIC
26677060b4SPoul-Henning Kamp
272422dd79SPeter Wemm# To statically compile in device wiring instead of /boot/device.hints
28359ebc38SPeter Wemm#hints		"GENERIC.hints"		# Default places to look for devices.
29f71c01ccSPeter Wemm
30c5e70d92SDavid E. O'Brienmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
3111290483SPeter Wemm
32444ba945SScott Long#options 	SCHED_ULE		# ULE scheduler
334ef90982SScott Longoptions 	SCHED_4BSD		# 4BSD scheduler
34444ba945SScott Longoptions 	PREEMPTION		# Enable kernel thread preemption
35677060b4SPoul-Henning Kampoptions 	INET			# InterNETworking
360dab4916SJordan K. Hubbardoptions 	INET6			# IPv6 communications protocols
374525c93eSJordan K. Hubbardoptions 	FFS			# Berkeley Fast Filesystem
38bc265916SPeter Wemmoptions 	SOFTUPDATES		# Enable FFS soft updates support
39c7063e59SRobert Watsonoptions 	UFS_ACL			# Support for access control lists
401cb4661dSIan Dowseoptions 	UFS_DIRHASH		# Improve performance on big directories
4170c3f049SMark Murrayoptions 	MD_ROOT			# MD is a potential root device
42eb25edbdSPeter Wemmoptions 	NFSCLIENT		# Network Filesystem Client
43eb25edbdSPeter Wemmoptions 	NFSSERVER		# Network Filesystem Server
444b620ec0SDavid E. O'Brienoptions 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
45a788bdc4SDavid E. O'Brienoptions 	MSDOSFS			# MSDOS Filesystem
465895e3c8SPeter Wemmoptions 	CD9660			# ISO 9660 Filesystem
4740f0fe38SDag-Erling Smørgravoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
4840f0fe38SDag-Erling Smørgravoptions 	PSEUDOFS		# Pseudo-filesystem framework
49d1d9feacSMarcel Moolenaaroptions 	GEOM_GPT		# GUID Partition Tables.
505895e3c8SPeter Wemmoptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
51074453c2SAlfred Perlsteinoptions 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
5229429ddeSWilko Bulteoptions 	SCSI_DELAY=15000	# Delay (in ms) before probing SCSI
53621d865fSBruce Evansoptions 	KTRACE			# ktrace(1) support
541f06573dSPeter Wemmoptions 	SYSVSHM			# SYSV-style shared memory
551f06573dSPeter Wemmoptions 	SYSVMSG			# SYSV-style message queues
561f06573dSPeter Wemmoptions 	SYSVSEM			# SYSV-style semaphores
5708e33a7fSJens Schweikhardtoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
58558d6032SJohn Baldwinoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
5997145a37SJustin T. Gibbsoptions 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
6097145a37SJustin T. Gibbs					# output.  Adds ~128k to driver.
6197145a37SJustin T. Gibbsoptions 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
6297145a37SJustin T. Gibbs					# output.  Adds ~215k to driver.
63b505f47bSRobert Watsonoptions 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
64677060b4SPoul-Henning Kamp
65c5e70d92SDavid E. O'Brien# Debugging for use in -current
668bcb1e9eSMarcel Moolenaaroptions 	KDB			# Enable kernel debugger support.
678bcb1e9eSMarcel Moolenaaroptions 	DDB			# Support DDB.
688bcb1e9eSMarcel Moolenaaroptions 	GDB			# Support remote GDB.
69090905a5SDavid E. O'Brienoptions 	INVARIANTS		# Enable calls of extra sanity checking
70090905a5SDavid E. O'Brienoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
71ea0b7a76SJuli Mallettoptions 	WITNESS			# Enable checks to detect deadlocks and cycles
725d8e6357SAlfred Perlsteinoptions 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
73c5e70d92SDavid E. O'Brien
748fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed
754443619cSJohn Baldwinoptions 	SMP		# Symmetric MultiProcessor Kernel
764443619cSJohn Baldwindevice		apic		# I/O APIC
778fab58d8SPoul-Henning Kamp
7822391e15SWarner Losh# Bus support.  Do not remove isa, even if you have no isa slots
7922391e15SWarner Loshdevice		isa
80c9953c3bSPeter Wemmdevice		eisa
81b618108fSPeter Wemmdevice		pci
82677060b4SPoul-Henning Kamp
831f06573dSPeter Wemm# Floppy drives
84f71c01ccSPeter Wemmdevice		fdc
85677060b4SPoul-Henning Kamp
86a3fb836cSSøren Schmidt# ATA and ATAPI devices
87c9953c3bSPeter Wemmdevice		ata
88c9953c3bSPeter Wemmdevice		atadisk		# ATA disk drives
899250b177SSøren Schmidtdevice		ataraid		# ATA RAID drives
90c9953c3bSPeter Wemmdevice		atapicd		# ATAPI CDROM drives
91c9953c3bSPeter Wemmdevice		atapifd		# ATAPI floppy drives
92c9953c3bSPeter Wemmdevice		atapist		# ATAPI tape drives
93a3fb836cSSøren Schmidtoptions 	ATA_STATIC_ID	# Static device numbering
9461677ebbSDavid E. O'Brien
951f06573dSPeter Wemm# SCSI Controllers
96c9953c3bSPeter Wemmdevice		ahb		# EISA AHA1742 family
97c9953c3bSPeter Wemmdevice		ahc		# AHA2940 and onboard AIC7xxx devices
9897145a37SJustin T. Gibbsdevice		ahd		# AHA39320/29320 and onboard AIC79xx devices
99ff5fb8adSGregory Sutterdevice		amd		# AMD 53C974 (Tekram DC-390(T))
100c9953c3bSPeter Wemmdevice		isp		# Qlogic family
101b3940a87SMatt Jacob#device 	ispfw		# Firmware for QLogic HBAs- normally a module
1029b631363SMatt Jacobdevice		mpt		# LSI-Logic MPT-Fusion
103cf10fa4fSDavid E. O'Brien#device		ncr		# NCR/Symbios Logic
104cf10fa4fSDavid E. O'Briendevice		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
10547770b6fSOlivier Houcharddevice		trm		# Tekram DC395U/UW/F DC315U adapters
10610004708SJordan K. Hubbard
107ff5fb8adSGregory Sutterdevice		adv		# Advansys SCSI adapters
108ff5fb8adSGregory Sutterdevice		adw		# Advansys wide SCSI adapters
109ff5fb8adSGregory Sutterdevice		aha		# Adaptec 154x SCSI adapters
110ff5fb8adSGregory Sutterdevice		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
111ff5fb8adSGregory Sutterdevice		bt		# Buslogic/Mylex MultiMaster SCSI adapters
1120dd1eea1SJordan K. Hubbard
113ae94720dSNoriaki Mitsunagadevice		ncv		# NCR 53C500
114ae94720dSNoriaki Mitsunagadevice		nsp		# Workbit Ninja SCSI-3
115ae94720dSNoriaki Mitsunagadevice		stg		# TMC 18C30/18C50
116ae94720dSNoriaki Mitsunaga
1171f06573dSPeter Wemm# SCSI peripherals
118d196a108SJuli Mallettdevice		scbus		# SCSI bus (required for SCSI)
119aaeac4f6SMatt Jacobdevice		ch		# SCSI media changers
120c9953c3bSPeter Wemmdevice		da		# Direct Access (disks)
121c9953c3bSPeter Wemmdevice		sa		# Sequential Access (tape etc)
122c9953c3bSPeter Wemmdevice		cd		# CD
123c9953c3bSPeter Wemmdevice		pass		# Passthrough device (direct SCSI access)
124aaeac4f6SMatt Jacobdevice		ses		# SCSI Environmental Services (and SAF-TE)
125677060b4SPoul-Henning Kamp
1265fdcb0a6SScott Long# RAID controllers interfaced to the SCSI subsystem
1275fdcb0a6SScott Longdevice		amr		# AMI MegaRAID
1285fdcb0a6SScott Longdevice		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
1295fdcb0a6SScott Longdevice		ciss		# Compaq Smart RAID 5*
1305fdcb0a6SScott Longdevice		dpt		# DPT Smartcache III, IV - See NOTES for options
1315fdcb0a6SScott Longdevice		iir		# Intel Integrated RAID
1325fdcb0a6SScott Longdevice		ips		# IBM (Adaptec) ServeRAID
1335fdcb0a6SScott Longdevice		mly		# Mylex AcceleRAID/eXtremeRAID
13499635d6cSVinod Kashyapdevice		twa		# 3ware 9000 series PATA/SATA RAID
1355fdcb0a6SScott Long
136ff680471SDavid E. O'Brien# RAID controllers
13735863739SMike Smithdevice		aac		# Adaptec FSA RAID
138fe3cb0e1SScott Longdevice		aacp		# SCSI passthrough for aac (requires CAM)
13953501555SWarner Loshdevice		ida		# Compaq Smart RAID
140ff680471SDavid E. O'Briendevice		mlx		# Mylex DAC960 family
1414c2c25d4SSøren Schmidtdevice		pst		# Promise Supertrak SX6000
1425f3dac9cSMike Smithdevice		twe		# 3ware ATA RAID
143ff680471SDavid E. O'Brien
14423f7bd17SBrian Somers# atkbdc0 controls both the keyboard and the PS/2 mouse
145f453022cSPeter Wemmdevice		atkbdc		# AT keyboard controller
146dde04295SJohn Baldwindevice		atkbd		# AT keyboard
147dde04295SJohn Baldwindevice		psm		# PS/2 mouse
1482ad872c5SKazutaka YOKOTA
149dde04295SJohn Baldwindevice		vga		# VGA video card driver
1502ad872c5SKazutaka YOKOTA
151dde04295SJohn Baldwindevice		splash		# Splash screen and screen saver support
1522ad872c5SKazutaka YOKOTA
153c19da41eSPeter Wemm# syscons is the default console driver, resembling an SCO console
154f453022cSPeter Wemmdevice		sc
1555895e3c8SPeter Wemm
156afb8931fSHellmuth Michaelis# Enable this for the pcvt (VT220 compatible) console driver
157f71c01ccSPeter Wemm#device		vt
158528b8853SKazutaka YOKOTA#options 	XSERVER		# support for X server on a vt console
159c19da41eSPeter Wemm#options 	FAT_CURSOR	# start with block cursor
160c851c2f0SJoerg Wunsch
1612690c0bbSEric Anholtdevice		agp		# support several AGP chipsets
1622690c0bbSEric Anholt
1631f06573dSPeter Wemm# Floating point support - do not disable.
164f71c01ccSPeter Wemmdevice		npx
165677060b4SPoul-Henning Kamp
16678a40870SBill Fumerola# Power management support (see NOTES for more options)
1678d03e1e9SMark Murray#device		apm
168e655ea71SWarner Losh# Add suspend/resume support for the i8254.
169e655ea71SWarner Loshdevice		pmtimer
1703d4d8fe9SPoul-Henning Kamp
17192d38a13SNate Williams# PCCARD (PCMCIA) support
17208e33a7fSJens Schweikhardt# PCMCIA and cardbus bridge support
1736319263dSWarner Loshdevice		cbb		# cardbus (yenta) bridge
17422c0046fSWarner Loshdevice		pccard		# PC Card (16-bit) bus
17522c0046fSWarner Loshdevice		cardbus		# CardBus (32-bit) bus
176e597b497SNate Williams
1771f06573dSPeter Wemm# Serial (COM) ports
17830cb2a0dSWarner Loshdevice		sio		# 8250, 16[45]50 based serial ports
179677060b4SPoul-Henning Kamp
18004e83575SJoseph Koshy# Parallel port
181f71c01ccSPeter Wemmdevice		ppc
182c9953c3bSPeter Wemmdevice		ppbus		# Parallel port bus (required)
1830d31b179SPeter Wemmdevice		lpt		# Printer
1840d31b179SPeter Wemmdevice		plip		# TCP/IP over parallel
1850d31b179SPeter Wemmdevice		ppi		# Parallel port interface device
1860d31b179SPeter Wemm#device		vpo		# Requires scbus and da
187677060b4SPoul-Henning Kamp
1889678710bSJoerg Wunsch# If you've got a "dumb" serial or parallel PCI card that is
1899678710bSJoerg Wunsch# supported by the puc(4) glue driver, uncomment the following
1909678710bSJoerg Wunsch# line to enable it (connects to the sio and/or ppc drivers):
1919678710bSJoerg Wunsch#device         puc
19223e4757cSBill Paul
1931f06573dSPeter Wemm# PCI Ethernet NICs.
194c9953c3bSPeter Wemmdevice		de		# DEC/Intel DC21x4x (``Tulip'')
19569d18565SDavid E. O'Briendevice		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
196e03f8cdcSTony Ackermandevice		ixgb		# Intel PRO/10GbE Ethernet Card
197362c5c1eSBill Pauldevice		txp		# 3Com 3cR990 (``Typhoon'')
198090905a5SDavid E. O'Briendevice		vx		# 3Com 3c590, 3c595 (``Vortex'')
199c6a5d1a6SPeter Wemm
200c6a5d1a6SPeter Wemm# PCI Ethernet NICs that use the common MII bus controller code.
201f94a808cSNik Clayton# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
202c9953c3bSPeter Wemmdevice		miibus		# MII bus support
2034e744b5eSDavid E. O'Briendevice		bfe		# Broadcom BCM440x 10/100 Ethernet
2043fc40c24SDavid E. O'Briendevice		bge		# Broadcom BCM570xx Gigabit Ethernet
205c9953c3bSPeter Wemmdevice		dc		# DEC/Intel 21143 and various workalikes
2064664a8d5SJonathan Lemondevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
207a07bd003SBill Pauldevice		lge		# Level 1 LXT1001 gigabit ethernet
208a07bd003SBill Pauldevice		nge		# NatSemi DP83820 gigabit ethernet
209f31d7a57SDavid E. O'Briendevice		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'lnc')
210a94100faSBill Pauldevice		re		# RealTek 8139C+/8169/8169S/8110S
211c9953c3bSPeter Wemmdevice		rl		# RealTek 8129/8139
212c9953c3bSPeter Wemmdevice		sf		# Adaptec AIC-6915 (``Starfire'')
213c9953c3bSPeter Wemmdevice		sis		# Silicon Integrated Systems SiS 900/SiS 7016
2144e744b5eSDavid E. O'Briendevice		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
215c9953c3bSPeter Wemmdevice		ste		# Sundance ST201 (D-Link DFE-550TX)
2164e744b5eSDavid E. O'Briendevice		ti		# Alteon Networks Tigon I/II gigabit Ethernet
217c9953c3bSPeter Wemmdevice		tl		# Texas Instruments ThunderLAN
218600ae3ddSSemen Ustimenkodevice		tx		# SMC EtherPower II (83c170 ``EPIC'')
219a07bd003SBill Pauldevice		vge		# VIA VT612x gigabit ethernet
220c9953c3bSPeter Wemmdevice		vr		# VIA Rhine, Rhine II
221c9953c3bSPeter Wemmdevice		wb		# Winbond W89C840F
222c9953c3bSPeter Wemmdevice		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
22329c6a10bSGarrett Wollman
22408e33a7fSJens Schweikhardt# ISA Ethernet NICs.  pccard NICs included.
22530cb2a0dSWarner Loshdevice		cs		# Crystal Semiconductor CS89x0 NIC
226f2fdbb57SWarner Losh# 'device ed' requires 'device miibus'
22730cb2a0dSWarner Loshdevice		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
22830cb2a0dSWarner Loshdevice		ex		# Intel EtherExpress Pro/10 and Pro/10+
22930cb2a0dSWarner Loshdevice		ep		# Etherlink III based cards
23030cb2a0dSWarner Loshdevice		fe		# Fujitsu MB8696x based cards
23150e960d9SMatthew N. Dodddevice		ie		# EtherExpress 8/16, 3C507, StarLAN 10 etc.
2328f3a0dd4SWarner Loshdevice		lnc		# NE2100, NE32-VL Lance Ethernet cards
2334e744b5eSDavid E. O'Briendevice		sn		# SMC's 9000 series of Ethernet chips
2344e744b5eSDavid E. O'Briendevice		xe		# Xircom pccard Ethernet
23553501555SWarner Losh
2360ef2717bSRobert Watson# ISA devices that use the old ISA shims
237d008d67eSPeter Wemm#device		le
2381f06573dSPeter Wemm
23930cb2a0dSWarner Losh# Wireless NIC cards
24018bf5d2bSSam Lefflerdevice		wlan		# 802.11 support
24130cb2a0dSWarner Loshdevice		an		# Aironet 4500/4800 802.11 wireless NICs.
24230cb2a0dSWarner Loshdevice		awi		# BayStack 660 and others
24366905408SWarner Loshdevice		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
24430cb2a0dSWarner Losh#device		wl		# Older non 802.11 Wavelan wireless NIC.
24530cb2a0dSWarner Losh
246aa355a26SMaxim Konovalov# Pseudo devices.
247f71c01ccSPeter Wemmdevice		loop		# Network loopback
2488ab2f5ecSMark Murraydevice		mem		# Memory and kernel memory devices
249b6527a36SMark Murraydevice		io		# I/O device
2508ab2f5ecSMark Murraydevice		random		# Entropy device
251f71c01ccSPeter Wemmdevice		ether		# Ethernet support
252f71c01ccSPeter Wemmdevice		sl		# Kernel SLIP
25305c872adSBrooks Davisdevice		ppp		# Kernel PPP
254f71c01ccSPeter Wemmdevice		tun		# Packet tunnel.
255f71c01ccSPeter Wemmdevice		pty		# Pseudo-ttys (telnet etc)
256f71c01ccSPeter Wemmdevice		md		# Memory "disks"
25753dab5feSBrooks Davisdevice		gif		# IPv6 and IPv4 tunneling
2582f653328SBrooks Davisdevice		faith		# IPv6-to-IPv4 relaying (translation)
259c683ac7cSJoerg Wunsch
260f71c01ccSPeter Wemm# The `bpf' device enables the Berkeley Packet Filter.
2610a729622SJordan K. Hubbard# Be aware of the administrative consequences of enabling this!
262f71c01ccSPeter Wemmdevice		bpf		# Berkeley packet filter
2630cec007cSNick Hibma
2640cec007cSNick Hibma# USB support
265558d6032SJohn Baldwindevice		uhci		# UHCI PCI->USB interface
266558d6032SJohn Baldwindevice		ohci		# OHCI PCI->USB interface
267558d6032SJohn Baldwindevice		usb		# USB Bus (required)
268b5ea1f0cSNick Hibma#device		udbp		# USB Double Bulk Pipe devices
269558d6032SJohn Baldwindevice		ugen		# Generic
270558d6032SJohn Baldwindevice		uhid		# "Human Interface Devices"
271558d6032SJohn Baldwindevice		ukbd		# Keyboard
272558d6032SJohn Baldwindevice		ulpt		# Printer
273558d6032SJohn Baldwindevice		umass		# Disks/Mass storage - Requires scbus and da
274558d6032SJohn Baldwindevice		ums		# Mouse
275558d6032SJohn Baldwindevice		urio		# Diamond Rio 500 MP3 player
2762fd84f56SNick Hibmadevice		uscanner	# Scanners
277418a4537SNick Hibma# USB Ethernet, requires mii
2784e744b5eSDavid E. O'Briendevice		aue		# ADMtek USB Ethernet
2794e744b5eSDavid E. O'Briendevice		axe		# ASIX Electronics USB Ethernet
2804e744b5eSDavid E. O'Briendevice		cue		# CATC USB Ethernet
2814e744b5eSDavid E. O'Briendevice		kue		# Kawasaki LSI USB Ethernet
2824e744b5eSDavid E. O'Briendevice		rue		# RealTek RTL8150 USB Ethernet
283092cd06fSHidetoshi Shimokawa
284092cd06fSHidetoshi Shimokawa# FireWire support
285092cd06fSHidetoshi Shimokawadevice		firewire	# FireWire bus code
286092cd06fSHidetoshi Shimokawadevice		sbp		# SCSI over FireWire (Requires scbus and da)
287092cd06fSHidetoshi Shimokawadevice		fwe		# Ethernet over FireWire (non-standard!)
288