summaryrefslogtreecommitdiffstats
path: root/sys/pc98/conf/GENERIC
blob: 05c3b8bf2eb96e89939a5288074db24701318433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD$

# GENERIC98 -- Generic PC98 machine with WD/SCSI disks

machine		pc98
cpu		I386_CPU
cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		GENERIC98
maxusers	32

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options		PC98			#PC98
options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options		NFS			#Network Filesystem
options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options		MSDOSFS			#MSDOS Filesystem
options		CD9660			#ISO 9660 Filesystem
options		CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options		EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
#options		EPSON_MEMWIN		#EPSON memory window support
options		UCONSOLE		#Allow users to grab the console
#options		LINE30
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options		COM_MULTIPORT

#
#	IBM-PC HDD support
#options	COMPAT_ATDISK

# To make an SMP kernel, the next two are needed
#options	SMP			# Symmetric MultiProcessor Kernel
#options	APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options	NCPU=2			# number of CPUs
#options	NBUS=4			# number of busses
#options	NAPIC=1			# number of IO APICs
#options	NINTR=24		# number of INTs

controller	isa0	at nexus?
controller	pnp0			# PnP support for ISA
controller	pci0	at nexus?

controller	fdc0	at isa? port IO_FD1 irq 11 drq 2
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
disk		fd2	at fdc0 drive 2
disk		fd3	at fdc0 drive 3

controller	wdc0	at isa? port IO_WD1 irq 9
disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1
#disk		wd2	at wdc0 drive 2
#disk		wd3	at wdc0 drive 3

device		wcd0		#IDE CD-ROM
#device		wfd0		#IDE Floppy (e.g. LS-120)

# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
controller	ncr0
controller	ahc0
controller	isp0
controller	adv0

#
# WD33C93 SCSI card (55/92 like board)
#

options	BS_TARG_SAFEMODE

# PC-9801-92
controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0
# SC-98
# controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x10000
# HA-55BS2 and later
#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x20000
# ELECOM type
#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x30000
# SMIT
#controller bs0 at isa? port IO_SCSI irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
# Logitec LHA-20x
#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x50000

controller	scbus0

device		da0

device		sa0

device		pass0

device		cd0	#Only need one of these, the code dynamically grows

controller	matcd0	at isa? port?

# keyboard driver
device		pckbd0	at isa? port IO_KBD irq 1
#options	KBD_INSTALL_CDEV

device		gdc0	at isa?

# splash screen/screen saver
pseudo-device	splash

device		sc0	at isa?

device		npx0	at nexus? port IO_NPX irq 8

#
# Laptop support (see LINT for more options)
#
device		apm0    at nexus? disable flags 0x31 # Advanced Power Management

# PCCARD (PCMCIA) support
#controller	card0
#device		pcic0	at card?
#device		pcic1	at card?

#
# Serial Interface
#
# COM1
device		sio0	at isa? port IO_COM1 irq 4
# COM2 (2nd CCU)
device		sio1	at isa? port 0x238 irq 5 flags 0x12000000
# PC-9861K, PC-9801-101, MDC-926Rs
#device		sio1	at isa? port IO_COM2 irq 5 flags 0x01000000
#device		sio2	at isa? port IO_COM3 irq 6 flags 0x02000000
# PC-9801-120 (PnP off)
#device		sio1	at isa? port 0x8b0 irq 5 flags 0x11000000
# MC-16550II, MC-RS98
#device		sio1	at isa? port 0xd2 irq 5 flags 0x14000101
#device		sio2	at isa? port 0x8d2 flags 0x14000101
# RSB-2000, RSB-3000, B98-02
#device		sio1	at isa? port 0xb0 flags 0x15000101
#device		sio2	at isa? port 0xb1 flags 0x15000101
# RSB-384
#device		sio1	at isa? port 0xb0 flags 0x16000000
#device		sio2	at isa? port 0xb1 flags 0x16000000
# RSA-98III
#device		sio1	at isa? port 0x50e0 irq 5 flags 0x18000101
#device		sio2	at isa? port 0x51e0 flags 0x18000101
# ESP98
#options	COM_ESP
#device		sio1	at isa? port 0x18b0 irq 5 flags 0x19000000

device		mse0	at isa? port IO_MSE irq 13
# NEW Parallel port
device		ppc0	at isa? port? irq 14
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
#controller	vpo0	at ppbus?
# OLD Parallel port
# Please stay olpt driver after ppc driver
device		olpt0	at isa? port IO_LPT

#
# The following Ethernet NICs are all PCI devices.
#
device		ax0		# ASIX AX88140A
device		de0		# DEC/Intel DC21x4x (``Tulip'')
device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
device		mx0		# Macronix 98713/98715/98725 (``PMAC'')
device		pn0		# Lite-On 82c168/82c169 (``PNIC'')
device		rl0		# RealTek 8129/8139
device		sf0		# Adaptec AIC-6915 (``Starfire'')
device		tl0		# Texas Instruments ThunderLAN
device		tx0		# SMC 9432TX (83c170 ``EPIC'')
device		vr0		# VIA Rhine, Rhine II
device		vx0		# 3Com 3c590, 3c595 (``Vortex'')
device		wb0		# Winbond W89C840F
device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

#
# DP8390 NIC
#
# ed0: generic driver
# ed1: LANEED LD-BDN
# ed2: EGY-98
# ed3: LGY-98
# ed4: ICM-IF-2766/EN-2298-T
# ed5: SIC-98
# ed6: PC-9801-108
# ed7: LA-98
# ed8: C-NET(98)
# ed9: C-NET(98)E/L
# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
# fe1: C-NET(98)P2/C-NET(9N)E
#
# FE_8BIT_SUPPORT is needed to support LAC-98
#
device ed0 at isa? port 0x00d0 irq 6
device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
device ed1 at isa? port 0x00d8 irq 6 flags 0x200000
device ed3 at isa? port 0x00d0 irq 6 flags 0x400000
device ed4 at isa? port 0x56d0 irq 5 flags 0x500000
device ed2 at isa? port 0x00d8 irq 6 flags 0x300000
device ed7 at isa? port 0x00d0 irq 6 flags 0x900000
device ed6 at isa? port 0x0770 irq 6 flags 0x800000
device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000
device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
device ep0 at isa? port 0x40d0 irq 3
device fe0 at isa? port 0x00d0 irq 3
device fe1 at isa? port 0x73d0 irq 5
device lnc0 at isa? port 0x03d0 irq 6
#device zp0 at isa? port 0x00d0 irq 10 iomem 0xe0000

options FE_8BIT_SUPPORT		# LAC-98 support

#controller	snd0
#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3
#device	sbxvi0 	at isa? drq 3
#device	sbmidi0	at isa? port 0x80d2
#device	opl0	at isa? port 0x28d2
#device pcm0    at isa? port 0xa460 irq 12
#device	mss0	at isa? port 0xf40 irq 12 drq 1

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	
pseudo-device	pty
pseudo-device	gzip		# Exec gzipped a.out's

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing

# This provides support for System V shared memory and message queues.
#
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM
OpenPOWER on IntegriCloud