summaryrefslogtreecommitdiffstats
path: root/sys/pc98/conf/GENERIC98
blob: b25dc1e7ecf0d43c3e70e041689939c3d85fdfac (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
#
# 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	10

options		"PC98"			#PC98
options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
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		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options		SYSVSHM			
options		SYSVSEM
options		SYSVMSG

options		AUTO_CLOCK
options		COM_MULTIPORT

#
#	non-Intel CPU support
#
#options	"IBM_486SLC"		# IBM486SLC/SLC2 support
#options	"CYRIX_486DLC"		# Cyrix 486DLC/SLC/DLC2/SLC2 support
#options	"CYRIX_5X86"		# Cyrix 5x86 support
#options	SUSP_HLT		# CPU enters suspend mode when HALT
#options	"DISABLE_5X86_LSSER"	# Load-Store reordering enable
#
#	IBM-PC HDD support
#options	COMPAT_ATDISK
#
#	FreeBSD(98)-current is a *TEST VERSION*.  
#	It is highly recomended to compile with following options, and to
#	record the panic messages and the result of trace command brefore 
#	reporting a problem.
options		DDB
options		DIAGNOSTIC

config		kernel	root on wd0

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 11 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
disk		fd2	at fdc0 drive 2
disk		fd3	at fdc0 drive 3
tape		ft0	at fdc0 drive 4

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

options		ATAPI	# Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0	#IDE CD-ROM

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

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

options	BS_TARG_SAFEMODE

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

controller	aic0	at isa? port 0x1840 bio irq 5 flags 0x10000 vector aicintr

controller	scbus0

device		sd0

device		od0	#See LINT for possible `od' options.

device		st0

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

controller	matcd0	at isa? port? bio

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
#options		XSERVER			# include code for XFree86

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 8 vector npxintr

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?	disable	# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
# PCCARD (PCMCIA) support
#controller	crd0
#device		pcic0	at crd?
#device		pcic1	at crd?

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port 0xd2  tty irq 5 flags 0x101 vector siointr
device		sio2	at isa? port 0x8d2 tty flags 0x101 vector siointr

device		lpt0	at isa? port "IO_LPT"  tty
device		mse0	at isa? port "IO_MSE" tty irq 13 vector mseintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device de0
device fxp0
device vx0

#
# 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
#
device ed0 at isa? port 0x00d0 net irq 6 vector edintr
device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000 vector edintr
device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000 vector edintr
device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000 vector edintr
device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000 vector edintr
device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 vector edintr
device ed6 at isa? port 0x00d0 net irq 6 flags 0x800000 vector edintr
device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000 vector edintr
device ed8 at isa? port 0x03d0 net irq 6 flags 0xa00000 vector edintr
device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000 vector edintr

device ep0 at isa? port 0x40d0 net irq 3 vector epintr
device fe0 at isa? port 0x00d0 net irq 3 vector feintr
device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000 vector zpintr 

#controller	snd0
#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3 vector sbintr
#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 vector pcmintr
#device	mss0	at isa? port 0xf40 irq 12 drq 1 vector adintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	2
# ijppp uses tun instead of ppp device
#pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

# 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

OpenPOWER on IntegriCloud