xref: /freebsd/sys/i386/conf/GENERIC (revision 4c2c25d4052c81e1356d35e9833de230c3263fa1)
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
2666a11b9fSMatthew Dillonmaxusers	0
27677060b4SPoul-Henning Kamp
282422dd79SPeter Wemm#To statically compile in device wiring instead of /boot/device.hints
29359ebc38SPeter Wemm#hints		"GENERIC.hints"		#Default places to look for devices.
30f71c01ccSPeter Wemm
31c5e70d92SDavid E. O'Brienmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
3211290483SPeter Wemm
33677060b4SPoul-Henning Kampoptions 	INET			#InterNETworking
340dab4916SJordan K. Hubbardoptions 	INET6			#IPv6 communications protocols
354525c93eSJordan K. Hubbardoptions 	FFS			#Berkeley Fast Filesystem
36bc265916SPeter Wemmoptions 	SOFTUPDATES		#Enable FFS soft updates support
371cb4661dSIan Dowseoptions 	UFS_DIRHASH		#Improve performance on big directories
3870c3f049SMark Murrayoptions 	MD_ROOT			#MD is a potential root device
39eb25edbdSPeter Wemmoptions 	NFSCLIENT		#Network Filesystem Client
40eb25edbdSPeter Wemmoptions 	NFSSERVER		#Network Filesystem Server
4122374865SChris D. Faulhaberoptions 	NFS_ROOT		#NFS usable as root device, requires NFSCLIENT
42a788bdc4SDavid E. O'Brienoptions 	MSDOSFS			#MSDOS Filesystem
435895e3c8SPeter Wemmoptions 	CD9660			#ISO 9660 Filesystem
4440f0fe38SDag-Erling Smørgravoptions 	PROCFS			#Process filesystem (requires PSEUDOFS)
4540f0fe38SDag-Erling Smørgravoptions 	PSEUDOFS		#Pseudo-filesystem framework
465895e3c8SPeter Wemmoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
47074453c2SAlfred Perlsteinoptions 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
4829429ddeSWilko Bulteoptions 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
49621d865fSBruce Evansoptions 	KTRACE			#ktrace(1) support
501f06573dSPeter Wemmoptions 	SYSVSHM			#SYSV-style shared memory
511f06573dSPeter Wemmoptions 	SYSVMSG			#SYSV-style message queues
521f06573dSPeter Wemmoptions 	SYSVSEM			#SYSV-style semaphores
53aec5a3b3SJeroen Ruigrok van der Wervenoptions 	P1003_1B		#Posix P1003_1B real-time extensions
54c5954134SJordan K. Hubbardoptions 	_KPOSIX_PRIORITY_SCHEDULING
55558d6032SJohn Baldwinoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
5697145a37SJustin T. Gibbsoptions 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
5797145a37SJustin T. Gibbs					# output.  Adds ~128k to driver.
5897145a37SJustin T. Gibbsoptions 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
5997145a37SJustin T. Gibbs					# output.  Adds ~215k to driver.
60677060b4SPoul-Henning Kamp
61c5e70d92SDavid E. O'Brien# Debugging for use in -current
62090905a5SDavid E. O'Brienoptions 	DDB			#Enable the kernel debugger
63090905a5SDavid E. O'Brienoptions 	INVARIANTS		#Enable calls of extra sanity checking
64090905a5SDavid E. O'Brienoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
65ea0b7a76SJuli Mallettoptions 	WITNESS			#Enable checks to detect deadlocks and cycles
665d8e6357SAlfred Perlsteinoptions 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
67c5e70d92SDavid E. O'Brien
688fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed
698fab58d8SPoul-Henning Kamp#options 	SMP			# Symmetric MultiProcessor Kernel
708fab58d8SPoul-Henning Kamp#options 	APIC_IO			# Symmetric (APIC) I/O
718fab58d8SPoul-Henning Kamp
72c9953c3bSPeter Wemmdevice		isa
73c9953c3bSPeter Wemmdevice		eisa
74b618108fSPeter Wemmdevice		pci
75677060b4SPoul-Henning Kamp
761f06573dSPeter Wemm# Floppy drives
77f71c01ccSPeter Wemmdevice		fdc
78677060b4SPoul-Henning Kamp
79a3fb836cSSøren Schmidt# ATA and ATAPI devices
80c9953c3bSPeter Wemmdevice		ata
81c9953c3bSPeter Wemmdevice		atadisk			# ATA disk drives
82c9953c3bSPeter Wemmdevice		atapicd			# ATAPI CDROM drives
83c9953c3bSPeter Wemmdevice		atapifd			# ATAPI floppy drives
84c9953c3bSPeter Wemmdevice		atapist			# ATAPI tape drives
85a3fb836cSSøren Schmidtoptions 	ATA_STATIC_ID		#Static device numbering
8661677ebbSDavid E. O'Brien
871f06573dSPeter Wemm# SCSI Controllers
88c9953c3bSPeter Wemmdevice		ahb		# EISA AHA1742 family
89c9953c3bSPeter Wemmdevice		ahc		# AHA2940 and onboard AIC7xxx devices
9097145a37SJustin T. Gibbsdevice		ahd		# AHA39320/29320 and onboard AIC79xx devices
91ff5fb8adSGregory Sutterdevice		amd		# AMD 53C974 (Tekram DC-390(T))
92c9953c3bSPeter Wemmdevice		isp		# Qlogic family
939b631363SMatt Jacobdevice		mpt		# LSI-Logic MPT-Fusion
94cf10fa4fSDavid E. O'Brien#device		ncr		# NCR/Symbios Logic
95cf10fa4fSDavid E. O'Briendevice		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
9610004708SJordan K. Hubbard
97ff5fb8adSGregory Sutterdevice		adv		# Advansys SCSI adapters
98ff5fb8adSGregory Sutterdevice		adw		# Advansys wide SCSI adapters
99ff5fb8adSGregory Sutterdevice		aha		# Adaptec 154x SCSI adapters
100ff5fb8adSGregory Sutterdevice		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
101ff5fb8adSGregory Sutterdevice		bt		# Buslogic/Mylex MultiMaster SCSI adapters
1020dd1eea1SJordan K. Hubbard
103ae94720dSNoriaki Mitsunagadevice		ncv		# NCR 53C500
104ae94720dSNoriaki Mitsunagadevice		nsp		# Workbit Ninja SCSI-3
105ae94720dSNoriaki Mitsunagadevice		stg		# TMC 18C30/18C50
106ae94720dSNoriaki Mitsunaga
107153cbcc3SMike Smith# RAID controllers interfaced to the SCSI subsystem
108ef137fd3SMike Smithdevice		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
109a245737cSMike Smithdevice		ciss		# Compaq Smart RAID 5*
110ef137fd3SMike Smithdevice		dpt		# DPT Smartcache III, IV - See NOTES for options!
111a245737cSMike Smithdevice		iir		# Intel Integrated RAID
112153cbcc3SMike Smithdevice		mly		# Mylex AcceleRAID/eXtremeRAID
113153cbcc3SMike Smith
1141f06573dSPeter Wemm# SCSI peripherals
115c9953c3bSPeter Wemmdevice		scbus		# SCSI bus (required)
116aaeac4f6SMatt Jacobdevice		ch		# SCSI media changers
117c9953c3bSPeter Wemmdevice		da		# Direct Access (disks)
118c9953c3bSPeter Wemmdevice		sa		# Sequential Access (tape etc)
119c9953c3bSPeter Wemmdevice		cd		# CD
120c9953c3bSPeter Wemmdevice		pass		# Passthrough device (direct SCSI access)
121aaeac4f6SMatt Jacobdevice		ses		# SCSI Environmental Services (and SAF-TE)
122677060b4SPoul-Henning Kamp
123ff680471SDavid E. O'Brien# RAID controllers
12435863739SMike Smithdevice		aac		# Adaptec FSA RAID
125fe3cb0e1SScott Longdevice		aacp		# SCSI passthrough for aac (requires CAM)
126ff680471SDavid E. O'Briendevice		amr		# AMI MegaRAID
12753501555SWarner Loshdevice		ida		# Compaq Smart RAID
128ff680471SDavid E. O'Briendevice		mlx		# Mylex DAC960 family
1294c2c25d4SSøren Schmidtdevice		pst		# Promise Supertrak SX6000
1305f3dac9cSMike Smithdevice		twe		# 3ware ATA RAID
131ff680471SDavid E. O'Brien
13223f7bd17SBrian Somers# atkbdc0 controls both the keyboard and the PS/2 mouse
133f453022cSPeter Wemmdevice		atkbdc		# AT keyboard controller
134dde04295SJohn Baldwindevice		atkbd		# AT keyboard
135dde04295SJohn Baldwindevice		psm		# PS/2 mouse
1362ad872c5SKazutaka YOKOTA
137dde04295SJohn Baldwindevice		vga		# VGA video card driver
1382ad872c5SKazutaka YOKOTA
139dde04295SJohn Baldwindevice		splash		# Splash screen and screen saver support
1402ad872c5SKazutaka YOKOTA
141c19da41eSPeter Wemm# syscons is the default console driver, resembling an SCO console
142f453022cSPeter Wemmdevice		sc
1435895e3c8SPeter Wemm
144afb8931fSHellmuth Michaelis# Enable this for the pcvt (VT220 compatible) console driver
145f71c01ccSPeter Wemm#device		vt
146528b8853SKazutaka YOKOTA#options 	XSERVER			# support for X server on a vt console
147c19da41eSPeter Wemm#options 	FAT_CURSOR		# start with block cursor
148c851c2f0SJoerg Wunsch
1492690c0bbSEric Anholtdevice		agp		# support several AGP chipsets
1502690c0bbSEric Anholt
1511f06573dSPeter Wemm# Floating point support - do not disable.
152f71c01ccSPeter Wemmdevice		npx
153677060b4SPoul-Henning Kamp
15478a40870SBill Fumerola# Power management support (see NOTES for more options)
1558d03e1e9SMark Murray#device		apm
156e655ea71SWarner Losh# Add suspend/resume support for the i8254.
157e655ea71SWarner Loshdevice		pmtimer
1583d4d8fe9SPoul-Henning Kamp
15992d38a13SNate Williams# PCCARD (PCMCIA) support
16022c0046fSWarner Losh# Pcmcia and cardbus bridge support
1616319263dSWarner Loshdevice		cbb			# cardbus (yenta) bridge
16222c0046fSWarner Losh#device		pcic			# ExCA ISA and PCI bridges
16322c0046fSWarner Loshdevice		pccard			# PC Card (16-bit) bus
16422c0046fSWarner Loshdevice		cardbus			# CardBus (32-bit) bus
165e597b497SNate Williams
1661f06573dSPeter Wemm# Serial (COM) ports
16730cb2a0dSWarner Loshdevice		sio		# 8250, 16[45]50 based serial ports
168677060b4SPoul-Henning Kamp
16904e83575SJoseph Koshy# Parallel port
170f71c01ccSPeter Wemmdevice		ppc
171c9953c3bSPeter Wemmdevice		ppbus		# Parallel port bus (required)
1720d31b179SPeter Wemmdevice		lpt		# Printer
1730d31b179SPeter Wemmdevice		plip		# TCP/IP over parallel
1740d31b179SPeter Wemmdevice		ppi		# Parallel port interface device
1750d31b179SPeter Wemm#device		vpo		# Requires scbus and da
176677060b4SPoul-Henning Kamp
17723e4757cSBill Paul
1781f06573dSPeter Wemm# PCI Ethernet NICs.
179c9953c3bSPeter Wemmdevice		de		# DEC/Intel DC21x4x (``Tulip'')
18069d18565SDavid E. O'Briendevice		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
181362c5c1eSBill Pauldevice		txp		# 3Com 3cR990 (``Typhoon'')
182090905a5SDavid E. O'Briendevice		vx		# 3Com 3c590, 3c595 (``Vortex'')
183c6a5d1a6SPeter Wemm
184c6a5d1a6SPeter Wemm# PCI Ethernet NICs that use the common MII bus controller code.
185f94a808cSNik Clayton# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
186c9953c3bSPeter Wemmdevice		miibus		# MII bus support
187c9953c3bSPeter Wemmdevice		dc		# DEC/Intel 21143 and various workalikes
1884664a8d5SJonathan Lemondevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
189f31d7a57SDavid E. O'Briendevice		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'lnc')
190c9953c3bSPeter Wemmdevice		rl		# RealTek 8129/8139
191c9953c3bSPeter Wemmdevice		sf		# Adaptec AIC-6915 (``Starfire'')
192c9953c3bSPeter Wemmdevice		sis		# Silicon Integrated Systems SiS 900/SiS 7016
193c9953c3bSPeter Wemmdevice		ste		# Sundance ST201 (D-Link DFE-550TX)
194c9953c3bSPeter Wemmdevice		tl		# Texas Instruments ThunderLAN
195600ae3ddSSemen Ustimenkodevice		tx		# SMC EtherPower II (83c170 ``EPIC'')
196c9953c3bSPeter Wemmdevice		vr		# VIA Rhine, Rhine II
197c9953c3bSPeter Wemmdevice		wb		# Winbond W89C840F
198c9953c3bSPeter Wemmdevice		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
19929c6a10bSGarrett Wollman
20030cb2a0dSWarner Losh# ISA Ethernet NICs.  pccard nics included.
20130cb2a0dSWarner Loshdevice		cs		# Crystal Semiconductor CS89x0 NIC
202f2fdbb57SWarner Losh# 'device ed' requires 'device miibus'
20330cb2a0dSWarner Loshdevice		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
20430cb2a0dSWarner Loshdevice		ex		# Intel EtherExpress Pro/10 and Pro/10+
20530cb2a0dSWarner Loshdevice		ep		# Etherlink III based cards
20630cb2a0dSWarner Loshdevice		fe		# Fujitsu MB8696x based cards
2078f3a0dd4SWarner Loshdevice		lnc		# NE2100, NE32-VL Lance Ethernet cards
20830cb2a0dSWarner Loshdevice		sn		# SMC's 9000 series of ethernet chips
20930cb2a0dSWarner Loshdevice		xe		# Xircom pccard ethernet
21053501555SWarner Losh
2110ef2717bSRobert Watson# ISA devices that use the old ISA shims
212d008d67eSPeter Wemm#device		le
2131f06573dSPeter Wemm
21430cb2a0dSWarner Losh# Wireless NIC cards
21530cb2a0dSWarner Loshdevice		an		# Aironet 4500/4800 802.11 wireless NICs.
21630cb2a0dSWarner Loshdevice		awi		# BayStack 660 and others
21766905408SWarner Loshdevice		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
21830cb2a0dSWarner Losh#device		wl		# Older non 802.11 Wavelan wireless NIC.
21930cb2a0dSWarner Losh
220ff5fb8adSGregory Sutter# Pseudo devices - the number indicates how many units to allocate.
221ac519db0SMark Murraydevice		random		# Entropy device
222f71c01ccSPeter Wemmdevice		loop		# Network loopback
223f71c01ccSPeter Wemmdevice		ether		# Ethernet support
224f71c01ccSPeter Wemmdevice		sl		# Kernel SLIP
22505c872adSBrooks Davisdevice		ppp		# Kernel PPP
226f71c01ccSPeter Wemmdevice		tun		# Packet tunnel.
227f71c01ccSPeter Wemmdevice		pty		# Pseudo-ttys (telnet etc)
228f71c01ccSPeter Wemmdevice		md		# Memory "disks"
22953dab5feSBrooks Davisdevice		gif		# IPv6 and IPv4 tunneling
2302f653328SBrooks Davisdevice		faith		# IPv6-to-IPv4 relaying (translation)
231c683ac7cSJoerg Wunsch
232f71c01ccSPeter Wemm# The `bpf' device enables the Berkeley Packet Filter.
2330a729622SJordan K. Hubbard# Be aware of the administrative consequences of enabling this!
234f71c01ccSPeter Wemmdevice		bpf		# Berkeley packet filter
2350cec007cSNick Hibma
2360cec007cSNick Hibma# USB support
237558d6032SJohn Baldwindevice		uhci		# UHCI PCI->USB interface
238558d6032SJohn Baldwindevice		ohci		# OHCI PCI->USB interface
239558d6032SJohn Baldwindevice		usb		# USB Bus (required)
240b5ea1f0cSNick Hibma#device		udbp		# USB Double Bulk Pipe devices
241558d6032SJohn Baldwindevice		ugen		# Generic
242558d6032SJohn Baldwindevice		uhid		# "Human Interface Devices"
243558d6032SJohn Baldwindevice		ukbd		# Keyboard
244558d6032SJohn Baldwindevice		ulpt		# Printer
245558d6032SJohn Baldwindevice		umass		# Disks/Mass storage - Requires scbus and da
246558d6032SJohn Baldwindevice		ums		# Mouse
247558d6032SJohn Baldwindevice		urio		# Diamond Rio 500 MP3 player
2482fd84f56SNick Hibmadevice		uscanner	# Scanners
249418a4537SNick Hibma# USB Ethernet, requires mii
250558d6032SJohn Baldwindevice		aue		# ADMtek USB ethernet
251558d6032SJohn Baldwindevice		cue		# CATC USB ethernet
252558d6032SJohn Baldwindevice		kue		# Kawasaki LSI USB ethernet
253