GENERIC revision 59008
1#
2# GENERIC -- Generic kernel configuration file for FreeBSD/i386
3#
4# For more information on this file, please read the handbook section on
5# Kernel Configuration Files:
6#
7#    http://www.freebsd.org/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ./LINT configuration file. If you are
16# in doubt as to the purpose or necessity of a line, check first in LINT.
17#
18# $FreeBSD: head/sys/amd64/conf/GENERIC 59008 2000-04-04 13:14:43Z hm $
19
20machine		i386
21cpu		I386_CPU
22cpu		I486_CPU
23cpu		I586_CPU
24cpu		I686_CPU
25ident		GENERIC
26maxusers	32
27
28#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
29
30options 	MATH_EMULATE		#Support for x87 emulation
31options 	INET			#InterNETworking
32options 	INET6			#IPv6 communications protocols
33options 	FFS			#Berkeley Fast Filesystem
34options 	FFS_ROOT		#FFS usable as root device [keep this!]
35options 	MFS			#Memory Filesystem
36options 	MD_ROOT			#MD is a potential root device
37options 	NFS			#Network Filesystem
38options 	NFS_ROOT		#NFS usable as root device, NFS required
39options 	MSDOSFS			#MSDOS Filesystem
40options 	CD9660			#ISO 9660 Filesystem
41options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
42options 	PROCFS			#Process filesystem
43options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
44options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
45options 	UCONSOLE		#Allow users to grab the console
46options 	USERCONFIG		#boot -c editor
47options 	VISUAL_USERCONFIG	#visual boot -c editor
48options 	KTRACE			#ktrace(1) support
49options 	SYSVSHM			#SYSV-style shared memory
50options 	SYSVMSG			#SYSV-style message queues
51options 	SYSVSEM			#SYSV-style semaphores
52options 	P1003_1B		#Posix P1003_1B real-time extentions
53options 	_KPOSIX_PRIORITY_SCHEDULING
54options		ICMP_BANDLIM		#Rate limit bad replies
55
56# To make an SMP kernel, the next two are needed
57#options 	SMP			# Symmetric MultiProcessor Kernel
58#options 	APIC_IO			# Symmetric (APIC) I/O
59# Optionally these may need tweaked, (defaults shown):
60#options 	NCPU=2			# number of CPUs
61#options 	NBUS=4			# number of busses
62#options 	NAPIC=1			# number of IO APICs
63#options 	NINTR=24		# number of INTs
64
65device		isa
66device		eisa
67device		pci
68options 	COMPAT_OLDISA		# Old ISA driver shims
69options 	COMPAT_OLDPCI		# Old PCI driver shims
70
71# Floppy drives
72device		fdc0	at isa? port IO_FD1 irq 6 drq 2
73device		fd0	at fdc0 drive 0
74device		fd1	at fdc0 drive 1
75
76# ATA and ATAPI devices
77device		ata0	at isa? port IO_WD1 irq 14
78device		ata1	at isa? port IO_WD2 irq 15
79device		ata
80device		atadisk			# ATA disk drives
81device		atapicd			# ATAPI CDROM drives
82device		atapifd			# ATAPI floppy drives
83device		atapist			# ATAPI tape drives
84options 	ATA_STATIC_ID		#Static device numbering
85#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
86
87# SCSI Controllers
88device		ahb		# EISA AHA1742 family
89device		ahc		# AHA2940 and onboard AIC7xxx devices
90device		amd		# AMD 53C974 (Teckram DC-390(T))
91device		dpt		# DPT Smartcache - See LINT for options!
92device		isp		# Qlogic family
93device		ncr		# NCR/Symbios Logic
94device		sym		# NCR/Symbios Logic (newer chipsets)
95
96device		adv0	at isa?
97device		adw
98device		bt0	at isa?
99device		aha0	at isa?
100device		aic0	at isa?
101
102# SCSI peripherals
103device		scbus		# SCSI bus (required)
104device		da		# Direct Access (disks)
105device		sa		# Sequential Access (tape etc)
106device		cd		# CD
107device		pass		# Passthrough device (direct SCSI access)
108
109# RAID controllers
110device		ida		# Compaq Smart RAID
111device		amr		# AMI MegaRAID
112device		mlx		# Mylex DAC960 family
113
114# atkbdc0 controls both the keyboard and the PS/2 mouse
115device		atkbdc0	at isa? port IO_KBD
116device		atkbd0	at atkbdc? irq 1
117device		psm0	at atkbdc? irq 12
118
119device		vga0	at isa?
120
121# splash screen/screen saver
122pseudo-device	splash
123
124# syscons is the default console driver, resembling an SCO console
125device		sc0	at isa?
126
127# Enable this for the pcvt (VT220 compatible) console driver
128#device		vt0	at isa?
129#options 	XSERVER			# support for X server on a vt console
130#options 	FAT_CURSOR		# start with block cursor
131# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
132#options 	PCVT_SCANSET=2		# IBM keyboards are non-std
133
134# Floating point support - do not disable.
135device		npx0	at nexus? port IO_NPX irq 13
136
137# Power management support (see LINT for more options)
138device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
139
140# PCCARD (PCMCIA) support
141device		card
142device		pcic0	at isa? irq 10 port 0x3e0 iomem 0xd0000
143device		pcic1	at isa? irq 11 port 0x3e2 iomem 0xd4000 disable
144
145# Serial (COM) ports
146device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
147device		sio1	at isa? port IO_COM2 irq 3
148device		sio2	at isa? disable port IO_COM3 irq 5
149device		sio3	at isa? disable port IO_COM4 irq 9
150
151# Parallel port
152device		ppc0	at isa? irq 7
153device		ppbus		# Parallel port bus (required)
154device		lpt		# Printer
155device		plip		# TCP/IP over parallel
156device		ppi		# Parallel port interface device
157#device		vpo		# Requires scbus and da
158
159
160# PCI Ethernet NICs.
161device		de		# DEC/Intel DC21x4x (``Tulip'')
162device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
163device		tx		# SMC 9432TX (83c170 ``EPIC'')
164device		vx		# 3Com 3c590, 3c595 (``Vortex'')
165device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')
166
167# PCI Ethernet NICs that use the common MII bus controller code.
168device		miibus		# MII bus support
169device		dc		# DEC/Intel 21143 and various workalikes
170device		rl		# RealTek 8129/8139
171device		sf		# Adaptec AIC-6915 (``Starfire'')
172device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
173device		ste		# Sundance ST201 (D-Link DFE-550TX)
174device		tl		# Texas Instruments ThunderLAN
175device		vr		# VIA Rhine, Rhine II
176device		wb		# Winbond W89C840F
177device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
178
179# ISA Ethernet NICs.
180device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
181device		ex
182device		ep
183# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
184# exists only as a PCMCIA device, so there is no ISA attatement needed
185# and resources will always be dynamically assigned by the pccard code.
186device		wi
187# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
188# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
189# mode (the factory default). If you set the switches on your ISA
190# card for a manually chosen I/O address and IRQ, you must specify
191# those paremeters here.
192device		an
193# The probe order of these is presently determined by i386/isa/isa_compat.c.
194device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
195device		fe0	at isa? port 0x300
196device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
197device		lnc0	at isa? port 0x280 irq 10 drq 0
198device		cs0	at isa? port 0x300
199device		sn0	at isa? port 0x300 irq 10
200# requires PCCARD (PCMCIA) support to be activated
201#device		xe0	at isa?
202
203# Pseudo devices - the number indicates how many units to allocated.
204pseudo-device	loop		# Network loopback
205pseudo-device	ether		# Ethernet support
206pseudo-device	sl	1	# Kernel SLIP
207pseudo-device	ppp	1	# Kernel PPP
208pseudo-device	tun		# Packet tunnel.
209pseudo-device	pty		# Pseudo-ttys (telnet etc)
210pseudo-device	md		# Memory "disks"
211pseudo-device	gif	4	# IPv6 and IPv4 tunneling
212pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
213
214# The `bpf' pseudo-device enables the Berkeley Packet Filter.
215# Be aware of the administrative consequences of enabling this!
216pseudo-device	bpf		# Berkeley packet filter
217
218# USB support
219#device		uhci		# UHCI PCI->USB interface
220#device		ohci		# OHCI PCI->USB interface
221#device		usb		# USB Bus (required)
222#device		ugen		# Generic
223#device		uhid		# "Human Interface Devices"
224#device		ukbd		# Keyboard
225#device		ulpt		# Printer
226#device		umass		# Disks/Mass storage - Requires scbus and da
227#device		ums		# Mouse
228#device		urio		# Diamond Rio 500 MP3 player
229# USB Ethernet, requires mii
230#device		aue		# ADMtek USB ethernet
231#device		cue		# CATC USB ethernet
232#device		kue		# Kawasaki LSI USB ethernet
233