GENERIC revision 51432
1254721Semaste#
2254721Semaste# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3254721Semaste#
4254721Semaste# For more information on this file, please read the handbook section on
5254721Semaste# Kernel Configuration Files:
6254721Semaste#
7254721Semaste#    http://www.freebsd.org/handbook/kernelconfig-config.html
8254721Semaste#
9254721Semaste# The handbook is also available locally in /usr/share/doc/handbook
10254721Semaste# if you've installed the doc distribution, otherwise always see the
11254721Semaste# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
12254721Semaste# latest information.
13254721Semaste#
14254721Semaste# An exhaustive list of options and more detailed explanations of the
15254721Semaste# device lines is also present in the ./LINT configuration file. If you are
16254721Semaste# in doubt as to the purpose or necessity of a line, check first in LINT.
17254721Semaste#
18254721Semaste# $FreeBSD: head/sys/amd64/conf/GENERIC 51432 1999-09-19 22:03:31Z wpaul $
19254721Semaste
20254721Semastemachine		i386
21254721Semastecpu		I386_CPU
22254721Semastecpu		I486_CPU
23254721Semastecpu		I586_CPU
24254721Semastecpu		I686_CPU
25254721Semasteident		GENERIC
26254721Semastemaxusers	32
27254721Semaste
28254721Semaste#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
29254721Semaste
30254721Semasteoptions 	MATH_EMULATE		#Support for x87 emulation
31254721Semasteoptions 	INET			#InterNETworking
32254721Semasteoptions 	FFS			#Berkeley Fast Filesystem
33254721Semasteoptions 	FFS_ROOT		#FFS usable as root device [keep this!]
34254721Semasteoptions 	MFS			#Memory Filesystem
35254721Semasteoptions 	MFS_ROOT		#MFS usable as root device, "MFS" req'ed
36254721Semasteoptions 	NFS			#Network Filesystem
37254721Semasteoptions 	NFS_ROOT		#NFS usable as root device, "NFS" req'ed
38254721Semasteoptions 	MSDOSFS			#MSDOS Filesystem
39254721Semasteoptions 	CD9660			#ISO 9660 Filesystem
40254721Semasteoptions 	CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
41254721Semasteoptions 	PROCFS			#Process filesystem
42254721Semasteoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
43254721Semasteoptions 	SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
44254721Semasteoptions 	UCONSOLE		#Allow users to grab the console
45254721Semasteoptions 	USERCONFIG		#boot -c editor
46254721Semasteoptions 	VISUAL_USERCONFIG	#visual boot -c editor
47254721Semasteoptions 	KTRACE			#ktrace(1) syscall trace support
48254721Semasteoptions         SYSVSHM			#SYSV-style shared memory
49254721Semasteoptions         SYSVMSG			#SYSV-style message queues
50254721Semasteoptions         SYSVSEM			#SYSV-style semaphores
51254721Semaste
52254721Semaste# To make an SMP kernel, the next two are needed
53254721Semaste#options 	SMP			# Symmetric MultiProcessor Kernel
54254721Semaste#options 	APIC_IO			# Symmetric (APIC) I/O
55254721Semaste# Optionally these may need tweaked, (defaults shown):
56254721Semaste#options 	NCPU=2			# number of CPUs
57254721Semaste#options 	NBUS=4			# number of busses
58254721Semaste#options 	NAPIC=1			# number of IO APICs
59254721Semaste#options 	NINTR=24		# number of INTs
60254721Semaste
61254721Semastecontroller	isa0
62254721Semastecontroller	pnp0			# PnP support for ISA
63254721Semastecontroller	eisa0
64254721Semastecontroller	pci0
65254721Semaste
66254721Semaste# Floppy drives
67254721Semastecontroller	fdc0	at isa? port IO_FD1 irq 6 drq 2
68254721Semastedisk		fd0	at fdc0 drive 0
69254721Semastedisk		fd1	at fdc0 drive 1
70254721Semaste
71254721Semaste# IDE controller and disks
72254721Semastecontroller	wdc0	at isa? port IO_WD1 irq 14
73254721Semastedisk		wd0	at wdc0 drive 0
74254721Semastedisk		wd1	at wdc0 drive 1
75254721Semaste
76254721Semastecontroller	wdc1	at isa? port IO_WD2 irq 15
77254721Semastedisk		wd2	at wdc1 drive 0
78254721Semastedisk		wd3	at wdc1 drive 1
79254721Semaste
80254721Semaste# ATAPI devices on wdc?
81254721Semastedevice		wcd0		#IDE CD-ROM
82254721Semastedevice		wfd0		#IDE Floppy (e.g. LS-120)
83254721Semastedevice		wst0		#IDE Tape (e.g. Travan)
84254721Semaste
85254721Semaste# SCSI Controllers
86254721Semaste# A single entry for any of these controllers (ncr, ahb, ahc) is
87254721Semaste# sufficient for any number of installed devices.
88254721Semastecontroller	ncr0		# NCR/Symbios Logic
89254721Semastecontroller	ahb0		# EISA AHA1742 family
90controller	ahc0		# AHA2940 and onboard AIC7xxx devices
91controller	amd0		# AMD 53C974 (Teckram DC-390(T))
92controller	isp0		# Qlogic family
93controller      dpt0		# DPT Smartcache - See LINT for options!
94
95controller	adv0	at isa? port ? irq ?
96controller	adw0
97controller	bt0	at isa? port ? irq ?
98controller	aha0	at isa? port ? irq ?
99
100# SCSI peripherals
101# Only one of each of these is needed, they are dynamically allocated.
102controller	scbus0		# SCSI bus (required)
103device		da0		# Direct Access (disks)
104device		sa0		# Sequential Access (tape etc)
105device		cd0		# CD
106device		pass0		# Passthrough device (direct SCSI access)
107
108# Proprietary or custom CD-ROM Interfaces
109device		wt0	at isa? port 0x300 irq 5 drq 1
110device		mcd0	at isa? port 0x300 irq 10
111device		matcd0	at isa? port 0x230
112device		scd0	at isa? port 0x230
113
114# atkbdc0 controls both the keyboard and the PS/2 mouse
115controller	atkbdc0	at isa? port IO_KBD
116device		atkbd0	at atkbdc? irq 1
117device		psm0	at atkbdc? irq 12
118
119device		vga0	at isa? port ? conflicts
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 and PCVT_FREEBSD for pcvt vt220 compatible console driver
128#device		vt0	at isa?
129#options 	XSERVER			# support for X server
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 0x31 # Advanced Power Management
139
140# PCCARD (PCMCIA) support
141#controller	card0
142#device		pcic0	at card?
143#device		pcic1	at card?
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? port? flags 0x40 irq 7
153controller	ppbus0		# Parallel port bus (required)
154device		lpt0		# Printer
155device		plip0		# TCP/IP over parallel
156device		ppi0		# Parallel port interface device
157#controller	vpo0		# Requires scbus and da0
158
159
160# PCI Ethernet NICs.
161device		al0		# ADMtek AL981 (``Comet'')
162device		ax0		# ASIX AX88140A
163device		de0		# DEC/Intel DC21x4x (``Tulip'')
164device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
165device		mx0		# Macronix 98713/98715/98725 (``PMAC'')
166device		pn0		# Lite-On 82c168/82c169 (``PNIC'')
167device		tx0		# SMC 9432TX (83c170 ``EPIC'')
168device		vx0		# 3Com 3c590, 3c595 (``Vortex'')
169
170# PCI Ethernet NICs that use the common MII bus controller code.
171controller	miibus0		# MII bus support
172device		dm0		# Davicom DM9100/DM9102
173device		rl0		# RealTek 8129/8139
174device		sf0		# Adaptec AIC-6915 (``Starfire'')
175device		sis0		# Silicon Integrated Systems SiS 900/SiS 7016
176device		ste0		# Sundance ST201 (D-Link DFE-550TX)
177device		tl0		# Texas Instruments ThunderLAN
178device		vr0		# VIA Rhine, Rhine II
179device		wb0		# Winbond W89C840F
180device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
181
182# ISA Ethernet NICs.
183# The probe order of these is presently determined by i386/isa/isa_compat.c.
184device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
185device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
186device		ep0	at isa? port 0x300 irq 10
187device		ex0	at isa? port? irq?
188device		fe0	at isa? port 0x300 irq ?
189device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
190device		lnc0	at isa? port 0x280 irq 10 drq 0
191device		cs0	at isa? port 0x300 irq ?
192# requires PCCARD (PCMCIA) support to be activated
193#device		xe0	at isa? port? irq ?
194
195# PCCARD NIC drivers.
196# ze and zp take over the pcic and cannot coexist with generic pccard
197# support, nor the ed and ep drivers they replace.
198#device		ze0	at isa? port 0x300 irq 10 iomem 0xd8000	
199#device		zp0	at isa? port 0x300 irq 10 iomem 0xd8000
200
201# Pseudo devices - the number indicates how many units to allocated.
202pseudo-device	loop		# Network loopback
203pseudo-device	ether		# Ethernet support
204pseudo-device	sl	1	# Kernel SLIP
205pseudo-device	ppp	1	# Kernel PPP
206pseudo-device	tun		# Packet tunnel.
207pseudo-device	pty		# Pseudo-ttys (telnet etc)
208pseudo-device	gzip		# Exec gzipped a.out's
209
210# The `bpf' pseudo-device enables the Berkeley Packet Filter.
211# Be aware of the administrative consequences of enabling this!
212pseudo-device	bpf		#Berkeley packet filter
213
214# USB support
215#controller	uhci0		# UHCI PCI->USB interface
216#controller	ohci0		# OHCI PCI->USB interface
217#controller	usb0		# USB Bus (required)
218#device		ugen0		# Generic
219#device		uhid0		# "Human Interface Devices"
220#device		ukbd0		# Keyboard
221#device		ulpt0		# Printer
222#controller	umass0		# Disks/Mass storage - Requires scbus and da0
223#device		ums0		# Mouse
224