GENERIC revision 57524
1107286Sobrien#
295349Sobrien# GENERIC -- Generic kernel configuration file for FreeBSD/i386
334229Speter#
434229Speter# For more information on this file, please read the handbook section on
551408Sobrien# Kernel Configuration Files:
652112Sobrien#
718334Speter#    http://www.freebsd.org/handbook/kernelconfig-config.html
818334Speter#
918334Speter# The handbook is also available locally in /usr/share/doc/handbook
1018334Speter# if you've installed the doc distribution, otherwise always see the
1118334Speter# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
1218334Speter# latest information.
1318334Speter#
1418334Speter# An exhaustive list of options and more detailed explanations of the
1518334Speter# device lines is also present in the ./LINT configuration file. If you are
1618334Speter# in doubt as to the purpose or necessity of a line, check first in LINT.
1718334Speter#
1818334Speter# $FreeBSD: head/sys/amd64/conf/GENERIC 57524 2000-02-26 22:09:31Z jkh $
1918334Speter
2018334Spetermachine		i386
2118334Spetercpu		I386_CPU
2218334Spetercpu		I486_CPU
2318334Spetercpu		I586_CPU
2418334Spetercpu		I686_CPU
2551408Sobrienident		GENERIC
2618334Spetermaxusers	32
2758478Sobrien
28114077Sobrien#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
2951408Sobrien
3058478Sobrienoptions 	MATH_EMULATE		#Support for x87 emulation
31107286Sobrienoptions 	INET			#InterNETworking
3258478Sobrienoptions 	INET6			#IPv6 communications protocols
3395349Sobrienoptions 	FFS			#Berkeley Fast Filesystem
3458478Sobrienoptions 	FFS_ROOT		#FFS usable as root device [keep this!]
3558478Sobrienoptions 	MFS			#Memory Filesystem
3658478Sobrienoptions 	MD_ROOT			#MD is a potential root device
3758478Sobrienoptions 	NFS			#Network Filesystem
3858478Sobrienoptions 	NFS_ROOT		#NFS usable as root device, NFS required
3958478Sobrienoptions 	MSDOSFS			#MSDOS Filesystem
4058478Sobrienoptions 	CD9660			#ISO 9660 Filesystem
4158478Sobrienoptions 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
4258478Sobrienoptions 	PROCFS			#Process filesystem
4358478Sobrienoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
4458478Sobrienoptions 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
4558478Sobrienoptions 	UCONSOLE		#Allow users to grab the console
4658478Sobrienoptions 	USERCONFIG		#boot -c editor
4758478Sobrienoptions 	VISUAL_USERCONFIG	#visual boot -c editor
4858478Sobrienoptions 	KTRACE			#ktrace(1) support
49117418Skanoptions 	SYSVSHM			#SYSV-style shared memory
5058478Sobrienoptions 	SYSVMSG			#SYSV-style message queues
5195349Sobrienoptions 	SYSVSEM			#SYSV-style semaphores
5258478Sobrienoptions 	P1003_1B		#Posix P1003_1B real-time extentions
5358478Sobrienoptions 	_KPOSIX_PRIORITY_SCHEDULING
5458478Sobrienoptions		ICMP_BANDLIM		#Rate limit bad replies
5558478Sobrien
5658478Sobrien# To make an SMP kernel, the next two are needed
57119016Sgordon#options 	SMP			# Symmetric MultiProcessor Kernel
5895349Sobrien#options 	APIC_IO			# Symmetric (APIC) I/O
59107286Sobrien# Optionally these may need tweaked, (defaults shown):
6058478Sobrien#options 	NCPU=2			# number of CPUs
61119414Sobrien#options 	NBUS=4			# number of busses
62119414Sobrien#options 	NAPIC=1			# number of IO APICs
6395349Sobrien#options 	NINTR=24		# number of INTs
6458478Sobrien
65119414Sobriendevice		isa
6658478Sobriendevice		eisa
67119414Sobriendevice		pci
6858478Sobrien
6958478Sobrien# Floppy drives
70119414Sobriendevice		fdc0	at isa? port IO_FD1 irq 6 drq 2
7158478Sobriendevice		fd0	at fdc0 drive 0
7258478Sobriendevice		fd1	at fdc0 drive 1
7358478Sobrien
7458478Sobrien# ATA and ATAPI devices
7595349Sobriendevice		ata0	at isa? port IO_WD1 irq 14
7658478Sobriendevice		ata1	at isa? port IO_WD2 irq 15
7758478Sobriendevice		ata
7858478Sobriendevice		atadisk			# ATA disk drives
7995349Sobriendevice		atapicd			# ATAPI CDROM drives
8098597Sobriendevice		atapifd			# ATAPI floppy drives
8195349Sobriendevice		atapist			# ATAPI tape drives
8295349Sobrienoptions 	ATA_STATIC_ID		#Static device numbering
8398597Sobrien#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
8458478Sobrien
8595349Sobrien# SCSI Controllers
8698597Sobriendevice		ahb		# EISA AHA1742 family
8795349Sobriendevice		ahc		# AHA2940 and onboard AIC7xxx devices
8858478Sobriendevice		amd		# AMD 53C974 (Teckram DC-390(T))
8958478Sobriendevice		dpt		# DPT Smartcache - See LINT for options!
9034229Speterdevice		isp		# Qlogic family
9118349Speterdevice		ncr		# NCR/Symbios Logic
9234229Speterdevice		sym		# NCR/Symbios Logic (newer chipsets)
93107286Sobrien
9418349Speterdevice		adv0	at isa?
9534229Speterdevice		adw
9652112Sobriendevice		bt0	at isa?
9768601Sobriendevice		aha0	at isa?
98107286Sobriendevice		aic0	at isa?
9918349Speter
10058478Sobrien# SCSI peripherals
10195810Sobriendevice		scbus		# SCSI bus (required)
10295810Sobriendevice		da		# Direct Access (disks)
10358478Sobriendevice		sa		# Sequential Access (tape etc)
10458478Sobriendevice		cd		# CD
10595349Sobriendevice		pass		# Passthrough device (direct SCSI access)
10695349Sobrien
10795349Sobrien# RAID controllers
10895349Sobriendevice		amr		# AMI MegaRAID
10918349Speterdevice		mlx		# Mylex DAC960 family
11095349Sobrien
11195349Sobrien# atkbdc0 controls both the keyboard and the PS/2 mouse
11295349Sobriendevice		atkbdc0	at isa? port IO_KBD
113117418Skandevice		atkbd0	at atkbdc? irq 1
114117418Skandevice		psm0	at atkbdc? irq 12
115117418Skan
116117418Skandevice		vga0	at isa?
117117479Skan
118117479Skan# splash screen/screen saver
119117479Skanpseudo-device	splash
120117479Skan
121117479Skan# syscons is the default console driver, resembling an SCO console
122117479Skandevice		sc0	at isa?
123117418Skan
124117418Skan# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
12558478Sobrien#device		vt0	at isa?
12695810Sobrien#options 	XSERVER			# support for X server on a vt console
12758478Sobrien#options 	FAT_CURSOR		# start with block cursor
12858478Sobrien# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
12958478Sobrien#options 	PCVT_SCANSET=2		# IBM keyboards are non-std
13058478Sobrien
131117418Skan# Floating point support - do not disable.
132117418Skandevice		npx0	at nexus? port IO_NPX irq 13
13358478Sobrien
13458478Sobrien# Power management support (see LINT for more options)
13558478Sobriendevice		apm0    at nexus? disable flags 0x20 # Advanced Power Management
13695810Sobrien
13758478Sobrien# PCCARD (PCMCIA) support
13858478Sobriendevice		card
13958478Sobriendevice		pcic0	at isa? irq 10 port 0x3e0 iomem 0xd0000
14058478Sobriendevice		pcic1	at isa? irq 11 port 0x3e2 iomem 0xd4000 disable
14195348Sobrien
14295348Sobrien# Serial (COM) ports
14395348Sobriendevice		sio0	at isa? port IO_COM1 flags 0x10 irq 4
14495348Sobriendevice		sio1	at isa? port IO_COM2 irq 3
14596144Sobriendevice		sio2	at isa? disable port IO_COM3 irq 5
14658478Sobriendevice		sio3	at isa? disable port IO_COM4 irq 9
14758478Sobrien
14858478Sobrien# Parallel port
14995349Sobriendevice		ppc0	at isa? irq 7
15058478Sobriendevice		ppbus		# Parallel port bus (required)
151107286Sobriendevice		lpt		# Printer
15258478Sobriendevice		plip		# TCP/IP over parallel
15358478Sobriendevice		ppi		# Parallel port interface device
15458478Sobrien#device		vpo		# Requires scbus and da
15558478Sobrien
156123715Skan
15758478Sobrien# PCI Ethernet NICs.
15858478Sobriendevice		de		# DEC/Intel DC21x4x (``Tulip'')
159123715Skandevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
16058478Sobriendevice		tx		# SMC 9432TX (83c170 ``EPIC'')
16158478Sobriendevice		vx		# 3Com 3c590, 3c595 (``Vortex'')
162123715Skandevice		wx		# Intel Gigabit Ethernet Card (``Wiseman'')
16358478Sobrien
164123715Skan# PCI Ethernet NICs that use the common MII bus controller code.
16558478Sobriendevice		miibus		# MII bus support
166123715Skandevice		dc		# DEC/Intel 21143 and various workalikes
167123715Skandevice		rl		# RealTek 8129/8139
168123715Skandevice		sf		# Adaptec AIC-6915 (``Starfire'')
169123715Skandevice		sis		# Silicon Integrated Systems SiS 900/SiS 7016
170123715Skandevice		ste		# Sundance ST201 (D-Link DFE-550TX)
171123715Skandevice		tl		# Texas Instruments ThunderLAN
172123715Skandevice		vr		# VIA Rhine, Rhine II
173123715Skandevice		wb		# Winbond W89C840F
174123715Skandevice		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
175123715Skan
17658478Sobrien# ISA Ethernet NICs.
17758478Sobriendevice		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
17856810Sobriendevice		ex
17956810Sobriendevice		ep
18056810Sobrien# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
18195810Sobrien# exists only as a PCMCIA device, so there is no ISA attatement needed
18256810Sobrien# and resources will always be dynamically assigned by the pccard code.
18358478Sobriendevice		wi
18452112Sobrien# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
18597907Sobrien# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
18697907Sobrien# mode (the factory default). If you set the switches on your ISA
18797907Sobrien# card for a manually chosen I/O address and IRQ, you must specify
18897907Sobrien# those paremeters here.
18997907Sobriendevice		an
19097907Sobrien# The probe order of these is presently determined by i386/isa/isa_compat.c.
19197907Sobriendevice		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
19296466Sobriendevice		fe0	at isa? port 0x300
19318349Speterdevice		le0	at isa? port 0x300 irq 5 iomem 0xd0000
19495810Sobriendevice		lnc0	at isa? port 0x280 irq 10 drq 0
19595810Sobriendevice		cs0	at isa? port 0x300
19695810Sobriendevice		sn0	at isa? port 0x300 irq 10
19751408Sobrien# requires PCCARD (PCMCIA) support to be activated
19895810Sobrien#device		xe0	at isa?
19951408Sobrien
20096447Sobrien# Pseudo devices - the number indicates how many units to allocated.
20196447Sobrienpseudo-device	loop		# Network loopback
20296447Sobrienpseudo-device	ether		# Ethernet support
20395810Sobrienpseudo-device	sl	1	# Kernel SLIP
20496447Sobrienpseudo-device	ppp	1	# Kernel PPP
20596466Sobrienpseudo-device	tun		# Packet tunnel.
20697910Sobrienpseudo-device	pty		# Pseudo-ttys (telnet etc)
207107286Sobrienpseudo-device	md		# Memory "disks"
20897910Sobrien# for IPv6
20997910Sobrienpseudo-device	gif	4	#IPv6 and IPv4 tunneling
21097910Sobrienpseudo-device	faith	1	#for IPv6 and IPv4 translation
21197910Sobrien
21296466Sobrien# The `bpf' pseudo-device enables the Berkeley Packet Filter.
21395810Sobrien# Be aware of the administrative consequences of enabling this!
21458478Sobrienpseudo-device	bpf		#Berkeley packet filter
215113420Skan
216113420Skan# USB support
217113420Skan#device		uhci		# UHCI PCI->USB interface
218113420Skan#device		ohci		# OHCI PCI->USB interface
219113420Skan#device		usb		# USB Bus (required)
220113420Skan#device		ugen		# Generic
221113420Skan#device		uhid		# "Human Interface Devices"
222113420Skan#device		ukbd		# Keyboard
223113420Skan#device		ulpt		# Printer
22473305Sobrien#device		umass		# Disks/Mass storage - Requires scbus and da
225113420Skan#device		ums		# Mouse
226113420Skan# USB Ethernet, requires mii
227113420Skan#device		aue		# ADMtek USB ethernet
228113420Skan#device		cue		# CATC USB ethernet
229113420Skan#device		kue		# Kawasaki LSI USB ethernet
230113420Skan