GENERIC revision 56724
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 56724 2000-01-28 06:13:09Z imp $
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 	FFS			#Berkeley Fast Filesystem
33options 	FFS_ROOT		#FFS usable as root device [keep this!]
34options 	MFS			#Memory Filesystem
35options 	MD_ROOT			#MD is a potential root device
36options 	NFS			#Network Filesystem
37options 	NFS_ROOT		#NFS usable as root device, NFS required
38options 	MSDOSFS			#MSDOS Filesystem
39options 	CD9660			#ISO 9660 Filesystem
40options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
41options 	PROCFS			#Process filesystem
42options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
43options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
44options 	UCONSOLE		#Allow users to grab the console
45options 	USERCONFIG		#boot -c editor
46options 	VISUAL_USERCONFIG	#visual boot -c editor
47options 	KTRACE			#ktrace(1) support
48options 	SYSVSHM			#SYSV-style shared memory
49options 	SYSVMSG			#SYSV-style message queues
50options 	SYSVSEM			#SYSV-style semaphores
51options 	P1003_1B		#Posix P1003_1B real-time extentions
52options 	_KPOSIX_PRIORITY_SCHEDULING
53options 	_KPOSIX_VERSION=199309L
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
68
69# Floppy drives
70device		fdc0	at isa? port IO_FD1 irq 6 drq 2
71device		fd0	at fdc0 drive 0
72device		fd1	at fdc0 drive 1
73
74# ATA and ATAPI devices
75device		ata0	at isa? port IO_WD1 irq 14
76device		ata1	at isa? port IO_WD2 irq 15
77device		ata
78device		atadisk			# ATA disk drives
79device		atapicd			# ATAPI CDROM drives
80device		atapifd			# ATAPI floppy drives
81device		atapist			# ATAPI tape drives
82options 	ATA_STATIC_ID		#Static device numbering
83#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
84
85# SCSI Controllers
86device		ahb		# EISA AHA1742 family
87device		ahc		# AHA2940 and onboard AIC7xxx devices
88device		amd		# AMD 53C974 (Teckram DC-390(T))
89device		dpt		# DPT Smartcache - See LINT for options!
90device		isp		# Qlogic family
91device		ncr		# NCR/Symbios Logic
92device		sym		# NCR/Symbios Logic (newer chipsets)
93
94device		adv0	at isa?
95device		adw
96device		bt0	at isa?
97device		aha0	at isa?
98device		aic0	at isa?
99
100# SCSI peripherals
101device		scbus		# SCSI bus (required)
102device		da		# Direct Access (disks)
103device		sa		# Sequential Access (tape etc)
104device		cd		# CD
105device		pass		# Passthrough device (direct SCSI access)
106
107# RAID controllers
108device		amr		# AMI MegaRAID
109device		mlx		# Mylex DAC960 family
110
111# atkbdc0 controls both the keyboard and the PS/2 mouse
112device		atkbdc0	at isa? port IO_KBD
113device		atkbd0	at atkbdc? irq 1
114device		psm0	at atkbdc? irq 12
115
116device		vga0	at isa? conflicts
117
118# splash screen/screen saver
119pseudo-device	splash
120
121# syscons is the default console driver, resembling an SCO console
122device		sc0	at isa?
123
124# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
125#device		vt0	at isa?
126#options 	XSERVER			# support for X server
127#options 	FAT_CURSOR		# start with block cursor
128# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
129#options 	PCVT_SCANSET=2		# IBM keyboards are non-std
130
131# Floating point support - do not disable.
132device		npx0	at nexus? port IO_NPX irq 13
133
134# Power management support (see LINT for more options)
135device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
136
137# PCCARD (PCMCIA) support
138device		card
139device		pcic0	at isa? irq 10 port 0x3e0 iomem 0xd0000
140device		pcic1	at isa? irq 11 port 0x3e2 iomem 0xd4000 disable
141
142# Serial (COM) ports
143device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
144device		sio1	at isa? port IO_COM2 irq 3
145device		sio2	at isa? disable port IO_COM3 irq 5
146device		sio3	at isa? disable port IO_COM4 irq 9
147
148# Parallel port
149device		ppc0	at isa? irq 7
150device		ppbus		# Parallel port bus (required)
151device		lpt		# Printer
152device		plip		# TCP/IP over parallel
153device		ppi		# Parallel port interface device
154#device		vpo		# Requires scbus and da
155
156
157# PCI Ethernet NICs.
158device		de		# DEC/Intel DC21x4x (``Tulip'')
159device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
160device		tx		# SMC 9432TX (83c170 ``EPIC'')
161device		vx		# 3Com 3c590, 3c595 (``Vortex'')
162device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')
163
164# PCI Ethernet NICs that use the common MII bus controller code.
165device		miibus		# MII bus support
166device		dc		# DEC/Intel 21143 and various workalikes
167device		rl		# RealTek 8129/8139
168device		sf		# Adaptec AIC-6915 (``Starfire'')
169device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
170device		ste		# Sundance ST201 (D-Link DFE-550TX)
171device		tl		# Texas Instruments ThunderLAN
172device		vr		# VIA Rhine, Rhine II
173device		wb		# Winbond W89C840F
174device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
175
176# ISA Ethernet NICs.
177device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
178device		ex
179device		ep
180# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
181# exists only as a PCMCIA device, so there is no ISA attatement needed
182# and resources will always be dynamically assigned by the pccard code.
183device		wi
184# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
185# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
186# mode (the factory default). If you set the switches on your ISA
187# card for a manually chosen I/O address and IRQ, you must specify
188# those paremeters here.
189device		an
190# The probe order of these is presently determined by i386/isa/isa_compat.c.
191device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
192device		fe0	at isa? port 0x300
193device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
194device		lnc0	at isa? port 0x280 irq 10 drq 0
195device		cs0	at isa? port 0x300
196device		sn0	at isa? port 0x300 irq 10
197# requires PCCARD (PCMCIA) support to be activated
198#device		xe0	at isa?
199
200# Pseudo devices - the number indicates how many units to allocated.
201pseudo-device	loop		# Network loopback
202pseudo-device	ether		# Ethernet support
203pseudo-device	sl	1	# Kernel SLIP
204pseudo-device	ppp	1	# Kernel PPP
205pseudo-device	tun		# Packet tunnel.
206pseudo-device	pty		# Pseudo-ttys (telnet etc)
207pseudo-device	md		# Memory "disks"
208
209# The `bpf' pseudo-device enables the Berkeley Packet Filter.
210# Be aware of the administrative consequences of enabling this!
211pseudo-device	bpf		#Berkeley packet filter
212
213# USB support
214#device		uhci		# UHCI PCI->USB interface
215#device		ohci		# OHCI PCI->USB interface
216#device		usb		# USB Bus (required)
217#device		ugen		# Generic
218#device		uhid		# "Human Interface Devices"
219#device		ukbd		# Keyboard
220#device		ulpt		# Printer
221#device		umass		# Disks/Mass storage - Requires scbus and da0
222#device		ums		# Mouse
223# USB Ethernet
224#device		aue		# ADMtek USB ethernet
225#device		cue		# CATC USB ethernet
226#device		kue		# Kawasaki LSI USB ethernet
227