GENERIC revision 49829
1#
2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
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#	$Id: GENERIC,v 1.181 1999/08/15 09:38:20 phk Exp $
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 	MFS_ROOT		#MFS usable as root device, "MFS" req'ed
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	#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
68disk		fd0	at fdc0 drive 0
69disk		fd1	at fdc0 drive 1
70
71# IDE controller and disks
72controller	wdc0	at isa? port IO_WD1 irq 14
73disk		wd0	at wdc0 drive 0
74disk		wd1	at wdc0 drive 1
75
76controller	wdc1	at isa? port IO_WD2 irq 15
77disk		wd2	at wdc1 drive 0
78disk		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# SCSI Controllers
86# A single entry for any of these controllers (ncr, ahb, ahc) is
87# sufficient for any number of installed devices.
88controller	ncr0		# NCR/Symbios Logic
89controller	ahb0		# EISA AHA1742 family
90controller	ahc0		# AHA2940 and onboard AIC7xxx devices
91controller	isp0		# Qlogic family
92controller      dpt0		# DPT Smartcache - See LINT for options!
93
94controller	adv0	at isa? port ? irq ?
95controller	adw0
96controller	bt0	at isa? port ? irq ?
97controller	aha0	at isa? port ? irq ?
98
99# SCSI peripherals
100# Only one of each of these is needed, they are dynamically allocated.
101controller	scbus0		# SCSI bus (required)
102device		da0		# Direct Access (disks)
103device		sa0		# Sequential Access (tape etc)
104device		cd0		# CD
105device		pass0		# Passthrough device (direct SCSI access)
106
107# Proprietary or custom CD-ROM Interfaces
108device		wt0	at isa? port 0x300 irq 5 drq 1
109device		mcd0	at isa? port 0x300 irq 10
110device		matcd0	at isa? port 0x230
111device		scd0	at isa? port 0x230
112
113# atkbdc0 controls both the keyboard and the PS/2 mouse
114controller	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 0x31 # Advanced Power Management
138
139# PCCARD (PCMCIA) support
140#controller	card0
141#device		pcic0	at card?
142#device		pcic1	at card?
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? flags 0x40 irq 7
152controller	ppbus0		# Parallel port bus (required)
153device		lpt0		# Printer
154device		plip0		# TCP/IP over parallel
155device		ppi0		# Parallel port interface device
156#controller	vpo0		# Requires scbus and da0
157
158# PCI Ethernet NICs.
159device		al0		# ADMtek AL981 (``Comet'')
160device		ax0		# ASIX AX88140A
161device		de0		# DEC/Intel DC21x4x (``Tulip'')
162device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
163device		mx0		# Macronix 98713/98715/98725 (``PMAC'')
164device		pn0		# Lite-On 82c168/82c169 (``PNIC'')
165device		rl0		# RealTek 8129/8139
166device		sf0		# Adaptec AIC-6915 (``Starfire'')
167device		tl0		# Texas Instruments ThunderLAN
168device		tx0		# SMC 9432TX (83c170 ``EPIC'')
169device		vr0		# VIA Rhine, Rhine II
170device		vx0		# 3Com 3c590, 3c595 (``Vortex'')
171device		wb0		# Winbond W89C840F
172device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
173
174# ISA Ethernet NICs.
175# The probe order of these is presently determined by i386/isa/isa_compat.c.
176device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
177device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
178device		ep0	at isa? port 0x300 irq 10
179device		ex0	at isa? port? irq?
180device		fe0	at isa? port 0x300 irq ?
181device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
182device		lnc0	at isa? port 0x280 irq 10 drq 0
183device		cs0	at isa? port 0x300 irq ?
184# requires PCCARD (PCMCIA) support to be activated
185#device		xe0	at isa? port? irq ?
186
187# PCCARD NIC drivers.
188# ze and zp take over the pcic and cannot coexist with generic pccard
189# support, nor the ed and ep drivers they replace.
190#device		ze0	at isa? port 0x300 irq 10 iomem 0xd8000	
191#device		zp0	at isa? port 0x300 irq 10 iomem 0xd8000
192
193# Pseudo devices - the number indicates how many units to allocated.
194pseudo-device	loop		# Network loopback
195pseudo-device	ether		# Ethernet support
196pseudo-device	sl	1	# Kernel SLIP
197pseudo-device	ppp	1	# Kernel PPP
198pseudo-device	tun		# Packet tunnel, for ppp(1)
199pseudo-device	pty		# Pseudo-ttys (telnet etc)
200pseudo-device	gzip		# Exec gzipped a.out's
201
202# The `bpf' pseudo-device enables the Berkeley Packet Filter.
203# Be aware of the administrative consequences of enabling this!
204pseudo-device	bpf		#Berkeley packet filter
205
206# USB support
207#controller	uhci0		# UHCI PCI->USB interface
208#controller	ohci0		# OHCI PCI->USB interface
209#controller	usb0		# USB Bus (required)
210#device		ugen0		# Generic
211#device		uhid0		# "Human Interface Devices"
212#device		ukbd0		# Keyboard
213#device		ulpt0		# Printer
214#controller	umass0		# Disks/Mass storage - Requires scbus and da0
215#device		ums0		# Mouse
216