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