xref: /freebsd/sys/i386/conf/GENERIC (revision a245737c511a4986ad7b560899115a18e4f29bd7)
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#
7214d1c55STim Vanderhoek#    http://www.FreeBSD.org/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
1578a40870SBill Fumerola# device lines is also present in the NOTES configuration file. If you are
1678a40870SBill Fumerola# in doubt as to the purpose or necessity of a line, check first in NOTES.
178830dd31SWolfram Schneider#
18c3aac50fSPeter Wemm# $FreeBSD$
19677060b4SPoul-Henning Kamp
205895e3c8SPeter Wemmmachine		i386
215895e3c8SPeter Wemmcpu		I486_CPU
225895e3c8SPeter Wemmcpu		I586_CPU
235895e3c8SPeter Wemmcpu		I686_CPU
24677060b4SPoul-Henning Kampident		GENERIC
2566a11b9fSMatthew Dillonmaxusers	0
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
32677060b4SPoul-Henning Kampoptions 	INET			#InterNETworking
330dab4916SJordan K. Hubbardoptions 	INET6			#IPv6 communications protocols
344525c93eSJordan K. Hubbardoptions 	FFS			#Berkeley Fast Filesystem
35bc265916SPeter Wemmoptions 	SOFTUPDATES		#Enable FFS soft updates support
361cb4661dSIan Dowseoptions 	UFS_DIRHASH		#Improve performance on big directories
3770c3f049SMark Murrayoptions 	MD_ROOT			#MD is a potential root device
38eb25edbdSPeter Wemmoptions 	NFSCLIENT		#Network Filesystem Client
39eb25edbdSPeter Wemmoptions 	NFSSERVER		#Network Filesystem Server
4022374865SChris D. Faulhaberoptions 	NFS_ROOT		#NFS usable as root device, requires NFSCLIENT
41a788bdc4SDavid E. O'Brienoptions 	MSDOSFS			#MSDOS Filesystem
425895e3c8SPeter Wemmoptions 	CD9660			#ISO 9660 Filesystem
4340f0fe38SDag-Erling Smørgravoptions 	PROCFS			#Process filesystem (requires PSEUDOFS)
4440f0fe38SDag-Erling Smørgravoptions 	PSEUDOFS		#Pseudo-filesystem framework
455895e3c8SPeter Wemmoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
4629429ddeSWilko Bulteoptions 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
470dd1eea1SJordan K. Hubbardoptions 	UCONSOLE		#Allow users to grab the console
482398f0cdSPeter Wemm#options 	USERCONFIG		#boot -c editor
492398f0cdSPeter Wemm#options 	VISUAL_USERCONFIG	#visual boot -c editor
50621d865fSBruce Evansoptions 	KTRACE			#ktrace(1) support
511f06573dSPeter Wemmoptions 	SYSVSHM			#SYSV-style shared memory
521f06573dSPeter Wemmoptions 	SYSVMSG			#SYSV-style message queues
531f06573dSPeter Wemmoptions 	SYSVSEM			#SYSV-style semaphores
54aec5a3b3SJeroen Ruigrok van der Wervenoptions 	P1003_1B		#Posix P1003_1B real-time extensions
55c5954134SJordan K. Hubbardoptions 	_KPOSIX_PRIORITY_SCHEDULING
56558d6032SJohn Baldwinoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
57677060b4SPoul-Henning Kamp
58c5e70d92SDavid E. O'Brien# Debugging for use in -current
59090905a5SDavid E. O'Brienoptions 	DDB			#Enable the kernel debugger
60090905a5SDavid E. O'Brienoptions 	INVARIANTS		#Enable calls of extra sanity checking
61090905a5SDavid E. O'Brienoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
62090905a5SDavid E. O'Brienoptions 	WITNESS			#Enable mutex checks to detects deadlocks and cycles
63c5e70d92SDavid E. O'Brien
648fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed
658fab58d8SPoul-Henning Kamp#options 	SMP			# Symmetric MultiProcessor Kernel
668fab58d8SPoul-Henning Kamp#options 	APIC_IO			# Symmetric (APIC) I/O
678fab58d8SPoul-Henning Kamp
68c9953c3bSPeter Wemmdevice		isa
69c9953c3bSPeter Wemmdevice		eisa
70c9953c3bSPeter Wemmdevice		pci
71ae4da688SJonathan Lemon#options 	PCI_ENABLE_IO_MODES	# Enable pci resources left off by a "lazy BIOS"
72677060b4SPoul-Henning Kamp
731f06573dSPeter Wemm# Floppy drives
74f71c01ccSPeter Wemmdevice		fdc
75677060b4SPoul-Henning Kamp
76a3fb836cSSøren Schmidt# ATA and ATAPI devices
77c9953c3bSPeter Wemmdevice		ata
78c9953c3bSPeter Wemmdevice		atadisk			# ATA disk drives
79c9953c3bSPeter Wemmdevice		atapicd			# ATAPI CDROM drives
80c9953c3bSPeter Wemmdevice		atapifd			# ATAPI floppy drives
81c9953c3bSPeter Wemmdevice		atapist			# ATAPI tape drives
82a3fb836cSSøren Schmidtoptions 	ATA_STATIC_ID		#Static device numbering
8361677ebbSDavid E. O'Brien
841f06573dSPeter Wemm# SCSI Controllers
85c9953c3bSPeter Wemmdevice		ahb		# EISA AHA1742 family
86c9953c3bSPeter Wemmdevice		ahc		# AHA2940 and onboard AIC7xxx devices
87ff5fb8adSGregory Sutterdevice		amd		# AMD 53C974 (Tekram DC-390(T))
88c9953c3bSPeter Wemmdevice		isp		# Qlogic family
89cf10fa4fSDavid E. O'Brien#device		ncr		# NCR/Symbios Logic
90cf10fa4fSDavid E. O'Briendevice		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
9110004708SJordan K. Hubbard
92ff5fb8adSGregory Sutterdevice		adv		# Advansys SCSI adapters
93ff5fb8adSGregory Sutterdevice		adw		# Advansys wide SCSI adapters
94ff5fb8adSGregory Sutterdevice		aha		# Adaptec 154x SCSI adapters
95ff5fb8adSGregory Sutterdevice		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
96ff5fb8adSGregory Sutterdevice		bt		# Buslogic/Mylex MultiMaster SCSI adapters
970dd1eea1SJordan K. Hubbard
98ae94720dSNoriaki Mitsunagadevice		ncv		# NCR 53C500
99ae94720dSNoriaki Mitsunagadevice		nsp		# Workbit Ninja SCSI-3
100ae94720dSNoriaki Mitsunagadevice		stg		# TMC 18C30/18C50
101ae94720dSNoriaki Mitsunaga
102153cbcc3SMike Smith# RAID controllers interfaced to the SCSI subsystem
103ef137fd3SMike Smithdevice		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
104a245737cSMike Smithdevice		ciss		# Compaq Smart RAID 5*
105ef137fd3SMike Smithdevice		dpt		# DPT Smartcache III, IV - See NOTES for options!
106a245737cSMike Smithdevice		iir		# Intel Integrated RAID
107153cbcc3SMike Smithdevice		mly		# Mylex AcceleRAID/eXtremeRAID
108153cbcc3SMike Smith
1091f06573dSPeter Wemm# SCSI peripherals
110c9953c3bSPeter Wemmdevice		scbus		# SCSI bus (required)
111aaeac4f6SMatt Jacobdevice		ch		# SCSI media changers
112c9953c3bSPeter Wemmdevice		da		# Direct Access (disks)
113c9953c3bSPeter Wemmdevice		sa		# Sequential Access (tape etc)
114c9953c3bSPeter Wemmdevice		cd		# CD
115c9953c3bSPeter Wemmdevice		pass		# Passthrough device (direct SCSI access)
116aaeac4f6SMatt Jacobdevice		ses		# SCSI Environmental Services (and SAF-TE)
117677060b4SPoul-Henning Kamp
118ff680471SDavid E. O'Brien# RAID controllers
11935863739SMike Smithdevice		aac		# Adaptec FSA RAID
120ff680471SDavid E. O'Briendevice		amr		# AMI MegaRAID
12153501555SWarner Loshdevice		ida		# Compaq Smart RAID
122ff680471SDavid E. O'Briendevice		mlx		# Mylex DAC960 family
1235f3dac9cSMike Smithdevice		twe		# 3ware ATA RAID
124ff680471SDavid E. O'Brien
12523f7bd17SBrian Somers# atkbdc0 controls both the keyboard and the PS/2 mouse
12630cb2a0dSWarner Loshdevice		atkbdc	1	# At keyboard controller
12730cb2a0dSWarner Loshdevice		atkbd		# at keyboard
12830cb2a0dSWarner Loshdevice		psm		# psm mouse
1292ad872c5SKazutaka YOKOTA
13030cb2a0dSWarner Loshdevice		vga		# VGA screen
1312ad872c5SKazutaka YOKOTA
1322ad872c5SKazutaka YOKOTA# splash screen/screen saver
133f71c01ccSPeter Wemmdevice		splash
1342ad872c5SKazutaka YOKOTA
135c19da41eSPeter Wemm# syscons is the default console driver, resembling an SCO console
136f71c01ccSPeter Wemmdevice		sc	1
1375895e3c8SPeter Wemm
138afb8931fSHellmuth Michaelis# Enable this for the pcvt (VT220 compatible) console driver
139f71c01ccSPeter Wemm#device		vt
140528b8853SKazutaka YOKOTA#options 	XSERVER			# support for X server on a vt console
141c19da41eSPeter Wemm#options 	FAT_CURSOR		# start with block cursor
142c851c2f0SJoerg Wunsch
1431f06573dSPeter Wemm# Floating point support - do not disable.
144f71c01ccSPeter Wemmdevice		npx
145677060b4SPoul-Henning Kamp
14678a40870SBill Fumerola# Power management support (see NOTES for more options)
147f71c01ccSPeter Wemmdevice		apm
148e655ea71SWarner Losh# Add suspend/resume support for the i8254.
149e655ea71SWarner Loshdevice		pmtimer
1503d4d8fe9SPoul-Henning Kamp
15192d38a13SNate Williams# PCCARD (PCMCIA) support
15230cb2a0dSWarner Loshdevice		card		# pccard bus
1534dc665b8SJordan K. Hubbarddevice		pcic		# PCMCIA bridge
154e597b497SNate Williams
1551f06573dSPeter Wemm# Serial (COM) ports
15630cb2a0dSWarner Loshdevice		sio		# 8250, 16[45]50 based serial ports
157677060b4SPoul-Henning Kamp
15804e83575SJoseph Koshy# Parallel port
159f71c01ccSPeter Wemmdevice		ppc
160c9953c3bSPeter Wemmdevice		ppbus		# Parallel port bus (required)
1610d31b179SPeter Wemmdevice		lpt		# Printer
1620d31b179SPeter Wemmdevice		plip		# TCP/IP over parallel
1630d31b179SPeter Wemmdevice		ppi		# Parallel port interface device
1640d31b179SPeter Wemm#device		vpo		# Requires scbus and da
165677060b4SPoul-Henning Kamp
16623e4757cSBill Paul
1671f06573dSPeter Wemm# PCI Ethernet NICs.
168c9953c3bSPeter Wemmdevice		de		# DEC/Intel DC21x4x (``Tulip'')
169362c5c1eSBill Pauldevice		txp		# 3Com 3cR990 (``Typhoon'')
170090905a5SDavid E. O'Briendevice		vx		# 3Com 3c590, 3c595 (``Vortex'')
171c6a5d1a6SPeter Wemm
172c6a5d1a6SPeter Wemm# PCI Ethernet NICs that use the common MII bus controller code.
173f94a808cSNik Clayton# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
174c9953c3bSPeter Wemmdevice		miibus		# MII bus support
175c9953c3bSPeter Wemmdevice		dc		# DEC/Intel 21143 and various workalikes
1764664a8d5SJonathan Lemondevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
1772e1b1231SDima Dorfmandevice		pcn		# AMD Am79C97x PCI 10/100 NICs
178c9953c3bSPeter Wemmdevice		rl		# RealTek 8129/8139
179c9953c3bSPeter Wemmdevice		sf		# Adaptec AIC-6915 (``Starfire'')
180c9953c3bSPeter Wemmdevice		sis		# Silicon Integrated Systems SiS 900/SiS 7016
181c9953c3bSPeter Wemmdevice		ste		# Sundance ST201 (D-Link DFE-550TX)
182c9953c3bSPeter Wemmdevice		tl		# Texas Instruments ThunderLAN
183600ae3ddSSemen Ustimenkodevice		tx		# SMC EtherPower II (83c170 ``EPIC'')
184c9953c3bSPeter Wemmdevice		vr		# VIA Rhine, Rhine II
185c9953c3bSPeter Wemmdevice		wb		# Winbond W89C840F
186c9953c3bSPeter Wemmdevice		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
18729c6a10bSGarrett Wollman
18830cb2a0dSWarner Losh# ISA Ethernet NICs.  pccard nics included.
18930cb2a0dSWarner Loshdevice		cs		# Crystal Semiconductor CS89x0 NIC
190f2fdbb57SWarner Losh# 'device ed' requires 'device miibus'
19130cb2a0dSWarner Loshdevice		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
19230cb2a0dSWarner Loshdevice		ex		# Intel EtherExpress Pro/10 and Pro/10+
19330cb2a0dSWarner Loshdevice		ep		# Etherlink III based cards
19430cb2a0dSWarner Loshdevice		fe		# Fujitsu MB8696x based cards
1958f3a0dd4SWarner Loshdevice		lnc		# NE2100, NE32-VL Lance Ethernet cards
19630cb2a0dSWarner Loshdevice		sn		# SMC's 9000 series of ethernet chips
19730cb2a0dSWarner Loshdevice		xe		# Xircom pccard ethernet
19853501555SWarner Losh
1990ef2717bSRobert Watson# ISA devices that use the old ISA shims
200d008d67eSPeter Wemm#device		le
2011f06573dSPeter Wemm
20230cb2a0dSWarner Losh# Wireless NIC cards
20330cb2a0dSWarner Loshdevice		an		# Aironet 4500/4800 802.11 wireless NICs.
20430cb2a0dSWarner Loshdevice		awi		# BayStack 660 and others
20530cb2a0dSWarner Loshdevice		wi		# WaveLAN/IEEE 802.11 wireless NICs.
20630cb2a0dSWarner Losh#device		wl		# Older non 802.11 Wavelan wireless NIC.
20730cb2a0dSWarner Losh
208ff5fb8adSGregory Sutter# Pseudo devices - the number indicates how many units to allocate.
209ac519db0SMark Murraydevice		random		# Entropy device
210f71c01ccSPeter Wemmdevice		loop		# Network loopback
211f71c01ccSPeter Wemmdevice		ether		# Ethernet support
212f71c01ccSPeter Wemmdevice		sl		# Kernel SLIP
213f71c01ccSPeter Wemmdevice		ppp	1	# Kernel PPP
214f71c01ccSPeter Wemmdevice		tun		# Packet tunnel.
215f71c01ccSPeter Wemmdevice		pty		# Pseudo-ttys (telnet etc)
216f71c01ccSPeter Wemmdevice		md		# Memory "disks"
21753dab5feSBrooks Davisdevice		gif		# IPv6 and IPv4 tunneling
2182f653328SBrooks Davisdevice		faith		# IPv6-to-IPv4 relaying (translation)
219c683ac7cSJoerg Wunsch
220f71c01ccSPeter Wemm# The `bpf' device enables the Berkeley Packet Filter.
2210a729622SJordan K. Hubbard# Be aware of the administrative consequences of enabling this!
222f71c01ccSPeter Wemmdevice		bpf		# Berkeley packet filter
2230cec007cSNick Hibma
2240cec007cSNick Hibma# USB support
225558d6032SJohn Baldwindevice		uhci		# UHCI PCI->USB interface
226558d6032SJohn Baldwindevice		ohci		# OHCI PCI->USB interface
227558d6032SJohn Baldwindevice		usb		# USB Bus (required)
228b5ea1f0cSNick Hibma#device		udbp		# USB Double Bulk Pipe devices
229558d6032SJohn Baldwindevice		ugen		# Generic
230558d6032SJohn Baldwindevice		uhid		# "Human Interface Devices"
231558d6032SJohn Baldwindevice		ukbd		# Keyboard
232558d6032SJohn Baldwindevice		ulpt		# Printer
233558d6032SJohn Baldwindevice		umass		# Disks/Mass storage - Requires scbus and da
234558d6032SJohn Baldwindevice		ums		# Mouse
235558d6032SJohn Baldwindevice		urio		# Diamond Rio 500 MP3 player
2362fd84f56SNick Hibmadevice		uscanner	# Scanners
237418a4537SNick Hibma# USB Ethernet, requires mii
238558d6032SJohn Baldwindevice		aue		# ADMtek USB ethernet
239558d6032SJohn Baldwindevice		cue		# CATC USB ethernet
240558d6032SJohn Baldwindevice		kue		# Kawasaki LSI USB ethernet
241