Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

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