xref: /freebsd/sys/i386/conf/GENERIC (revision 22c0046f53db007313bf72b4b06eed2e594259be)
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
47621d865fSBruce Evansoptions 	KTRACE			#ktrace(1) support
481f06573dSPeter Wemmoptions 	SYSVSHM			#SYSV-style shared memory
491f06573dSPeter Wemmoptions 	SYSVMSG			#SYSV-style message queues
501f06573dSPeter Wemmoptions 	SYSVSEM			#SYSV-style semaphores
51aec5a3b3SJeroen Ruigrok van der Wervenoptions 	P1003_1B		#Posix P1003_1B real-time extensions
52c5954134SJordan K. Hubbardoptions 	_KPOSIX_PRIORITY_SCHEDULING
53558d6032SJohn Baldwinoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
54677060b4SPoul-Henning Kamp
55c5e70d92SDavid E. O'Brien# Debugging for use in -current
56090905a5SDavid E. O'Brienoptions 	DDB			#Enable the kernel debugger
57090905a5SDavid E. O'Brienoptions 	INVARIANTS		#Enable calls of extra sanity checking
58090905a5SDavid E. O'Brienoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
59ea0b7a76SJuli Mallettoptions 	WITNESS			#Enable checks to detect deadlocks and cycles
605d8e6357SAlfred Perlsteinoptions 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
61c5e70d92SDavid E. O'Brien
628fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed
638fab58d8SPoul-Henning Kamp#options 	SMP			# Symmetric MultiProcessor Kernel
648fab58d8SPoul-Henning Kamp#options 	APIC_IO			# Symmetric (APIC) I/O
658fab58d8SPoul-Henning Kamp
66c9953c3bSPeter Wemmdevice		isa
67c9953c3bSPeter Wemmdevice		eisa
68c9953c3bSPeter Wemmdevice		pci
69ae4da688SJonathan Lemon#options 	PCI_ENABLE_IO_MODES	# Enable pci resources left off by a "lazy BIOS"
70677060b4SPoul-Henning Kamp
711f06573dSPeter Wemm# Floppy drives
72f71c01ccSPeter Wemmdevice		fdc
73677060b4SPoul-Henning Kamp
74a3fb836cSSøren Schmidt# ATA and ATAPI devices
75c9953c3bSPeter Wemmdevice		ata
76c9953c3bSPeter Wemmdevice		atadisk			# ATA disk drives
77c9953c3bSPeter Wemmdevice		atapicd			# ATAPI CDROM drives
78c9953c3bSPeter Wemmdevice		atapifd			# ATAPI floppy drives
79c9953c3bSPeter Wemmdevice		atapist			# ATAPI tape drives
80a3fb836cSSøren Schmidtoptions 	ATA_STATIC_ID		#Static device numbering
8161677ebbSDavid E. O'Brien
821f06573dSPeter Wemm# SCSI Controllers
83c9953c3bSPeter Wemmdevice		ahb		# EISA AHA1742 family
84c9953c3bSPeter Wemmdevice		ahc		# AHA2940 and onboard AIC7xxx devices
85cdd49e97SJustin T. Gibbsdevice		ahd		# AHA39320 and onboard AIC79xx devices
86ff5fb8adSGregory Sutterdevice		amd		# AMD 53C974 (Tekram DC-390(T))
87c9953c3bSPeter Wemmdevice		isp		# Qlogic family
88cf10fa4fSDavid E. O'Brien#device		ncr		# NCR/Symbios Logic
89cf10fa4fSDavid E. O'Briendevice		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
9010004708SJordan K. Hubbard
91ff5fb8adSGregory Sutterdevice		adv		# Advansys SCSI adapters
92ff5fb8adSGregory Sutterdevice		adw		# Advansys wide SCSI adapters
93ff5fb8adSGregory Sutterdevice		aha		# Adaptec 154x SCSI adapters
94ff5fb8adSGregory Sutterdevice		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
95ff5fb8adSGregory Sutterdevice		bt		# Buslogic/Mylex MultiMaster SCSI adapters
960dd1eea1SJordan K. Hubbard
97ae94720dSNoriaki Mitsunagadevice		ncv		# NCR 53C500
98ae94720dSNoriaki Mitsunagadevice		nsp		# Workbit Ninja SCSI-3
99ae94720dSNoriaki Mitsunagadevice		stg		# TMC 18C30/18C50
100ae94720dSNoriaki Mitsunaga
101153cbcc3SMike Smith# RAID controllers interfaced to the SCSI subsystem
102ef137fd3SMike Smithdevice		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
103a245737cSMike Smithdevice		ciss		# Compaq Smart RAID 5*
104ef137fd3SMike Smithdevice		dpt		# DPT Smartcache III, IV - See NOTES for options!
105a245737cSMike Smithdevice		iir		# Intel Integrated RAID
106153cbcc3SMike Smithdevice		mly		# Mylex AcceleRAID/eXtremeRAID
107153cbcc3SMike Smith
1081f06573dSPeter Wemm# SCSI peripherals
109c9953c3bSPeter Wemmdevice		scbus		# SCSI bus (required)
110aaeac4f6SMatt Jacobdevice		ch		# SCSI media changers
111c9953c3bSPeter Wemmdevice		da		# Direct Access (disks)
112c9953c3bSPeter Wemmdevice		sa		# Sequential Access (tape etc)
113c9953c3bSPeter Wemmdevice		cd		# CD
114c9953c3bSPeter Wemmdevice		pass		# Passthrough device (direct SCSI access)
115aaeac4f6SMatt Jacobdevice		ses		# SCSI Environmental Services (and SAF-TE)
116677060b4SPoul-Henning Kamp
117ff680471SDavid E. O'Brien# RAID controllers
11835863739SMike Smithdevice		aac		# Adaptec FSA RAID
119fe3cb0e1SScott Longdevice		aacp		# SCSI passthrough for aac (requires CAM)
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
15222c0046fSWarner Losh# Pcmcia and cardbus bridge support
15322c0046fSWarner Loshdevice		pccbb			# cardbus (yenta) bridge
15422c0046fSWarner Losh#device		pcic			# ExCA ISA and PCI bridges
15522c0046fSWarner Loshdevice		pccard			# PC Card (16-bit) bus
15622c0046fSWarner Loshdevice		cardbus			# CardBus (32-bit) bus
157e597b497SNate Williams
1581f06573dSPeter Wemm# Serial (COM) ports
15930cb2a0dSWarner Loshdevice		sio		# 8250, 16[45]50 based serial ports
160677060b4SPoul-Henning Kamp
16104e83575SJoseph Koshy# Parallel port
162f71c01ccSPeter Wemmdevice		ppc
163c9953c3bSPeter Wemmdevice		ppbus		# Parallel port bus (required)
1640d31b179SPeter Wemmdevice		lpt		# Printer
1650d31b179SPeter Wemmdevice		plip		# TCP/IP over parallel
1660d31b179SPeter Wemmdevice		ppi		# Parallel port interface device
1670d31b179SPeter Wemm#device		vpo		# Requires scbus and da
168677060b4SPoul-Henning Kamp
16923e4757cSBill Paul
1701f06573dSPeter Wemm# PCI Ethernet NICs.
171c9953c3bSPeter Wemmdevice		de		# DEC/Intel DC21x4x (``Tulip'')
17269d18565SDavid E. O'Briendevice		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
173362c5c1eSBill Pauldevice		txp		# 3Com 3cR990 (``Typhoon'')
174090905a5SDavid E. O'Briendevice		vx		# 3Com 3c590, 3c595 (``Vortex'')
175c6a5d1a6SPeter Wemm
176c6a5d1a6SPeter Wemm# PCI Ethernet NICs that use the common MII bus controller code.
177f94a808cSNik Clayton# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
178c9953c3bSPeter Wemmdevice		miibus		# MII bus support
179c9953c3bSPeter Wemmdevice		dc		# DEC/Intel 21143 and various workalikes
1804664a8d5SJonathan Lemondevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
1812e1b1231SDima Dorfmandevice		pcn		# AMD Am79C97x PCI 10/100 NICs
182c9953c3bSPeter Wemmdevice		rl		# RealTek 8129/8139
183c9953c3bSPeter Wemmdevice		sf		# Adaptec AIC-6915 (``Starfire'')
184c9953c3bSPeter Wemmdevice		sis		# Silicon Integrated Systems SiS 900/SiS 7016
185c9953c3bSPeter Wemmdevice		ste		# Sundance ST201 (D-Link DFE-550TX)
186c9953c3bSPeter Wemmdevice		tl		# Texas Instruments ThunderLAN
187600ae3ddSSemen Ustimenkodevice		tx		# SMC EtherPower II (83c170 ``EPIC'')
188c9953c3bSPeter Wemmdevice		vr		# VIA Rhine, Rhine II
189c9953c3bSPeter Wemmdevice		wb		# Winbond W89C840F
190c9953c3bSPeter Wemmdevice		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
19129c6a10bSGarrett Wollman
19230cb2a0dSWarner Losh# ISA Ethernet NICs.  pccard nics included.
19330cb2a0dSWarner Loshdevice		cs		# Crystal Semiconductor CS89x0 NIC
194f2fdbb57SWarner Losh# 'device ed' requires 'device miibus'
19530cb2a0dSWarner Loshdevice		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
19630cb2a0dSWarner Loshdevice		ex		# Intel EtherExpress Pro/10 and Pro/10+
19730cb2a0dSWarner Loshdevice		ep		# Etherlink III based cards
19830cb2a0dSWarner Loshdevice		fe		# Fujitsu MB8696x based cards
1998f3a0dd4SWarner Loshdevice		lnc		# NE2100, NE32-VL Lance Ethernet cards
20030cb2a0dSWarner Loshdevice		sn		# SMC's 9000 series of ethernet chips
20130cb2a0dSWarner Loshdevice		xe		# Xircom pccard ethernet
20253501555SWarner Losh
2030ef2717bSRobert Watson# ISA devices that use the old ISA shims
204d008d67eSPeter Wemm#device		le
2051f06573dSPeter Wemm
20630cb2a0dSWarner Losh# Wireless NIC cards
20730cb2a0dSWarner Loshdevice		an		# Aironet 4500/4800 802.11 wireless NICs.
20830cb2a0dSWarner Loshdevice		awi		# BayStack 660 and others
20930cb2a0dSWarner Loshdevice		wi		# WaveLAN/IEEE 802.11 wireless NICs.
21030cb2a0dSWarner Losh#device		wl		# Older non 802.11 Wavelan wireless NIC.
21130cb2a0dSWarner Losh
212ff5fb8adSGregory Sutter# Pseudo devices - the number indicates how many units to allocate.
213ac519db0SMark Murraydevice		random		# Entropy device
214f71c01ccSPeter Wemmdevice		loop		# Network loopback
215f71c01ccSPeter Wemmdevice		ether		# Ethernet support
216f71c01ccSPeter Wemmdevice		sl		# Kernel SLIP
217f71c01ccSPeter Wemmdevice		ppp	1	# Kernel PPP
218f71c01ccSPeter Wemmdevice		tun		# Packet tunnel.
219f71c01ccSPeter Wemmdevice		pty		# Pseudo-ttys (telnet etc)
220f71c01ccSPeter Wemmdevice		md		# Memory "disks"
22153dab5feSBrooks Davisdevice		gif		# IPv6 and IPv4 tunneling
2222f653328SBrooks Davisdevice		faith		# IPv6-to-IPv4 relaying (translation)
223c683ac7cSJoerg Wunsch
224f71c01ccSPeter Wemm# The `bpf' device enables the Berkeley Packet Filter.
2250a729622SJordan K. Hubbard# Be aware of the administrative consequences of enabling this!
226f71c01ccSPeter Wemmdevice		bpf		# Berkeley packet filter
2270cec007cSNick Hibma
2280cec007cSNick Hibma# USB support
229558d6032SJohn Baldwindevice		uhci		# UHCI PCI->USB interface
230558d6032SJohn Baldwindevice		ohci		# OHCI PCI->USB interface
231558d6032SJohn Baldwindevice		usb		# USB Bus (required)
232b5ea1f0cSNick Hibma#device		udbp		# USB Double Bulk Pipe devices
233558d6032SJohn Baldwindevice		ugen		# Generic
234558d6032SJohn Baldwindevice		uhid		# "Human Interface Devices"
235558d6032SJohn Baldwindevice		ukbd		# Keyboard
236558d6032SJohn Baldwindevice		ulpt		# Printer
237558d6032SJohn Baldwindevice		umass		# Disks/Mass storage - Requires scbus and da
238558d6032SJohn Baldwindevice		ums		# Mouse
239558d6032SJohn Baldwindevice		urio		# Diamond Rio 500 MP3 player
2402fd84f56SNick Hibmadevice		uscanner	# Scanners
241418a4537SNick Hibma# USB Ethernet, requires mii
242558d6032SJohn Baldwindevice		aue		# ADMtek USB ethernet
243558d6032SJohn Baldwindevice		cue		# CATC USB ethernet
244558d6032SJohn Baldwindevice		kue		# Kawasaki LSI USB ethernet
245