GENERIC revision 39242
1#
2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3#
4# For more information read the handbook part System Administration -> 
5# Configuring the FreeBSD Kernel -> The Configuration File. 
6# The handbook is available in /usr/share/doc/handbook or online as
7# latest version from the FreeBSD World Wide Web server 
8# <URL:http://www.FreeBSD.ORG/>
9#
10# An exhaustive list of options and more detailed explanations of the 
11# device lines is present in the ./LINT configuration file. If you are 
12# in doubt as to the purpose or necessity of a line, check first in LINT.
13#
14#	$Id: GENERIC,v 1.115 1998/09/04 19:55:51 msmith Exp $
15
16machine		"i386"
17cpu		"I386_CPU"
18cpu		"I486_CPU"
19cpu		"I586_CPU"
20cpu		"I686_CPU"
21ident		GENERIC
22maxusers	32
23
24options		MATH_EMULATE		#Support for x87 emulation
25options		INET			#InterNETworking
26options		FFS			#Berkeley Fast Filesystem
27options		NFS			#Network Filesystem
28options		MSDOSFS			#MSDOS Filesystem
29options		"CD9660"		#ISO 9660 Filesystem
30options		"CD9660_ROOT"		#CD-ROM usable as root device
31options		FFS_ROOT		#FFS usable as root device [keep this!]
32options		NFS_ROOT		#NFS usable as root device
33options		PROCFS			#Process filesystem
34options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
35options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
36options		SCSI_CAM		#We're using CAM in this kernel
37options		UCONSOLE		#Allow users to grab the console
38options		FAILSAFE		#Be conservative
39options		USERCONFIG		#boot -c editor
40options		VISUAL_USERCONFIG	#visual boot -c editor
41
42config		kernel	root on wd0
43
44controller	isa0
45controller	eisa0
46controller	pci0
47
48controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
49disk		fd0	at fdc0 drive 0
50disk		fd1	at fdc0 drive 1
51# Unless you know very well what you're doing, leave ft0 at drive 2, or
52# remove the line entirely if you don't need it.  Trying to configure
53# it on another unit might cause surprises, see PR kern/7176.
54tape		ft0	at fdc0 drive 2
55
56options		"CMD640"	# work around CMD640 chip deficiency
57controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
58disk		wd0	at wdc0 drive 0
59disk		wd1	at wdc0 drive 1
60
61controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
62disk		wd2	at wdc1 drive 0
63disk		wd3	at wdc1 drive 1
64
65options		ATAPI		#Enable ATAPI support for IDE bus
66options		ATAPI_STATIC	#Don't do it as an LKM
67device		wcd0		#IDE CD-ROM
68device		wfd0		#IDE Floppy (e.g. LS-120)
69
70# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
71# sufficient for any number of installed devices.
72controller	ncr0
73#controller	amd0
74controller	ahb0
75controller	ahc0
76controller	isp0
77
78# This controller offers a number of configuration options, too many to
79# document here  - see the LINT file in this directory and look up the
80# dpt0 entry there for much fuller documentation on this.  The options
81# line following dpt0 here is also currently a *required* option for it.
82# controller      dpt0
83# options DPT_MEASURE_PERFORMANCE
84
85controller	adv0	at isa? port ? cam irq ?
86controller	bt0	at isa? port ? cam irq ?
87controller	aha0	at isa? port ? cam irq ?
88#controller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
89#controller	aic0	at isa? port 0x340 bio irq 11 vector aicintr
90#controller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
91#controller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
92#controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
93
94controller	scbus0
95
96device		da0
97
98device		sa0
99
100device		pass0
101
102device		cd0	#Only need one of these, the code dynamically grows
103
104device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
105device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
106
107controller	matcd0	at isa? port 0x230 bio
108
109device		scd0	at isa? port 0x230 bio
110
111# syscons is the default console driver, resembling an SCO console
112device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
113# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
114#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
115#options		XSERVER			# support for X server
116#options		FAT_CURSOR		# start with block cursor
117# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
118#options		PCVT_SCANSET=2		# IBM keyboards are non-std
119
120device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
121
122#
123# Laptop support (see LINT for more options)
124#
125device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management
126
127# PCCARD (PCMCIA) support
128#controller	card0
129#device		pcic0	at card?
130#device		pcic1	at card?
131
132device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
133device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
134device		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr
135device		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
136
137device		lpt0	at isa? port? tty irq 7 vector lptintr
138device		lpt1	at isa? port? tty
139device		mse0	at isa? port 0x23c tty irq 5 vector mseintr
140
141device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
142
143# Order is important here due to intrusive probes, do *not* alphabetize
144# this list of network interfaces until the probes have been fixed.
145# Right now it appears that the ie0 must be probed before ep0. See
146# revision 1.20 of this file.
147device de0
148device fxp0
149device tl0
150device tx0
151device vx0
152device xl0
153
154device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr
155device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr
156device ep0 at isa? port 0x300 net irq 10 vector epintr
157device ex0 at isa? port? net irq? vector exintr
158device fe0 at isa? port 0x300 net irq ? vector feintr
159device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
160device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
161device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr
162device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
163device cs0 at isa? port 0x300 net irq ? vector csintr
164
165pseudo-device	loop
166pseudo-device	ether
167pseudo-device	sl	1
168pseudo-device	ppp	1
169pseudo-device	tun	1
170pseudo-device	pty	16
171pseudo-device	gzip		# Exec gzipped a.out's
172
173# KTRACE enables the system-call tracing facility ktrace(2).
174# This adds 4 KB bloat to your kernel, and slightly increases
175# the costs of each syscall.
176options		KTRACE		#kernel tracing
177
178# This provides support for System V shared memory.
179#
180options		SYSVSHM
181