xref: /freebsd/sys/i386/conf/GENERIC (revision 4ef90982ca99e5225f404b488d439e2ff1f3fb3c)
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
1019b631363SMatt Jacobdevice		mpt		# LSI-Logic MPT-Fusion
102cf10fa4fSDavid E. O'Brien#device		ncr		# NCR/Symbios Logic
103cf10fa4fSDavid E. O'Briendevice		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
10447770b6fSOlivier Houcharddevice		trm		# Tekram DC395U/UW/F DC315U adapters
10510004708SJordan K. Hubbard
106ff5fb8adSGregory Sutterdevice		adv		# Advansys SCSI adapters
107ff5fb8adSGregory Sutterdevice		adw		# Advansys wide SCSI adapters
108ff5fb8adSGregory Sutterdevice		aha		# Adaptec 154x SCSI adapters
109ff5fb8adSGregory Sutterdevice		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
110ff5fb8adSGregory Sutterdevice		bt		# Buslogic/Mylex MultiMaster SCSI adapters
1110dd1eea1SJordan K. Hubbard
112ae94720dSNoriaki Mitsunagadevice		ncv		# NCR 53C500
113ae94720dSNoriaki Mitsunagadevice		nsp		# Workbit Ninja SCSI-3
114ae94720dSNoriaki Mitsunagadevice		stg		# TMC 18C30/18C50
115ae94720dSNoriaki Mitsunaga
1161f06573dSPeter Wemm# SCSI peripherals
117d196a108SJuli Mallettdevice		scbus		# SCSI bus (required for SCSI)
118aaeac4f6SMatt Jacobdevice		ch		# SCSI media changers
119c9953c3bSPeter Wemmdevice		da		# Direct Access (disks)
120c9953c3bSPeter Wemmdevice		sa		# Sequential Access (tape etc)
121c9953c3bSPeter Wemmdevice		cd		# CD
122c9953c3bSPeter Wemmdevice		pass		# Passthrough device (direct SCSI access)
123aaeac4f6SMatt Jacobdevice		ses		# SCSI Environmental Services (and SAF-TE)
124677060b4SPoul-Henning Kamp
1255fdcb0a6SScott Long# RAID controllers interfaced to the SCSI subsystem
1265fdcb0a6SScott Longdevice		amr		# AMI MegaRAID
1275fdcb0a6SScott Longdevice		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
1285fdcb0a6SScott Longdevice		ciss		# Compaq Smart RAID 5*
1295fdcb0a6SScott Longdevice		dpt		# DPT Smartcache III, IV - See NOTES for options
1305fdcb0a6SScott Longdevice		iir		# Intel Integrated RAID
1315fdcb0a6SScott Longdevice		ips		# IBM (Adaptec) ServeRAID
1325fdcb0a6SScott Longdevice		mly		# Mylex AcceleRAID/eXtremeRAID
13399635d6cSVinod Kashyapdevice		twa		# 3ware 9000 series PATA/SATA RAID
1345fdcb0a6SScott Long
135ff680471SDavid E. O'Brien# RAID controllers
13635863739SMike Smithdevice		aac		# Adaptec FSA RAID
137fe3cb0e1SScott Longdevice		aacp		# SCSI passthrough for aac (requires CAM)
13853501555SWarner Loshdevice		ida		# Compaq Smart RAID
139ff680471SDavid E. O'Briendevice		mlx		# Mylex DAC960 family
1404c2c25d4SSøren Schmidtdevice		pst		# Promise Supertrak SX6000
1415f3dac9cSMike Smithdevice		twe		# 3ware ATA RAID
142ff680471SDavid E. O'Brien
14323f7bd17SBrian Somers# atkbdc0 controls both the keyboard and the PS/2 mouse
144f453022cSPeter Wemmdevice		atkbdc		# AT keyboard controller
145dde04295SJohn Baldwindevice		atkbd		# AT keyboard
146dde04295SJohn Baldwindevice		psm		# PS/2 mouse
1472ad872c5SKazutaka YOKOTA
148dde04295SJohn Baldwindevice		vga		# VGA video card driver
1492ad872c5SKazutaka YOKOTA
150dde04295SJohn Baldwindevice		splash		# Splash screen and screen saver support
1512ad872c5SKazutaka YOKOTA
152c19da41eSPeter Wemm# syscons is the default console driver, resembling an SCO console
153f453022cSPeter Wemmdevice		sc
1545895e3c8SPeter Wemm
155afb8931fSHellmuth Michaelis# Enable this for the pcvt (VT220 compatible) console driver
156f71c01ccSPeter Wemm#device		vt
157528b8853SKazutaka YOKOTA#options 	XSERVER		# support for X server on a vt console
158c19da41eSPeter Wemm#options 	FAT_CURSOR	# start with block cursor
159c851c2f0SJoerg Wunsch
1602690c0bbSEric Anholtdevice		agp		# support several AGP chipsets
1612690c0bbSEric Anholt
1621f06573dSPeter Wemm# Floating point support - do not disable.
163f71c01ccSPeter Wemmdevice		npx
164677060b4SPoul-Henning Kamp
16578a40870SBill Fumerola# Power management support (see NOTES for more options)
1668d03e1e9SMark Murray#device		apm
167e655ea71SWarner Losh# Add suspend/resume support for the i8254.
168e655ea71SWarner Loshdevice		pmtimer
1693d4d8fe9SPoul-Henning Kamp
17092d38a13SNate Williams# PCCARD (PCMCIA) support
17108e33a7fSJens Schweikhardt# PCMCIA and cardbus bridge support
1726319263dSWarner Loshdevice		cbb		# cardbus (yenta) bridge
17322c0046fSWarner Loshdevice		pccard		# PC Card (16-bit) bus
17422c0046fSWarner Loshdevice		cardbus		# CardBus (32-bit) bus
175e597b497SNate Williams
1761f06573dSPeter Wemm# Serial (COM) ports
17730cb2a0dSWarner Loshdevice		sio		# 8250, 16[45]50 based serial ports
178677060b4SPoul-Henning Kamp
17904e83575SJoseph Koshy# Parallel port
180f71c01ccSPeter Wemmdevice		ppc
181c9953c3bSPeter Wemmdevice		ppbus		# Parallel port bus (required)
1820d31b179SPeter Wemmdevice		lpt		# Printer
1830d31b179SPeter Wemmdevice		plip		# TCP/IP over parallel
1840d31b179SPeter Wemmdevice		ppi		# Parallel port interface device
1850d31b179SPeter Wemm#device		vpo		# Requires scbus and da
186677060b4SPoul-Henning Kamp
1879678710bSJoerg Wunsch# If you've got a "dumb" serial or parallel PCI card that is
1889678710bSJoerg Wunsch# supported by the puc(4) glue driver, uncomment the following
1899678710bSJoerg Wunsch# line to enable it (connects to the sio and/or ppc drivers):
1909678710bSJoerg Wunsch#device         puc
19123e4757cSBill Paul
1921f06573dSPeter Wemm# PCI Ethernet NICs.
193c9953c3bSPeter Wemmdevice		de		# DEC/Intel DC21x4x (``Tulip'')
19469d18565SDavid E. O'Briendevice		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
195e03f8cdcSTony Ackermandevice		ixgb		# Intel PRO/10GbE Ethernet Card
196362c5c1eSBill Pauldevice		txp		# 3Com 3cR990 (``Typhoon'')
197090905a5SDavid E. O'Briendevice		vx		# 3Com 3c590, 3c595 (``Vortex'')
198c6a5d1a6SPeter Wemm
199c6a5d1a6SPeter Wemm# PCI Ethernet NICs that use the common MII bus controller code.
200f94a808cSNik Clayton# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
201c9953c3bSPeter Wemmdevice		miibus		# MII bus support
2024e744b5eSDavid E. O'Briendevice		bfe		# Broadcom BCM440x 10/100 Ethernet
2033fc40c24SDavid E. O'Briendevice		bge		# Broadcom BCM570xx Gigabit Ethernet
204c9953c3bSPeter Wemmdevice		dc		# DEC/Intel 21143 and various workalikes
2054664a8d5SJonathan Lemondevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
206f31d7a57SDavid E. O'Briendevice		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'lnc')
207a94100faSBill Pauldevice		re		# RealTek 8139C+/8169/8169S/8110S
208c9953c3bSPeter Wemmdevice		rl		# RealTek 8129/8139
209c9953c3bSPeter Wemmdevice		sf		# Adaptec AIC-6915 (``Starfire'')
210c9953c3bSPeter Wemmdevice		sis		# Silicon Integrated Systems SiS 900/SiS 7016
2114e744b5eSDavid E. O'Briendevice		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
212c9953c3bSPeter Wemmdevice		ste		# Sundance ST201 (D-Link DFE-550TX)
2134e744b5eSDavid E. O'Briendevice		ti		# Alteon Networks Tigon I/II gigabit Ethernet
214c9953c3bSPeter Wemmdevice		tl		# Texas Instruments ThunderLAN
215600ae3ddSSemen Ustimenkodevice		tx		# SMC EtherPower II (83c170 ``EPIC'')
216c9953c3bSPeter Wemmdevice		vr		# VIA Rhine, Rhine II
217c9953c3bSPeter Wemmdevice		wb		# Winbond W89C840F
218c9953c3bSPeter Wemmdevice		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
21929c6a10bSGarrett Wollman
22008e33a7fSJens Schweikhardt# ISA Ethernet NICs.  pccard NICs included.
22130cb2a0dSWarner Loshdevice		cs		# Crystal Semiconductor CS89x0 NIC
222f2fdbb57SWarner Losh# 'device ed' requires 'device miibus'
22330cb2a0dSWarner Loshdevice		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
22430cb2a0dSWarner Loshdevice		ex		# Intel EtherExpress Pro/10 and Pro/10+
22530cb2a0dSWarner Loshdevice		ep		# Etherlink III based cards
22630cb2a0dSWarner Loshdevice		fe		# Fujitsu MB8696x based cards
22750e960d9SMatthew N. Dodddevice		ie		# EtherExpress 8/16, 3C507, StarLAN 10 etc.
2288f3a0dd4SWarner Loshdevice		lnc		# NE2100, NE32-VL Lance Ethernet cards
2294e744b5eSDavid E. O'Briendevice		sn		# SMC's 9000 series of Ethernet chips
2304e744b5eSDavid E. O'Briendevice		xe		# Xircom pccard Ethernet
23153501555SWarner Losh
2320ef2717bSRobert Watson# ISA devices that use the old ISA shims
233d008d67eSPeter Wemm#device		le
2341f06573dSPeter Wemm
23530cb2a0dSWarner Losh# Wireless NIC cards
23618bf5d2bSSam Lefflerdevice		wlan		# 802.11 support
23730cb2a0dSWarner Loshdevice		an		# Aironet 4500/4800 802.11 wireless NICs.
23830cb2a0dSWarner Loshdevice		awi		# BayStack 660 and others
23966905408SWarner Loshdevice		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
24030cb2a0dSWarner Losh#device		wl		# Older non 802.11 Wavelan wireless NIC.
24130cb2a0dSWarner Losh
242aa355a26SMaxim Konovalov# Pseudo devices.
243f71c01ccSPeter Wemmdevice		loop		# Network loopback
2448ab2f5ecSMark Murraydevice		mem		# Memory and kernel memory devices
245b6527a36SMark Murraydevice		io		# I/O device
2468ab2f5ecSMark Murraydevice		random		# Entropy device
247f71c01ccSPeter Wemmdevice		ether		# Ethernet support
248f71c01ccSPeter Wemmdevice		sl		# Kernel SLIP
24905c872adSBrooks Davisdevice		ppp		# Kernel PPP
250f71c01ccSPeter Wemmdevice		tun		# Packet tunnel.
251f71c01ccSPeter Wemmdevice		pty		# Pseudo-ttys (telnet etc)
252f71c01ccSPeter Wemmdevice		md		# Memory "disks"
25353dab5feSBrooks Davisdevice		gif		# IPv6 and IPv4 tunneling
2542f653328SBrooks Davisdevice		faith		# IPv6-to-IPv4 relaying (translation)
255c683ac7cSJoerg Wunsch
256f71c01ccSPeter Wemm# The `bpf' device enables the Berkeley Packet Filter.
2570a729622SJordan K. Hubbard# Be aware of the administrative consequences of enabling this!
258f71c01ccSPeter Wemmdevice		bpf		# Berkeley packet filter
2590cec007cSNick Hibma
2600cec007cSNick Hibma# USB support
261558d6032SJohn Baldwindevice		uhci		# UHCI PCI->USB interface
262558d6032SJohn Baldwindevice		ohci		# OHCI PCI->USB interface
263558d6032SJohn Baldwindevice		usb		# USB Bus (required)
264b5ea1f0cSNick Hibma#device		udbp		# USB Double Bulk Pipe devices
265558d6032SJohn Baldwindevice		ugen		# Generic
266558d6032SJohn Baldwindevice		uhid		# "Human Interface Devices"
267558d6032SJohn Baldwindevice		ukbd		# Keyboard
268558d6032SJohn Baldwindevice		ulpt		# Printer
269558d6032SJohn Baldwindevice		umass		# Disks/Mass storage - Requires scbus and da
270558d6032SJohn Baldwindevice		ums		# Mouse
271558d6032SJohn Baldwindevice		urio		# Diamond Rio 500 MP3 player
2722fd84f56SNick Hibmadevice		uscanner	# Scanners
273418a4537SNick Hibma# USB Ethernet, requires mii
2744e744b5eSDavid E. O'Briendevice		aue		# ADMtek USB Ethernet
2754e744b5eSDavid E. O'Briendevice		axe		# ASIX Electronics USB Ethernet
2764e744b5eSDavid E. O'Briendevice		cue		# CATC USB Ethernet
2774e744b5eSDavid E. O'Briendevice		kue		# Kawasaki LSI USB Ethernet
2784e744b5eSDavid E. O'Briendevice		rue		# RealTek RTL8150 USB Ethernet
279092cd06fSHidetoshi Shimokawa
280092cd06fSHidetoshi Shimokawa# FireWire support
281092cd06fSHidetoshi Shimokawadevice		firewire	# FireWire bus code
282092cd06fSHidetoshi Shimokawadevice		sbp		# SCSI over FireWire (Requires scbus and da)
283092cd06fSHidetoshi Shimokawadevice		fwe		# Ethernet over FireWire (non-standard!)
284