xref: /freebsd/sys/amd64/conf/GENERIC (revision bc265916)
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
58677060b4SPoul-Henning Kamp
598fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed
608fab58d8SPoul-Henning Kamp#options 	SMP			# Symmetric MultiProcessor Kernel
618fab58d8SPoul-Henning Kamp#options 	APIC_IO			# Symmetric (APIC) I/O
628fab58d8SPoul-Henning Kamp# Optionally these may need tweaked, (defaults shown):
638fab58d8SPoul-Henning Kamp#options 	NCPU=2			# number of CPUs
6411ca1e30SMike Smith#options 	NBUS=8			# number of busses
658fab58d8SPoul-Henning Kamp#options 	NAPIC=1			# number of IO APICs
668fab58d8SPoul-Henning Kamp#options 	NINTR=24		# number of INTs
678fab58d8SPoul-Henning Kamp
68c9953c3bSPeter Wemmdevice		isa
69c9953c3bSPeter Wemmdevice		eisa
70c9953c3bSPeter Wemmdevice		pci
71f71c01ccSPeter Wemmoptions 	COMPAT_OLDISA		# compatability shims for lnc, fe, le
72f71c01ccSPeter Wemmoptions 	COMPAT_OLDPCI		# compatability shims for lnc, vx
73677060b4SPoul-Henning Kamp
741f06573dSPeter Wemm# Floppy drives
75f71c01ccSPeter Wemmdevice		fdc
76677060b4SPoul-Henning Kamp
77a3fb836cSSøren Schmidt# ATA and ATAPI devices
78c9953c3bSPeter Wemmdevice		ata
79c9953c3bSPeter Wemmdevice		atadisk			# ATA disk drives
80c9953c3bSPeter Wemmdevice		atapicd			# ATAPI CDROM drives
81c9953c3bSPeter Wemmdevice		atapifd			# ATAPI floppy drives
82c9953c3bSPeter Wemmdevice		atapist			# ATAPI tape drives
83a3fb836cSSøren Schmidtoptions 	ATA_STATIC_ID		#Static device numbering
8461677ebbSDavid E. O'Brien#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
8561677ebbSDavid E. O'Brien
861f06573dSPeter Wemm# SCSI Controllers
87c9953c3bSPeter Wemmdevice		ahb		# EISA AHA1742 family
88c9953c3bSPeter Wemmdevice		ahc		# AHA2940 and onboard AIC7xxx devices
89c9953c3bSPeter Wemmdevice		amd		# AMD 53C974 (Teckram DC-390(T))
90c9953c3bSPeter Wemmdevice		dpt		# DPT Smartcache - See LINT for options!
91c9953c3bSPeter Wemmdevice		isp		# Qlogic family
92c9953c3bSPeter Wemmdevice		ncr		# NCR/Symbios Logic
93c9953c3bSPeter Wemmdevice		sym		# NCR/Symbios Logic (newer chipsets)
9410004708SJordan K. Hubbard
95f71c01ccSPeter Wemmdevice		adv
96c9953c3bSPeter Wemmdevice		adw
97f71c01ccSPeter Wemmdevice		bt
98f71c01ccSPeter Wemmdevice		aha	1
99f71c01ccSPeter Wemmdevice		aic
1000dd1eea1SJordan K. Hubbard
1011f06573dSPeter Wemm# SCSI peripherals
102c9953c3bSPeter Wemmdevice		scbus		# SCSI bus (required)
103c9953c3bSPeter Wemmdevice		da		# Direct Access (disks)
104c9953c3bSPeter Wemmdevice		sa		# Sequential Access (tape etc)
105c9953c3bSPeter Wemmdevice		cd		# CD
106c9953c3bSPeter Wemmdevice		pass		# Passthrough device (direct SCSI access)
107677060b4SPoul-Henning Kamp
1088d0b9687SMike Smith# RAID controllers
1095e3488e3SJonathan Lemondevice		ida		# Compaq Smart RAID
110c9953c3bSPeter Wemmdevice		amr		# AMI MegaRAID
111c9953c3bSPeter Wemmdevice		mlx		# Mylex DAC960 family
1128d0b9687SMike Smith
11323f7bd17SBrian Somers# atkbdc0 controls both the keyboard and the PS/2 mouse
114f71c01ccSPeter Wemmdevice		atkbdc	1
115f71c01ccSPeter Wemmdevice		atkbd
116f71c01ccSPeter Wemmdevice		psm
1172ad872c5SKazutaka YOKOTA
118f71c01ccSPeter Wemmdevice		vga
1192ad872c5SKazutaka YOKOTA
1202ad872c5SKazutaka YOKOTA# splash screen/screen saver
121f71c01ccSPeter Wemmdevice		splash
1222ad872c5SKazutaka YOKOTA
123c19da41eSPeter Wemm# syscons is the default console driver, resembling an SCO console
124f71c01ccSPeter Wemmdevice		sc	1
1255895e3c8SPeter Wemm
126afb8931fSHellmuth Michaelis# Enable this for the pcvt (VT220 compatible) console driver
127f71c01ccSPeter Wemm#device		vt
128528b8853SKazutaka YOKOTA#options 	XSERVER			# support for X server on a vt console
129c19da41eSPeter Wemm#options 	FAT_CURSOR		# start with block cursor
130c19da41eSPeter Wemm# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
131c19da41eSPeter Wemm#options 	PCVT_SCANSET=2		# IBM keyboards are non-std
132c851c2f0SJoerg Wunsch
1331f06573dSPeter Wemm# Floating point support - do not disable.
134f71c01ccSPeter Wemmdevice		npx
135677060b4SPoul-Henning Kamp
1361f06573dSPeter Wemm# Power management support (see LINT for more options)
137f71c01ccSPeter Wemmdevice		apm
1383d4d8fe9SPoul-Henning Kamp
13992d38a13SNate Williams# PCCARD (PCMCIA) support
140c9953c3bSPeter Wemmdevice		card
141f71c01ccSPeter Wemmdevice		pcic
142e597b497SNate Williams
1431f06573dSPeter Wemm# Serial (COM) ports
144f71c01ccSPeter Wemmdevice		sio
145677060b4SPoul-Henning Kamp
14604e83575SJoseph Koshy# Parallel port
147f71c01ccSPeter Wemmdevice		ppc
148c9953c3bSPeter Wemmdevice		ppbus		# Parallel port bus (required)
1490d31b179SPeter Wemmdevice		lpt		# Printer
1500d31b179SPeter Wemmdevice		plip		# TCP/IP over parallel
1510d31b179SPeter Wemmdevice		ppi		# Parallel port interface device
1520d31b179SPeter Wemm#device		vpo		# Requires scbus and da
153677060b4SPoul-Henning Kamp
15423e4757cSBill Paul
1551f06573dSPeter Wemm# PCI Ethernet NICs.
156c9953c3bSPeter Wemmdevice		de		# DEC/Intel DC21x4x (``Tulip'')
157c9953c3bSPeter Wemmdevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
158c9953c3bSPeter Wemmdevice		tx		# SMC 9432TX (83c170 ``EPIC'')
159c9953c3bSPeter Wemmdevice		vx		# 3Com 3c590, 3c595 (``Vortex'')
160c9953c3bSPeter Wemmdevice		wx		# Intel Gigabit Ethernet Card (``Wiseman'')
161c6a5d1a6SPeter Wemm
162c6a5d1a6SPeter Wemm# PCI Ethernet NICs that use the common MII bus controller code.
163c9953c3bSPeter Wemmdevice		miibus		# MII bus support
164c9953c3bSPeter Wemmdevice		dc		# DEC/Intel 21143 and various workalikes
165c9953c3bSPeter Wemmdevice		rl		# RealTek 8129/8139
166c9953c3bSPeter Wemmdevice		sf		# Adaptec AIC-6915 (``Starfire'')
167c9953c3bSPeter Wemmdevice		sis		# Silicon Integrated Systems SiS 900/SiS 7016
168c9953c3bSPeter Wemmdevice		ste		# Sundance ST201 (D-Link DFE-550TX)
169c9953c3bSPeter Wemmdevice		tl		# Texas Instruments ThunderLAN
170c9953c3bSPeter Wemmdevice		vr		# VIA Rhine, Rhine II
171c9953c3bSPeter Wemmdevice		wb		# Winbond W89C840F
172c9953c3bSPeter Wemmdevice		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
17329c6a10bSGarrett Wollman
1741f06573dSPeter Wemm# ISA Ethernet NICs.
175f71c01ccSPeter Wemmdevice		ed
176c9953c3bSPeter Wemmdevice		ex
177c9953c3bSPeter Wemmdevice		ep
178f71c01ccSPeter Wemmdevice		cs
179f71c01ccSPeter Wemmdevice		sn
180b6219c62SBill Paul# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
18170c3f049SMark Murray# exists only as a PCMCIA device, so there is no ISA attatement needed
18270c3f049SMark Murray# and resources will always be dynamically assigned by the pccard code.
183c9953c3bSPeter Wemmdevice		wi
184261b9b30SBill Paul# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
185261b9b30SBill Paul# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
186261b9b30SBill Paul# mode (the factory default). If you set the switches on your ISA
187261b9b30SBill Paul# card for a manually chosen I/O address and IRQ, you must specify
188261b9b30SBill Paul# those paremeters here.
189c9953c3bSPeter Wemmdevice		an
1900d5c223dSWarner Losh# BayStack 660 and others
1910d5c223dSWarner Loshdevice		awi
1920ab302bfSWarner Losh# Xircom pccard ethernet
1930ab302bfSWarner Loshdevice		xe
194e72032e9SMatthew N. Dodd# The probe order of these is presently determined by i386/isa/isa_compat.c.
195f71c01ccSPeter Wemmdevice		ie
196f71c01ccSPeter Wemmdevice		fe
197f71c01ccSPeter Wemmdevice		le
198f71c01ccSPeter Wemmdevice		lnc
1991f06573dSPeter Wemm
2001f06573dSPeter Wemm# Pseudo devices - the number indicates how many units to allocated.
201f71c01ccSPeter Wemmdevice		loop		# Network loopback
202f71c01ccSPeter Wemmdevice		ether		# Ethernet support
203f71c01ccSPeter Wemmdevice		sl		# Kernel SLIP
204f71c01ccSPeter Wemmdevice		ppp	1	# Kernel PPP
205f71c01ccSPeter Wemmdevice		tun		# Packet tunnel.
206f71c01ccSPeter Wemmdevice		pty		# Pseudo-ttys (telnet etc)
207f71c01ccSPeter Wemmdevice		md		# Memory "disks"
208f71c01ccSPeter Wemmdevice		gif	4	# IPv6 and IPv4 tunneling
209f71c01ccSPeter Wemmdevice		faith	1	# IPv6-to-IPv4 relaying (translation)
210c683ac7cSJoerg Wunsch
211f71c01ccSPeter Wemm# The `bpf' device enables the Berkeley Packet Filter.
2120a729622SJordan K. Hubbard# Be aware of the administrative consequences of enabling this!
213f71c01ccSPeter Wemmdevice		bpf		# Berkeley packet filter
2140cec007cSNick Hibma
2150cec007cSNick Hibma# USB support
216558d6032SJohn Baldwindevice		uhci		# UHCI PCI->USB interface
217558d6032SJohn Baldwindevice		ohci		# OHCI PCI->USB interface
218558d6032SJohn Baldwindevice		usb		# USB Bus (required)
219b5ea1f0cSNick Hibma#device		udbp		# USB Double Bulk Pipe devices
220558d6032SJohn Baldwindevice		ugen		# Generic
221558d6032SJohn Baldwindevice		uhid		# "Human Interface Devices"
222558d6032SJohn Baldwindevice		ukbd		# Keyboard
223558d6032SJohn Baldwindevice		ulpt		# Printer
224558d6032SJohn Baldwindevice		umass		# Disks/Mass storage - Requires scbus and da
225558d6032SJohn Baldwindevice		ums		# Mouse
226558d6032SJohn Baldwindevice		urio		# Diamond Rio 500 MP3 player
227418a4537SNick Hibma# USB Ethernet, requires mii
228558d6032SJohn Baldwindevice		aue		# ADMtek USB ethernet
229558d6032SJohn Baldwindevice		cue		# CATC USB ethernet
230558d6032SJohn Baldwindevice		kue		# Kawasaki LSI USB ethernet
231