GENERIC revision 60798
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 60798 2000-05-22 16:12:28Z dan $
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 extensions
53options 	_KPOSIX_PRIORITY_SCHEDULING
54options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
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 flags 0x1
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? flags 0x100
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
183device		cs0	at isa? port 0x300
184device		sn0	at isa? port 0x300 irq 10
185# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
186# exists only as a PCMCIA device, so there is no ISA attatement needed
187# and resources will always be dynamically assigned by the pccard code.
188device		wi
189# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
190# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
191# mode (the factory default). If you set the switches on your ISA
192# card for a manually chosen I/O address and IRQ, you must specify
193# those paremeters here.
194device		an
195# BayStack 660 and others
196device		awi
197# Xircom pccard ethernet
198device		xe
199# The probe order of these is presently determined by i386/isa/isa_compat.c.
200device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
201device		fe0	at isa? port 0x300
202device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
203device		lnc0	at isa? port 0x280 irq 10 drq 0
204
205# Pseudo devices - the number indicates how many units to allocated.
206pseudo-device	loop		# Network loopback
207pseudo-device	ether		# Ethernet support
208pseudo-device	sl	1	# Kernel SLIP
209pseudo-device	ppp	1	# Kernel PPP
210pseudo-device	tun		# Packet tunnel.
211pseudo-device	pty		# Pseudo-ttys (telnet etc)
212pseudo-device	md		# Memory "disks"
213pseudo-device	gif	4	# IPv6 and IPv4 tunneling
214pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
215
216# The `bpf' pseudo-device enables the Berkeley Packet Filter.
217# Be aware of the administrative consequences of enabling this!
218pseudo-device	bpf		# Berkeley packet filter
219
220# USB support
221device		uhci		# UHCI PCI->USB interface
222device		ohci		# OHCI PCI->USB interface
223device		usb		# USB Bus (required)
224#device		udbp		# USB Double Bulk Pipe devices
225device		ugen		# Generic
226device		uhid		# "Human Interface Devices"
227device		ukbd		# Keyboard
228device		ulpt		# Printer
229device		umass		# Disks/Mass storage - Requires scbus and da
230device		ums		# Mouse
231device		urio		# Diamond Rio 500 MP3 player
232# USB Ethernet, requires mii
233device		aue		# ADMtek USB ethernet
234device		cue		# CATC USB ethernet
235device		kue		# Kawasaki LSI USB ethernet
236