xref: /freebsd/sys/i386/conf/GENERIC (revision 15bbdecf2e46f15d3d2c1e4d81f144a684bc7956)
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
15d571daa0SJordan K. Hubbard# device lines is also present in the ./LINT configuration file. If you are
168830dd31SWolfram Schneider# in doubt as to the purpose or necessity of a line, check first in LINT.
178830dd31SWolfram Schneider#
18c3aac50fSPeter Wemm# $FreeBSD$
19677060b4SPoul-Henning Kamp
205895e3c8SPeter Wemmmachine		i386
215895e3c8SPeter Wemmcpu		I386_CPU
225895e3c8SPeter Wemmcpu		I486_CPU
235895e3c8SPeter Wemmcpu		I586_CPU
245895e3c8SPeter Wemmcpu		I686_CPU
25677060b4SPoul-Henning Kampident		GENERIC
2614b1f190SMike Smithmaxusers	32
27677060b4SPoul-Henning Kamp
28f71c01ccSPeter Wemmhints		"GENERIC.hints"		#Default places to look for devices.
29f71c01ccSPeter Wemm
305895e3c8SPeter Wemm#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
3111290483SPeter Wemm
32cec9e91fSJustin T. Gibbsoptions 	MATH_EMULATE		#Support for x87 emulation
33677060b4SPoul-Henning Kampoptions 	INET			#InterNETworking
340dab4916SJordan K. Hubbardoptions 	INET6			#IPv6 communications protocols
354525c93eSJordan K. Hubbardoptions 	FFS			#Berkeley Fast Filesystem
367b778b5eSEivind Eklundoptions 	FFS_ROOT		#FFS usable as root device [keep this!]
37bc265916SPeter Wemmoptions 	SOFTUPDATES		#Enable FFS soft updates support
38cbe7e088SJordan K. Hubbardoptions 	MFS			#Memory Filesystem
3970c3f049SMark Murrayoptions 	MD_ROOT			#MD is a potential root device
40a788bdc4SDavid E. O'Brienoptions 	NFS			#Network Filesystem
41621d865fSBruce Evansoptions 	NFS_ROOT		#NFS usable as root device, NFS required
42a788bdc4SDavid E. O'Brienoptions 	MSDOSFS			#MSDOS Filesystem
435895e3c8SPeter Wemmoptions 	CD9660			#ISO 9660 Filesystem
44621d865fSBruce Evansoptions 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
45677060b4SPoul-Henning Kampoptions 	PROCFS			#Process filesystem
465895e3c8SPeter Wemmoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
4729429ddeSWilko Bulteoptions 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
480dd1eea1SJordan K. Hubbardoptions 	UCONSOLE		#Allow users to grab the console
4996fc6efbSPoul-Henning Kampoptions 	USERCONFIG		#boot -c editor
5096fc6efbSPoul-Henning Kampoptions 	VISUAL_USERCONFIG	#visual boot -c editor
51621d865fSBruce Evansoptions 	KTRACE			#ktrace(1) support
521f06573dSPeter Wemmoptions 	SYSVSHM			#SYSV-style shared memory
531f06573dSPeter Wemmoptions 	SYSVMSG			#SYSV-style message queues
541f06573dSPeter Wemmoptions 	SYSVSEM			#SYSV-style semaphores
55aec5a3b3SJeroen Ruigrok van der Wervenoptions 	P1003_1B		#Posix P1003_1B real-time extensions
56c5954134SJordan K. Hubbardoptions 	_KPOSIX_PRIORITY_SCHEDULING
57558d6032SJohn Baldwinoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
5815bbdecfSMark Murrayoptions 	RANDOMDEV		#entropy device
59677060b4SPoul-Henning Kamp
608fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed
618fab58d8SPoul-Henning Kamp#options 	SMP			# Symmetric MultiProcessor Kernel
628fab58d8SPoul-Henning Kamp#options 	APIC_IO			# Symmetric (APIC) I/O
638fab58d8SPoul-Henning Kamp# Optionally these may need tweaked, (defaults shown):
648fab58d8SPoul-Henning Kamp#options 	NCPU=2			# number of CPUs
6511ca1e30SMike Smith#options 	NBUS=8			# number of busses
668fab58d8SPoul-Henning Kamp#options 	NAPIC=1			# number of IO APICs
678fab58d8SPoul-Henning Kamp#options 	NINTR=24		# number of INTs
688fab58d8SPoul-Henning Kamp
69c9953c3bSPeter Wemmdevice		isa
70c9953c3bSPeter Wemmdevice		eisa
71c9953c3bSPeter Wemmdevice		pci
72f71c01ccSPeter Wemmoptions 	COMPAT_OLDISA		# compatability shims for lnc, fe, le
73f71c01ccSPeter Wemmoptions 	COMPAT_OLDPCI		# compatability shims for lnc, vx
74677060b4SPoul-Henning Kamp
751f06573dSPeter Wemm# Floppy drives
76f71c01ccSPeter Wemmdevice		fdc
77677060b4SPoul-Henning Kamp
78a3fb836cSSøren Schmidt# ATA and ATAPI devices
79c9953c3bSPeter Wemmdevice		ata
80c9953c3bSPeter Wemmdevice		atadisk			# ATA disk drives
81c9953c3bSPeter Wemmdevice		atapicd			# ATAPI CDROM drives
82c9953c3bSPeter Wemmdevice		atapifd			# ATAPI floppy drives
83c9953c3bSPeter Wemmdevice		atapist			# ATAPI tape drives
84a3fb836cSSøren Schmidtoptions 	ATA_STATIC_ID		#Static device numbering
8561677ebbSDavid E. O'Brien#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
8661677ebbSDavid E. O'Brien
871f06573dSPeter Wemm# SCSI Controllers
88c9953c3bSPeter Wemmdevice		ahb		# EISA AHA1742 family
89c9953c3bSPeter Wemmdevice		ahc		# AHA2940 and onboard AIC7xxx devices
90c9953c3bSPeter Wemmdevice		amd		# AMD 53C974 (Teckram DC-390(T))
91c9953c3bSPeter Wemmdevice		dpt		# DPT Smartcache - See LINT for options!
92c9953c3bSPeter Wemmdevice		isp		# Qlogic family
93c9953c3bSPeter Wemmdevice		ncr		# NCR/Symbios Logic
94c9953c3bSPeter Wemmdevice		sym		# NCR/Symbios Logic (newer chipsets)
9510004708SJordan K. Hubbard
96f71c01ccSPeter Wemmdevice		adv
97c9953c3bSPeter Wemmdevice		adw
98f71c01ccSPeter Wemmdevice		bt
99f71c01ccSPeter Wemmdevice		aha	1
100f71c01ccSPeter Wemmdevice		aic
1010dd1eea1SJordan K. Hubbard
1021f06573dSPeter Wemm# SCSI peripherals
103c9953c3bSPeter Wemmdevice		scbus		# SCSI bus (required)
104c9953c3bSPeter Wemmdevice		da		# Direct Access (disks)
105c9953c3bSPeter Wemmdevice		sa		# Sequential Access (tape etc)
106c9953c3bSPeter Wemmdevice		cd		# CD
107c9953c3bSPeter Wemmdevice		pass		# Passthrough device (direct SCSI access)
108677060b4SPoul-Henning Kamp
1098d0b9687SMike Smith# RAID controllers
1105e3488e3SJonathan Lemondevice		ida		# Compaq Smart RAID
111c9953c3bSPeter Wemmdevice		amr		# AMI MegaRAID
112c9953c3bSPeter Wemmdevice		mlx		# Mylex DAC960 family
1138d0b9687SMike Smith
11423f7bd17SBrian Somers# atkbdc0 controls both the keyboard and the PS/2 mouse
115f71c01ccSPeter Wemmdevice		atkbdc	1
116f71c01ccSPeter Wemmdevice		atkbd
117f71c01ccSPeter Wemmdevice		psm
1182ad872c5SKazutaka YOKOTA
119f71c01ccSPeter Wemmdevice		vga
1202ad872c5SKazutaka YOKOTA
1212ad872c5SKazutaka YOKOTA# splash screen/screen saver
122f71c01ccSPeter Wemmdevice		splash
1232ad872c5SKazutaka YOKOTA
124c19da41eSPeter Wemm# syscons is the default console driver, resembling an SCO console
125f71c01ccSPeter Wemmdevice		sc	1
1265895e3c8SPeter Wemm
127afb8931fSHellmuth Michaelis# Enable this for the pcvt (VT220 compatible) console driver
128f71c01ccSPeter Wemm#device		vt
129528b8853SKazutaka YOKOTA#options 	XSERVER			# support for X server on a vt console
130c19da41eSPeter Wemm#options 	FAT_CURSOR		# start with block cursor
131c19da41eSPeter Wemm# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
132c19da41eSPeter Wemm#options 	PCVT_SCANSET=2		# IBM keyboards are non-std
133c851c2f0SJoerg Wunsch
1341f06573dSPeter Wemm# Floating point support - do not disable.
135f71c01ccSPeter Wemmdevice		npx
136677060b4SPoul-Henning Kamp
1371f06573dSPeter Wemm# Power management support (see LINT for more options)
138f71c01ccSPeter Wemmdevice		apm
1393d4d8fe9SPoul-Henning Kamp
14092d38a13SNate Williams# PCCARD (PCMCIA) support
141c9953c3bSPeter Wemmdevice		card
142f71c01ccSPeter Wemmdevice		pcic
143e597b497SNate Williams
1441f06573dSPeter Wemm# Serial (COM) ports
145f71c01ccSPeter Wemmdevice		sio
146677060b4SPoul-Henning Kamp
14704e83575SJoseph Koshy# Parallel port
148f71c01ccSPeter Wemmdevice		ppc
149c9953c3bSPeter Wemmdevice		ppbus		# Parallel port bus (required)
1500d31b179SPeter Wemmdevice		lpt		# Printer
1510d31b179SPeter Wemmdevice		plip		# TCP/IP over parallel
1520d31b179SPeter Wemmdevice		ppi		# Parallel port interface device
1530d31b179SPeter Wemm#device		vpo		# Requires scbus and da
154677060b4SPoul-Henning Kamp
15523e4757cSBill Paul
1561f06573dSPeter Wemm# PCI Ethernet NICs.
157c9953c3bSPeter Wemmdevice		de		# DEC/Intel DC21x4x (``Tulip'')
158c9953c3bSPeter Wemmdevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
159c9953c3bSPeter Wemmdevice		tx		# SMC 9432TX (83c170 ``EPIC'')
160c9953c3bSPeter Wemmdevice		vx		# 3Com 3c590, 3c595 (``Vortex'')
161c9953c3bSPeter Wemmdevice		wx		# Intel Gigabit Ethernet Card (``Wiseman'')
162c6a5d1a6SPeter Wemm
163c6a5d1a6SPeter Wemm# PCI Ethernet NICs that use the common MII bus controller code.
164c9953c3bSPeter Wemmdevice		miibus		# MII bus support
165c9953c3bSPeter Wemmdevice		dc		# DEC/Intel 21143 and various workalikes
166c9953c3bSPeter Wemmdevice		rl		# RealTek 8129/8139
167c9953c3bSPeter Wemmdevice		sf		# Adaptec AIC-6915 (``Starfire'')
168c9953c3bSPeter Wemmdevice		sis		# Silicon Integrated Systems SiS 900/SiS 7016
169c9953c3bSPeter Wemmdevice		ste		# Sundance ST201 (D-Link DFE-550TX)
170c9953c3bSPeter Wemmdevice		tl		# Texas Instruments ThunderLAN
171c9953c3bSPeter Wemmdevice		vr		# VIA Rhine, Rhine II
172c9953c3bSPeter Wemmdevice		wb		# Winbond W89C840F
173c9953c3bSPeter Wemmdevice		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
17429c6a10bSGarrett Wollman
1751f06573dSPeter Wemm# ISA Ethernet NICs.
176f71c01ccSPeter Wemmdevice		ed
177c9953c3bSPeter Wemmdevice		ex
178c9953c3bSPeter Wemmdevice		ep
179f71c01ccSPeter Wemmdevice		cs
180f71c01ccSPeter Wemmdevice		sn
181b6219c62SBill Paul# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
18270c3f049SMark Murray# exists only as a PCMCIA device, so there is no ISA attatement needed
18370c3f049SMark Murray# and resources will always be dynamically assigned by the pccard code.
184c9953c3bSPeter Wemmdevice		wi
185261b9b30SBill Paul# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
186261b9b30SBill Paul# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
187261b9b30SBill Paul# mode (the factory default). If you set the switches on your ISA
188261b9b30SBill Paul# card for a manually chosen I/O address and IRQ, you must specify
189261b9b30SBill Paul# those paremeters here.
190c9953c3bSPeter Wemmdevice		an
1910d5c223dSWarner Losh# BayStack 660 and others
1920d5c223dSWarner Loshdevice		awi
1930ab302bfSWarner Losh# Xircom pccard ethernet
1940ab302bfSWarner Loshdevice		xe
195e72032e9SMatthew N. Dodd# The probe order of these is presently determined by i386/isa/isa_compat.c.
196f71c01ccSPeter Wemmdevice		ie
197f71c01ccSPeter Wemmdevice		fe
198f71c01ccSPeter Wemmdevice		le
199f71c01ccSPeter Wemmdevice		lnc
2001f06573dSPeter Wemm
2011f06573dSPeter Wemm# Pseudo devices - the number indicates how many units to allocated.
202f71c01ccSPeter Wemmdevice		loop		# Network loopback
203f71c01ccSPeter Wemmdevice		ether		# Ethernet support
204f71c01ccSPeter Wemmdevice		sl		# Kernel SLIP
205f71c01ccSPeter Wemmdevice		ppp	1	# Kernel PPP
206f71c01ccSPeter Wemmdevice		tun		# Packet tunnel.
207f71c01ccSPeter Wemmdevice		pty		# Pseudo-ttys (telnet etc)
208f71c01ccSPeter Wemmdevice		md		# Memory "disks"
209f71c01ccSPeter Wemmdevice		gif	4	# IPv6 and IPv4 tunneling
210f71c01ccSPeter Wemmdevice		faith	1	# IPv6-to-IPv4 relaying (translation)
211c683ac7cSJoerg Wunsch
212f71c01ccSPeter Wemm# The `bpf' device enables the Berkeley Packet Filter.
2130a729622SJordan K. Hubbard# Be aware of the administrative consequences of enabling this!
214f71c01ccSPeter Wemmdevice		bpf		# Berkeley packet filter
2150cec007cSNick Hibma
2160cec007cSNick Hibma# USB support
217558d6032SJohn Baldwindevice		uhci		# UHCI PCI->USB interface
218558d6032SJohn Baldwindevice		ohci		# OHCI PCI->USB interface
219558d6032SJohn Baldwindevice		usb		# USB Bus (required)
220b5ea1f0cSNick Hibma#device		udbp		# USB Double Bulk Pipe devices
221558d6032SJohn Baldwindevice		ugen		# Generic
222558d6032SJohn Baldwindevice		uhid		# "Human Interface Devices"
223558d6032SJohn Baldwindevice		ukbd		# Keyboard
224558d6032SJohn Baldwindevice		ulpt		# Printer
225558d6032SJohn Baldwindevice		umass		# Disks/Mass storage - Requires scbus and da
226558d6032SJohn Baldwindevice		ums		# Mouse
227558d6032SJohn Baldwindevice		urio		# Diamond Rio 500 MP3 player
228418a4537SNick Hibma# USB Ethernet, requires mii
229558d6032SJohn Baldwindevice		aue		# ADMtek USB ethernet
230558d6032SJohn Baldwindevice		cue		# CATC USB ethernet
231558d6032SJohn Baldwindevice		kue		# Kawasaki LSI USB ethernet
232