GENERIC revision 46864
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: GENERIC98,v 1.74 1999/04/25 05:59:02 kato Exp $
15
16# GENERIC98 -- Generic PC98 machine with WD/SCSI disks
17
18machine		pc98
19cpu		I386_CPU
20cpu		I486_CPU
21cpu		I586_CPU
22cpu		I686_CPU
23ident		GENERIC98
24maxusers	32
25
26#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
27
28options		PC98			#PC98
29options		MATH_EMULATE		#Support for x87 emulation
30options		INET			#InterNETworking
31options		FFS			#Berkeley Fast Filesystem
32options		FFS_ROOT		#FFS usable as root device [keep this!]
33options		MFS			#Memory Filesystem
34options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
35options		NFS			#Network Filesystem
36options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
37options		MSDOSFS			#MSDOS Filesystem
38options		CD9660			#ISO 9660 Filesystem
39options		CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
40options		PROCFS			#Process filesystem
41options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
42options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
43options		EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
44#options		EPSON_MEMWIN		#EPSON memory window support
45options		UCONSOLE		#Allow users to grab the console
46#options		LINE30
47options		FAILSAFE		#Be conservative
48options		USERCONFIG		#boot -c editor
49options		VISUAL_USERCONFIG	#visual boot -c editor
50
51options		COM_MULTIPORT
52
53#
54#	IBM-PC HDD support
55#options	COMPAT_ATDISK
56
57# To make an SMP kernel, the next two are needed
58#options	SMP			# Symmetric MultiProcessor Kernel
59#options	APIC_IO			# Symmetric (APIC) I/O
60# Optionally these may need tweaked, (defaults shown):
61#options	NCPU=2			# number of CPUs
62#options	NBUS=4			# number of busses
63#options	NAPIC=1			# number of IO APICs
64#options	NINTR=24		# number of INTs
65
66controller	isa0	at nexus?
67controller	pnp0			# PnP support for ISA
68controller	pci0	at nexus?
69
70controller	fdc0	at isa? port IO_FD1 irq 11 drq 2
71disk		fd0	at fdc0 drive 0
72disk		fd1	at fdc0 drive 1
73disk		fd2	at fdc0 drive 2
74disk		fd3	at fdc0 drive 3
75
76controller	wdc0	at isa? port IO_WD1 irq 9
77disk		wd0	at wdc0 drive 0
78#disk		wd1	at wdc0 drive 1
79#disk		wd2	at wdc0 drive 2
80#disk		wd3	at wdc0 drive 3
81
82device		wcd0		#IDE CD-ROM
83#device		wfd0		#IDE Floppy (e.g. LS-120)
84
85# A single entry for any of these controllers (ncr, ahb, ahc) is
86# sufficient for any number of installed devices.
87controller	ncr0
88controller	ahc0
89controller	isp0
90controller	adv0
91
92#
93# WD33C93 SCSI card (55/92 like board)
94#
95
96options	BS_TARG_SAFEMODE
97
98# PC-9801-92
99controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0
100# SC-98
101# controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x10000
102# HA-55BS2 and later
103#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x20000
104# ELECOM type
105#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x30000
106# SMIT
107#controller bs0 at isa? port IO_SCSI irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
108# Logitec LHA-20x
109#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x50000
110
111controller	scbus0
112
113device		da0
114
115device		sa0
116
117device		pass0
118
119device		cd0	#Only need one of these, the code dynamically grows
120
121controller	matcd0	at isa? port?
122
123# keyboard driver
124device		pckbd0	at isa? port IO_KBD irq 1
125#options	KBD_INSTALL_CDEV
126
127device		gdc0	at isa?
128
129# splash screen/screen saver
130pseudo-device	splash
131
132device		sc0	at isa?
133
134device		npx0	at nexus? port IO_NPX irq 8
135
136#
137# Laptop support (see LINT for more options)
138#
139device		apm0    at nexus? disable flags 0x31 # Advanced Power Management
140
141# PCCARD (PCMCIA) support
142#controller	card0
143#device		pcic0	at card?
144#device		pcic1	at card?
145
146#
147# Serial Interface
148#
149# COM1
150device		sio0	at isa? port IO_COM1 irq 4
151# COM2 (2nd CCU)
152device		sio1	at isa? port 0x238 irq 5 flags 0x12000000
153# PC-9861K, PC-9801-101, MDC-926Rs
154#device		sio1	at isa? port IO_COM2 irq 5 flags 0x01000000
155#device		sio2	at isa? port IO_COM3 irq 6 flags 0x02000000
156# PC-9801-120 (PnP off)
157#device		sio1	at isa? port 0x8b0 irq 5 flags 0x11000000
158# MC-16550II, MC-RS98
159#device		sio1	at isa? port 0xd2 irq 5 flags 0x14000101
160#device		sio2	at isa? port 0x8d2 flags 0x14000101
161# RSB-2000, RSB-3000, B98-02
162#device		sio1	at isa? port 0xb0 flags 0x15000101
163#device		sio2	at isa? port 0xb1 flags 0x15000101
164# RSB-384
165#device		sio1	at isa? port 0xb0 flags 0x16000000
166#device		sio2	at isa? port 0xb1 flags 0x16000000
167# RSA-98III
168#device		sio1	at isa? port 0x50e0 irq 5 flags 0x18000101
169#device		sio2	at isa? port 0x51e0 flags 0x18000101
170# ESP98
171#options	COM_ESP
172#device		sio1	at isa? port 0x18b0 irq 5 flags 0x19000000
173
174#device		lpt0	at isa? port IO_LPT
175device		mse0	at isa? port IO_MSE irq 13
176
177#
178# The following Ethernet NICs are all PCI devices.
179#
180device ax0		# ASIX AX88140A
181device de0		# DEC/Intel DC21x4x (``Tulip'')
182device fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
183device mx0		# Macronix 98713/98715/98725 (``PMAC'')
184device pn0		# Lite-On 82c168/82c169 (``PNIC'')
185device rl0		# RealTek 8129/8139
186device tl0		# Texas Instruments ThunderLAN
187device tx0		# SMC 9432TX (83c170 ``EPIC'')
188device vr0		# VIA Rhine, Rhine II
189device vx0		# 3Com 3c590, 3c595 (``Vortex'')
190device wb0		# Winbond W89C840F
191device xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
192
193#
194# DP8390 NIC
195#
196# ed0: generic driver
197# ed1: LANEED LD-BDN
198# ed2: EGY-98
199# ed3: LGY-98
200# ed4: ICM-IF-2766/EN-2298-T
201# ed5: SIC-98
202# ed6: PC-9801-108
203# ed7: LA-98
204# ed8: C-NET(98)
205# ed9: C-NET(98)E/L
206# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
207# fe1: C-NET(98)P2/C-NET(9N)E
208#
209# FE_8BIT_SUPPORT is needed to support LAC-98
210#
211device ed0 at isa? port 0x00d0 irq 6
212device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
213device ed1 at isa? port 0x00d8 irq 6 flags 0x200000
214device ed3 at isa? port 0x00d0 irq 6 flags 0x400000
215device ed4 at isa? port 0x56d0 irq 5 flags 0x500000
216device ed2 at isa? port 0x00d8 irq 6 flags 0x300000
217device ed7 at isa? port 0x00d0 irq 6 flags 0x900000
218device ed6 at isa? port 0x0770 irq 6 flags 0x800000
219device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000
220device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
221device ep0 at isa? port 0x40d0 irq 3
222device fe0 at isa? port 0x00d0 irq 3
223device fe1 at isa? port 0x73d0 irq 5
224device lnc0 at isa? port 0x03d0 irq 6
225#device zp0 at isa? port 0x00d0 irq 10 iomem 0xe0000
226
227options FE_8BIT_SUPPORT		# LAC-98 support
228
229#controller	snd0
230#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3
231#device	sbxvi0 	at isa? drq 3
232#device	sbmidi0	at isa? port 0x80d2
233#device	opl0	at isa? port 0x28d2
234#device pcm0    at isa? port 0xa460 irq 12
235#device	mss0	at isa? port 0xf40 irq 12 drq 1
236
237pseudo-device	loop
238pseudo-device	ether
239pseudo-device	sl	1
240pseudo-device	ppp	1
241pseudo-device	tun	1
242pseudo-device	pty	16
243pseudo-device	gzip		# Exec gzipped a.out's
244
245# KTRACE enables the system-call tracing facility ktrace(2).
246# This adds 4 KB bloat to your kernel, and slightly increases
247# the costs of each syscall.
248options		KTRACE		#kernel tracing
249
250# This provides support for System V shared memory and message queues.
251#
252options         SYSVSHM
253options         SYSVMSG
254options         SYSVSEM
255
256
257#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
258#  aware of the legal and administrative consequences of enabling this
259#  option.  The number of devices determines the maximum number of
260#  simultaneous BPF clients programs runnable.
261#pseudo-device	bpfilter 4	#Berkeley packet filter
262