GENERIC revision 56456
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 56456 2000-01-23 14:46:20Z peter $
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" req'ed
38options 	MSDOSFS			#MSDOS Filesystem
39options 	CD9660			#ISO 9660 Filesystem
40options 	CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
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) syscall trace 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
54
55# To make an SMP kernel, the next two are needed
56#options 	SMP			# Symmetric MultiProcessor Kernel
57#options 	APIC_IO			# Symmetric (APIC) I/O
58# Optionally these may need tweaked, (defaults shown):
59#options 	NCPU=2			# number of CPUs
60#options 	NBUS=4			# number of busses
61#options 	NAPIC=1			# number of IO APICs
62#options 	NINTR=24		# number of INTs
63
64device		isa
65device		eisa
66device		pci
67
68# Floppy drives
69device		fdc0	at isa? port IO_FD1 irq 6 drq 2
70device		fd0	at fdc0 drive 0
71device		fd1	at fdc0 drive 1
72
73# ATA and ATAPI devices
74device		ata0	at isa? port IO_WD1 irq 14
75device		ata1	at isa? port IO_WD2 irq 15
76device		ata
77device		atadisk			# ATA disk drives
78device		atapicd			# ATAPI CDROM drives
79device		atapifd			# ATAPI floppy drives
80device		atapist			# ATAPI tape drives
81options 	ATA_STATIC_ID		#Static device numbering
82#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
83
84# SCSI Controllers
85# A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is
86# sufficient for any number of installed devices.
87device		ahb		# EISA AHA1742 family
88device		ahc		# AHA2940 and onboard AIC7xxx devices
89device		amd		# AMD 53C974 (Teckram DC-390(T))
90device		dpt		# DPT Smartcache - See LINT for options!
91device		isp		# Qlogic family
92device		ncr		# NCR/Symbios Logic
93device		sym		# NCR/Symbios Logic (newer chipsets)
94
95device		adv0	at isa? port ? irq ?
96device		adw
97device		bt0	at isa? port ? irq ?
98device		aha0	at isa? port ? irq ?
99device		aic0	at isa? port ? irq ?
100
101# SCSI peripherals
102# Only one of each of these is needed, they are dynamically allocated.
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		amr		# AMI MegaRAID
111device		mlx		# Mylex DAC960 family
112
113# atkbdc0 controls both the keyboard and the PS/2 mouse
114device		atkbdc0	at isa? port IO_KBD
115device		atkbd0	at atkbdc? irq 1
116device		psm0	at atkbdc? irq 12
117
118device		vga0	at isa? port ? conflicts
119
120# splash screen/screen saver
121pseudo-device	splash
122
123# syscons is the default console driver, resembling an SCO console
124device		sc0	at isa?
125
126# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
127#device		vt0	at isa?
128#options 	XSERVER			# support for X server
129#options 	FAT_CURSOR		# start with block cursor
130# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
131#options 	PCVT_SCANSET=2		# IBM keyboards are non-std
132
133# Floating point support - do not disable.
134device		npx0	at nexus? port IO_NPX irq 13
135
136# Power management support (see LINT for more options)
137device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
138
139# PCCARD (PCMCIA) support
140device		card
141device		pcic0	at isa? irq 10 port 0x3e0 iomem 0xd0000
142device		pcic1	at isa? irq 11 port 0x3e2 iomem 0xd4000 disable
143
144# Serial (COM) ports
145device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
146device		sio1	at isa? port IO_COM2 irq 3
147device		sio2	at isa? disable port IO_COM3 irq 5
148device		sio3	at isa? disable port IO_COM4 irq 9
149
150# Parallel port
151device		ppc0	at isa? port? irq 7
152device		ppbus			# Parallel port bus (required)
153device		lpt			# Printer
154device		plip			# TCP/IP over parallel
155device		ppi			# Parallel port interface device
156#device		vpo			# Requires scbus and da
157
158
159# PCI Ethernet NICs.
160device		de		# DEC/Intel DC21x4x (``Tulip'')
161device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
162device		tx		# SMC 9432TX (83c170 ``EPIC'')
163device		vx		# 3Com 3c590, 3c595 (``Vortex'')
164device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')
165
166# PCI Ethernet NICs that use the common MII bus controller code.
167device		miibus		# MII bus support
168device		dc		# DEC/Intel 21143 and various workalikes
169device		rl		# RealTek 8129/8139
170device		sf		# Adaptec AIC-6915 (``Starfire'')
171device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
172device		ste		# Sundance ST201 (D-Link DFE-550TX)
173device		tl		# Texas Instruments ThunderLAN
174device		vr		# VIA Rhine, Rhine II
175device		wb		# Winbond W89C840F
176device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
177
178# ISA Ethernet NICs.
179device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
180device		ex
181device		ep
182# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
183# exists only as a PCMCIA device, so there is no ISA attatement needed
184# and resources will always be dynamically assigned by the pccard code.
185device		wi
186# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
187# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
188# mode (the factory default). If you set the switches on your ISA
189# card for a manually chosen I/O address and IRQ, you must specify
190# those paremeters here.
191device		an
192# The probe order of these is presently determined by i386/isa/isa_compat.c.
193device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
194device		fe0	at isa? port 0x300 irq ?
195device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
196device		lnc0	at isa? port 0x280 irq 10 drq 0
197device		cs0	at isa? port 0x300 irq ?
198device		sn0	at isa? port 0x300 irq 10
199# requires PCCARD (PCMCIA) support to be activated
200#device		xe0	at isa? port? irq ?
201
202# Pseudo devices - the number indicates how many units to allocated.
203pseudo-device	loop		# Network loopback
204pseudo-device	ether		# Ethernet support
205pseudo-device	sl	1	# Kernel SLIP
206pseudo-device	ppp	1	# Kernel PPP
207pseudo-device	tun		# Packet tunnel.
208pseudo-device	pty		# Pseudo-ttys (telnet etc)
209pseudo-device	md		# Memory "disks"
210
211# The `bpf' pseudo-device enables the Berkeley Packet Filter.
212# Be aware of the administrative consequences of enabling this!
213pseudo-device	bpf		#Berkeley packet filter
214
215# USB support
216#device		uhci		# UHCI PCI->USB interface
217#device		ohci		# OHCI PCI->USB interface
218#device		usb		# USB Bus (required)
219#device		ugen		# Generic
220#device		uhid		# "Human Interface Devices"
221#device		ukbd		# Keyboard
222#device		ulpt		# Printer
223#device		umass		# Disks/Mass storage - Requires scbus and da0
224#device		ums		# Mouse
225# USB Ethernet
226#device		aue		# ADMtek USB ethernet
227#device		cue		# CATC USB ethernet
228#device		kue		# Kawasaki LSI USB ethernet
229