GENERIC revision 45666
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.157 1999/04/11 20:53:50 n_hibma 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		FFS_ROOT		#FFS usable as root device [keep this!]
28options		MFS			#Memory Filesystem
29options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
30options		NFS			#Network Filesystem
31options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
32options		MSDOSFS			#MSDOS Filesystem
33options		"CD9660"		#ISO 9660 Filesystem
34options		"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
35options		PROCFS			#Process filesystem
36options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
37options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
38options		UCONSOLE		#Allow users to grab the console
39options		FAILSAFE		#Be conservative
40options		USERCONFIG		#boot -c editor
41options		VISUAL_USERCONFIG	#visual boot -c editor
42
43config		kernel	root on wd0
44
45# To make an SMP kernel, the next two are needed
46#options	SMP			# Symmetric MultiProcessor Kernel
47#options	APIC_IO			# Symmetric (APIC) I/O
48# Optionally these may need tweaked, (defaults shown):
49#options	NCPU=2			# number of CPUs
50#options	NBUS=4			# number of busses
51#options	NAPIC=1			# number of IO APICs
52#options	NINTR=24		# number of INTs
53
54controller	isa0
55controller	pnp0			# PnP support for ISA
56controller	eisa0
57controller	pci0
58
59controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
60disk		fd0	at fdc0 drive 0
61disk		fd1	at fdc0 drive 1
62
63controller	wdc0	at isa? port "IO_WD1" bio irq 14
64disk		wd0	at wdc0 drive 0
65disk		wd1	at wdc0 drive 1
66
67controller	wdc1	at isa? port "IO_WD2" bio irq 15
68disk		wd2	at wdc1 drive 0
69disk		wd3	at wdc1 drive 1
70
71device		wcd0		#IDE CD-ROM
72device		wfd0		#IDE Floppy (e.g. LS-120)
73
74# A single entry for any of these controllers (ncr, ahb, ahc) is
75# sufficient for any number of installed devices.
76controller	ncr0
77controller	ahb0
78controller	ahc0
79controller	isp0
80
81# This controller offers a number of configuration options, too many to
82# document here  - see the LINT file in this directory and look up the
83# dpt0 entry there for much fuller documentation on this.
84controller      dpt0
85
86controller	adv0	at isa? port ? cam irq ?
87controller	adw0
88controller	bt0	at isa? port ? cam irq ?
89controller	aha0	at isa? port ? cam irq ?
90
91controller	scbus0
92
93device		da0
94
95device		sa0
96
97device		pass0
98
99device		cd0	#Only need one of these, the code dynamically grows
100
101device		wt0	at isa? port 0x300 bio irq 5 drq 1
102device		mcd0	at isa? port 0x300 bio irq 10
103
104controller	matcd0	at isa? port 0x230 bio
105
106device		scd0	at isa? port 0x230 bio
107
108# atkbdc0 controlls both the keyboard and the PS/2 mouse
109controller	atkbdc0	at isa? port IO_KBD tty
110device		atkbd0	at isa? tty irq 1
111device		psm0	at isa? tty irq 12
112
113device		vga0	at isa? port ? conflicts
114
115# splash screen/screen saver
116pseudo-device	splash
117
118# syscons is the default console driver, resembling an SCO console
119device		sc0	at isa? tty
120# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
121#device		vt0	at isa? tty
122#options		XSERVER			# support for X server
123#options		FAT_CURSOR		# start with block cursor
124# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
125#options		PCVT_SCANSET=2		# IBM keyboards are non-std
126
127device		npx0	at isa? port IO_NPX irq 13
128
129#
130# Laptop support (see LINT for more options)
131#
132device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management
133
134# PCCARD (PCMCIA) support
135#controller	card0
136#device		pcic0	at card?
137#device		pcic1	at card?
138
139device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
140device		sio1	at isa? port "IO_COM2" tty irq 3
141device		sio2	at isa? disable port "IO_COM3" tty irq 5
142device		sio3	at isa? disable port "IO_COM4" tty irq 9
143
144# Parallel port
145device		ppc0	at isa? port? tty irq 7
146controller	ppbus0
147device		lpt0	at ppbus?
148device		plip0	at ppbus?
149device		ppi0	at ppbus?
150#controller	vpo0	at ppbus?
151
152#
153# The following Ethernet NICs are all PCI devices.
154#
155device ax0		# ASIX AX88140A
156device de0		# DEC/Intel DC21x4x (``Tulip'')
157device fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
158device mx0		# Macronix 98713/98715/98725 (``PMAC'')
159device pn0		# Lite-On 82c168/82c169 (``PNIC'')
160device rl0		# RealTek 8129/8139
161device tl0		# Texas Instruments ThunderLAN
162device tx0		# SMC 9432TX (83c170 ``EPIC'')
163device vr0		# VIA Rhine, Rhine II
164device vx0		# 3Com 3c590, 3c595 (``Vortex'')
165device wb0		# Winbond W89C840F
166device xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
167
168# Order is important here due to intrusive probes, do *not* alphabetize
169# this list of network interfaces until the probes have been fixed.
170# Right now it appears that the ie0 must be probed before ep0. See
171# revision 1.20 of this file.
172device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
173device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
174device ep0 at isa? port 0x300 net irq 10
175device ex0 at isa? port? net irq?
176device fe0 at isa? port 0x300 net irq ?
177device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
178device lnc0 at isa? port 0x280 net irq 10 drq 0
179device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
180device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
181device cs0 at isa? port 0x300 net irq ?
182
183pseudo-device	loop
184pseudo-device	ether
185pseudo-device	sl	1
186pseudo-device	ppp	1
187pseudo-device	tun	1
188pseudo-device	pty	16
189pseudo-device	gzip		# Exec gzipped a.out's
190
191# KTRACE enables the system-call tracing facility ktrace(2).
192# This adds 4 KB bloat to your kernel, and slightly increases
193# the costs of each syscall.
194options		KTRACE		#kernel tracing
195
196# This provides support for System V shared memory and message queues.
197#
198options         SYSVSHM
199options         SYSVMSG
200
201
202#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
203#  aware of the legal and administrative consequences of enabling this
204#  option.  The number of devices determines the maximum number of
205#  simultaneous BPF clients programs runnable.
206#pseudo-device	bpfilter 4	#Berkeley packet filter
207
208
209# USB support
210#controller    uhci0
211#controller    ohci0
212#controller    usb0
213#
214# for the moment we have to specify the priorities of the device
215# drivers explicitly by the ordering in the list below. This will
216# be changed in the future.
217#
218#device        ums0
219#device        ukbd0
220#device        ulpt0
221#device        ucom0
222#device        umodem0
223#device        uhid0
224#device        ugen0
225