GENERIC revision 54134
1181847Sjkim#
2182393Sjkim# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3181847Sjkim#
4181847Sjkim# For more information on this file, please read the handbook section on
5181847Sjkim# Kernel Configuration Files:
6181847Sjkim#
7181847Sjkim#    http://www.freebsd.org/handbook/kernelconfig-config.html
8181847Sjkim#
9182393Sjkim# The handbook is also available locally in /usr/share/doc/handbook
10182393Sjkim# if you've installed the doc distribution, otherwise always see the
11182393Sjkim# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
12182393Sjkim# latest information.
13181847Sjkim#
14182393Sjkim# An exhaustive list of options and more detailed explanations of the
15182393Sjkim# device lines is also present in the ./LINT configuration file. If you are
16181847Sjkim# in doubt as to the purpose or necessity of a line, check first in LINT.
17181847Sjkim#
18181847Sjkim# $FreeBSD: head/sys/amd64/conf/GENERIC 54134 1999-12-04 17:41:31Z wpaul $
19181847Sjkim
20181847Sjkimmachine		i386
21181847Sjkimcpu		I386_CPU
22181847Sjkimcpu		I486_CPU
23181847Sjkimcpu		I586_CPU
24181847Sjkimcpu		I686_CPU
25181847Sjkimident		GENERIC
26181847Sjkimmaxusers	32
27181847Sjkim
28181847Sjkim#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
29181847Sjkim
30181847Sjkimoptions 	MATH_EMULATE		#Support for x87 emulation
31181847Sjkimoptions 	INET			#InterNETworking
32181847Sjkimoptions 	FFS			#Berkeley Fast Filesystem
33181847Sjkimoptions 	FFS_ROOT		#FFS usable as root device [keep this!]
34181847Sjkimoptions 	MD_ROOT			#MD is a potential root device
35181847Sjkimoptions 	MFS			#Memory Filesystem
36182393Sjkimoptions 	NFS			#Network Filesystem
37181847Sjkimoptions 	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	#Be pessimistic about Joe SCSI device
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
51
52# To make an SMP kernel, the next two are needed
53#options 	SMP			# Symmetric MultiProcessor Kernel
54#options 	APIC_IO			# Symmetric (APIC) I/O
55# Optionally these may need tweaked, (defaults shown):
56#options 	NCPU=2			# number of CPUs
57#options 	NBUS=4			# number of busses
58#options 	NAPIC=1			# number of IO APICs
59#options 	NINTR=24		# number of INTs
60
61controller	isa0
62controller	pnp0			# PnP support for ISA
63controller	eisa0
64controller	pci0
65
66# Floppy drives
67controller	fdc0	at isa? port IO_FD1 irq 6 drq 2
68device		fd0	at fdc0 drive 0
69device		fd1	at fdc0 drive 1
70
71# IDE controller and disks
72controller	wdc0	at isa? port IO_WD1 irq 14
73device		wd0	at wdc0 drive 0
74device		wd1	at wdc0 drive 1
75
76controller	wdc1	at isa? port IO_WD2 irq 15
77device		wd2	at wdc1 drive 0
78device		wd3	at wdc1 drive 1
79
80# ATAPI devices on wdc?
81device		wcd0		#IDE CD-ROM
82device		wfd0		#IDE Floppy (e.g. LS-120)
83device		wst0		#IDE Tape (e.g. Travan)
84
85# The 'ATA' driver supports all ATA and ATAPI devices.
86# It can reuse the majors of wd.c for booting purposes.
87# You only need one "controller ata0" for it to find all
88# PCI ATA/ATAPI devices on modern machines.
89#controller	ata0
90#device		atadisk0	# ATA disk drives
91#device		atapicd0	# ATAPI CDROM drives
92#device		atapifd0	# ATAPI floppy drives
93#device		atapist0	# ATAPI tape drives
94#options 	ATA_STATIC_ID		#Static dev number like old `wd' driver
95#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
96
97# SCSI Controllers
98# A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is
99# sufficient for any number of installed devices.
100controller	ahb0		# EISA AHA1742 family
101controller	ahc0		# AHA2940 and onboard AIC7xxx devices
102controller	amd0		# AMD 53C974 (Teckram DC-390(T))
103controller	dpt0		# DPT Smartcache - See LINT for options!
104controller	isp0		# Qlogic family
105controller	ncr0		# NCR/Symbios Logic
106#controller	sym0		# NCR/Symbios Logic (do not mix with ncr, it conflicts)
107
108controller	adv0	at isa? port ? irq ?
109controller	adw0
110controller	bt0	at isa? port ? irq ?
111controller	aha0	at isa? port ? irq ?
112
113# SCSI peripherals
114# Only one of each of these is needed, they are dynamically allocated.
115controller	scbus0		# SCSI bus (required)
116device		da0		# Direct Access (disks)
117device		sa0		# Sequential Access (tape etc)
118device		cd0		# CD
119device		pass0		# Passthrough device (direct SCSI access)
120
121# RAID controllers
122device		amr0		# AMI MegaRAID
123device		mlx0		# Mylex DAC960 family
124
125# Proprietary or custom CD-ROM Interfaces
126device		wt0	at isa? port 0x300 irq 5 drq 1
127device		mcd0	at isa? port 0x300 irq 10
128device		matcd0	at isa? port 0x230
129device		scd0	at isa? port 0x230
130
131# atkbdc0 controls both the keyboard and the PS/2 mouse
132controller	atkbdc0	at isa? port IO_KBD
133device		atkbd0	at atkbdc? irq 1
134device		psm0	at atkbdc? irq 12
135
136device		vga0	at isa? port ? conflicts
137
138# splash screen/screen saver
139pseudo-device	splash
140
141# syscons is the default console driver, resembling an SCO console
142device		sc0	at isa?
143
144# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
145#device		vt0	at isa?
146#options 	XSERVER			# support for X server
147#options 	FAT_CURSOR		# start with block cursor
148# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
149#options 	PCVT_SCANSET=2		# IBM keyboards are non-std
150
151# Floating point support - do not disable.
152device		npx0	at nexus? port IO_NPX irq 13
153
154# Power management support (see LINT for more options)
155device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
156
157# PCCARD (PCMCIA) support
158#controller	card0
159#device		pcic0	at isa?
160#device		pcic1	at isa?
161
162# Serial (COM) ports
163device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
164device		sio1	at isa? port IO_COM2 irq 3
165device		sio2	at isa? disable port IO_COM3 irq 5
166device		sio3	at isa? disable port IO_COM4 irq 9
167
168# Parallel port
169device		ppc0	at isa? port? flags 0x40 irq 7
170controller	ppbus0		# Parallel port bus (required)
171device		lpt0		# Printer
172device		plip0		# TCP/IP over parallel
173device		ppi0		# Parallel port interface device
174#controller	vpo0		# Requires scbus and da0
175
176
177# PCI Ethernet NICs.
178device		de0		# DEC/Intel DC21x4x (``Tulip'')
179device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
180device		tx0		# SMC 9432TX (83c170 ``EPIC'')
181device		vx0		# 3Com 3c590, 3c595 (``Vortex'')
182
183# PCI Ethernet NICs that use the common MII bus controller code.
184controller	miibus0		# MII bus support
185device		dc0		# DEC/Intel 21143 and various workalikes
186device		rl0		# RealTek 8129/8139
187device		sf0		# Adaptec AIC-6915 (``Starfire'')
188device		sis0		# Silicon Integrated Systems SiS 900/SiS 7016
189device		ste0		# Sundance ST201 (D-Link DFE-550TX)
190device		tl0		# Texas Instruments ThunderLAN
191device		vr0		# VIA Rhine, Rhine II
192device		wb0		# Winbond W89C840F
193device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
194
195# ISA Ethernet NICs.
196device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
197device		ex0	at isa? port? irq?
198device		ep0
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 irq ?
202device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
203device		lnc0	at isa? port 0x280 irq 10 drq 0
204device		cs0	at isa? port 0x300 irq ?
205# requires PCCARD (PCMCIA) support to be activated
206#device		xe0	at isa? port? irq ?
207
208# PCCARD NIC drivers.
209# ze and zp take over the pcic and cannot coexist with generic pccard
210# support, nor the ed and ep drivers they replace.
211#device		ze0	at isa? port 0x300 irq 10 iomem 0xd8000	
212#device		zp0	at isa? port 0x300 irq 10 iomem 0xd8000
213
214# Pseudo devices - the number indicates how many units to allocated.
215pseudo-device	loop		# Network loopback
216pseudo-device	ether		# Ethernet support
217pseudo-device	sl	1	# Kernel SLIP
218pseudo-device	ppp	1	# Kernel PPP
219pseudo-device	tun		# Packet tunnel.
220pseudo-device	pty		# Pseudo-ttys (telnet etc)
221pseudo-device	md		# Memory "disks"
222
223# The `bpf' pseudo-device enables the Berkeley Packet Filter.
224# Be aware of the administrative consequences of enabling this!
225pseudo-device	bpf		#Berkeley packet filter
226
227# USB support
228#controller	uhci0		# UHCI PCI->USB interface
229#controller	ohci0		# OHCI PCI->USB interface
230#controller	usb0		# USB Bus (required)
231#device		ugen0		# Generic
232#device		uhid0		# "Human Interface Devices"
233#device		ukbd0		# Keyboard
234#device		ulpt0		# Printer
235#controller	umass0		# Disks/Mass storage - Requires scbus and da0
236#device		ums0		# Mouse
237