TX3922 revision 1.29
1#
2# Distribution kernel (TOSHIBA TX3922 based model) kernel config file
3#
4#	$NetBSD: TX3922,v 1.29 2000/11/14 19:52:05 augustss Exp $
5#
6include		"arch/hpcmips/conf/std.hpcmips"
7
8maxusers	8
9
10options 	MIPS1			# R2000/R3000 CPUs
11options 	ENABLE_MIPS_TX3900	# R3900 CPU core
12options 	NOFPU			# No FPU
13options 	SOFTFLOAT		# emulate FPU insn
14#options 	R3900_CACHE_DISABLE	# Disable I/D-cache
15
16options 	TX39XX			# Toshiba TX39 series
17options 	TX392X			# Toshiba TX3922
18options 	KSEG2IOBUFSIZE=0x08000000	# MCS0/MCS1 are mapped to kseg2
19
20options 	TX39_DEBUG
21#options	TX39_WATCHDOGTIMER
22#options	WINCE_DEFAULT_SETTING	# Debugging use
23#options 	TX39ICUDEBUG
24#options 	TX39BIUDEBUG
25#options 	TX39POWERDEBUG
26#options 	TX39UARTDEBUG
27
28options 	DDB			# in-kernel debugger
29#options 	DIAGNOSTIC		# extra kernel debugging checks
30options 	DEBUG			# extra kernel debugging support
31options 	KTRACE			# system call tracing support
32options		MSGBUFSIZE=65534
33
34options 	__NO_SOFT_SERIAL_INTERRUPT
35options 	SERIALCONSSLOT=0	# UARTA 0, UARTB 1
36
37options 	COMPAT_43
38
39options 	SCSIVERBOSE	# human readable SCSI error messages
40options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
41options 	USBVERBOSE	# verbose USB device autoconfig messages
42options 	MIIVERBOSE	# verbose PHY autoconfig messages
43
44options 	NTP			# network time protocol
45#options 	UCONSOLE		# users can redirect console (unsafe)
46
47# File systems
48file-system 	FFS		# UFS
49#file-system 	EXT2FS		# second extended file system (linux)
50#file-system 	LFS		# log-structured file system
51file-system 	MFS		# memory file system
52file-system 	NFS		# Network File System client
53#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
54file-system 	MSDOSFS		# MS-DOS file system
55file-system 	FDESC		# /dev/fd
56file-system 	KERNFS		# /kern
57#file-system 	NULLFS		# loopback file system
58#file-system 	OVERLAY		# overlay file system
59#file-system 	PORTAL		# portal filesystem (still experimental)
60file-system 	PROCFS		# /proc
61#file-system 	UMAPFS		# NULLFS + uid and gid remapping
62file-system 	UNION		# union file system
63#file-system	CODA		# Coda File System; also needs vcoda (below)
64
65# Networking options
66#options 	GATEWAY		# IP packet forwarding
67options 	INET		# IP + ICMP + TCP + UDP
68options 	INET6		# IPV6
69#options 	IPSEC		# IP security
70#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
71#options 	IPSEC_DEBUG	# debug for IP security
72#options 	MROUTING	# Multicast routing support
73#options 	ISO		# OSI networking
74#options 	TPIP		# TPIP
75#options 	EON		# OSI tunneling over IP
76#options 	CCITT,LLC,HDLC	# X.25
77
78options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
79options 	SOFTDEP         # FFS soft updates support.
80#options 	QUOTA		# UFS quotas
81options 	VNODE_OP_NOINLINE # don't inline vnode op calls
82
83options 	NFS_BOOT_DHCP
84
85config		netbsd		root on ? type ?
86
87# Networking options
88options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
89options 	PPP_DEFLATE	# Deflate compression support for PPP
90options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
91
92# temporally power management
93hpcapm0	at mainbus0			# power management
94apmdev0	at hpcapm0			# APM
95
96txsim*	at mainbus0
97#
98# TX39 System Internal Modules
99#
100tx39biu*	at txsim?
101tx39icu*	at txsim?
102tx39clock*	at txsim?
103tx39power*	at txsim?
104tx39io*		at txsim?
105tx39sib*	at txsim?
106tx39uart*	at txsim?
107txcom0		at tx39uart? slot 0
108txcom1		at tx39uart? slot 1
109
110txcsbus1	at tx39biu? platform SHARP_TELIOS
111txcsbus2	at tx39biu? platform VICTOR_INTERLINK
112
113# unified IO module manager
114# group 0 MFIO
115#	1 IO
116#	2 BETTY IO (
117#	(3) ITE IO notyet
118#	(4) Plum2 IO (EXTPW[0:2]) notyet
119txioman1 at txsim? platform SHARP_TELIOS_HCAJ1
120txin*	at txioman1 id BTN_APP0		group 1 port 7 edge 1 # IE button 
121txin*	at txioman1 id BTN_APP1		group 1 port 8 edge 1 # Mail button 
122txin*	at txioman1 id PME_AC		group 1 port 6 edge 1 # AC-power
123txin*	at txioman1 id COM0_CTS		group 0 port 27 edge 3
124txin*	at txioman1 id COM0_DCD		group 0 port 29 edge 3
125txout*	at txioman1 id PWCTL_LED	group 1 port 4  flags 3 #(blink)
126
127txioman2 at txsim? platform SHARP_TELIOS_HCVJ1C_JP
128txin*	at txioman2 id BTN_APP0		evtype BUTTON group 1 port 7 edge 1 # IE button 
129txin*	at txioman2 id BTN_APP1		evtype BUTTON group 1 port 8 edge 1 # Mail button 
130txin*	at txioman2 id BTN_APP2		evtype BUTTON group 1 port 11 edge 1 # Video button
131txin*	at txioman2 id BTN_APP3		evtype BUTTON group 1 port 12 edge 1 # Head phone button
132txin*	at txioman2 id PME_AC		evtype PMEVENT group 1 port 6
133txin*	at txioman2 id COM0_CTS		evtype EVENT  group 0 port 27 edge 3
134txin*	at txioman2 id COM0_DCD		evtype EVENT  group 1 port 13 edge 3
135txout*	at txioman2 id PWCTL_COM0	evtype POWER  group 1 port 15
136txout*	at txioman2 id PWCTL_LED	evtype POWER  group 1 port 4 flags 3 #(blink)
137
138txioman3 at txsim? platform VICTOR_INTERLINK_MPC101
139txin*	at txioman3 id BTN_COVER	evtype BUTTON group 1 port 4
140txin*	at txioman3 id BTN_REC		evtype BUTTON group 1 port 7
141txin*	at txioman3 id COM0_DCD		evtype EVENT group 0 port 29
142txin*	at txioman3 id COM0_CTS		evtype EVENT group 0 port 30
143# kbd MFIO:7 ?
144
145options USE_POLL
146
147# PHILIPS UCB1200 / TOSHIBA TC35413F modem/audio analog front-end
148ucb*		at tx39sib? slot 0
149ucbtp*		at ucb?
150ucbsnd*		at ucb?
151ucbio*		at ucb?
152
153# PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard)
154# chip select: CS1, IRQ: 3:12/4:12 (irq1 108) 
155# interrupt-mode don't work. use polling mode.
156tc5165buf*	at txcsbus1 iocs 1 iocsbase 0 iocssize 0x100 iocswidth 16
157hpckbd*		at tc5165buf?
158#wsmouse*	at ucbtp? mux 0
159
160# VICTOR InterLink keyboard driver
161# chip select: CARD1 IRQ ???
162m38813c*	at txcsbus2 iocs 8 iocswidth 16 iocsbase 0 iocssize 8
163hpckbd*		at m38813c?
164
165# TC6358TB(Plum2) 
166#  register space: CS3,	 
167#  I/O space: MCS0 & MCS1,  IRQ: 8:21 (IO[5] positive)
168#
169plum*		at txcsbus? regcs 3 regcswidth 32 iocs 4 iocswidth 32 memcs 5 memcswidth 32 irq1 277
170plumicu*	at plum?
171plumpower*	at plum?
172plumvideo*	at plum?
173plumpcmcia*	at plum?
174#plumiobus*	at plum?
175#plumisab0	at plumiobus? platform ? slot 0
176ohci*	at plum?
177
178# USB bus support
179usb*	at ohci?
180
181# USB Hubs
182uhub*	at usb?
183uhub*	at uhub? port ? configuration ? interface ?
184
185# USB Mice
186ums*	at uhub? port ? configuration ? interface ?
187wsmouse*	at ums? mux 0
188
189# USB Keyboards
190ukbd*	at uhub? port ? configuration ? interface ?
191wskbd*	at ukbd? console ? mux 1
192
193# USB joystick, game pad
194#ujoy*	at uhub? configuration ? interface ?
195
196# USB Generic HID devices
197uhid*	at uhub? port ? configuration ? interface ?
198
199# USB Printer
200ulpt*	at uhub? port ? configuration ? interface ?
201
202# USB Modem
203umodem*	at uhub? port ? configuration ?
204ucom*	at umodem?
205
206# USB Mass Storage
207umass*	at uhub? port ? configuration ? interface ?
208atapibus* at umass? channel ?
209scsibus* at umass? channel ?
210
211# USB audio
212uaudio*	at uhub? port ? configuration ?
213audio*	at uaudio?
214
215# USB Ethernet adapters
216aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
217cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
218kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
219
220# Prolofic PL2301/PL2302 host-to-host adapter
221upl*	at uhub? port ?
222
223# USB Handspring Visor
224uvisor*	at uhub? port ?
225ucom*	at uvisor?
226
227# USB scanners
228uscanner* at uhub? port ?
229
230# USB Generic driver
231ugen*	at uhub? port ?
232
233# MII/PHY support
234exphy*	at mii? phy ?			# 3Com internal PHYs
235icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
236inphy*	at mii? phy ?			# Intel 82555 PHYs
237iophy*	at mii? phy ?			# Intel 82553 PHYs
238lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
239nsphy*	at mii? phy ?			# NS83840 PHYs
240nsphyter* at mii? phy ?			# NS83843 PHYs
241qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
242sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
243tlphy*	at mii? phy ?			# ThunderLAN PHYs
244tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
245ukphy*	at mii? phy ?			# generic unknown PHYs
246
247# WS console uses SUN or VT100 terminal emulation
248hpcfb*		at plumvideo?
249wsdisplay*	at hpcfb?
250wskbd*		at hpckbd? mux 1
251btnmgr0		at mainbus0
252wskbd*		at btnmgr0 mux 1
253
254options 	WSEMUL_VT100
255options 	WSDISPLAY_DEFAULTSCREENS=4
256options 	FONT_VT220L8x10
257options 	WS_KERNEL_FG=WSCOL_BROWN
258options 	WS_KERNEL_BG=WSCOL_BLUE
259# compatibility to other console drivers
260options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
261options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
262options 	WSDISPLAY_COMPAT_USL		# VT handling
263options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
264
265# PCMCIA bus support
266pcmcia* at plumpcmcia? controller ? socket ?
267
268# PCMCIA IDE disk
269wdc*	at pcmcia? function ?
270wd*	at wdc? channel ? drive ? flags 0x0000
271
272# ATAPI bus support
273atapibus* at wdc? channel ?
274
275# ATAPI devices
276# flags have the same meaning as for IDE drives.
277cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
278sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
279#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
280
281# PCMCIA network interfaces
282awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
283cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
284ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
285mbe*	at pcmcia? function ?		# MB8696x based Ethernet
286ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
287ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
288sm*	at pcmcia? function ?		# Megahertz Ethernet
289wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
290#xe*	at pcmcia? function ?		# Xircom PCMCIA cards
291
292mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
293com*	at mhzc?
294sm*	at mhzc?
295
296# PCMCIA serial interfaces
297com*	at pcmcia? function ?		# Modems and serial cards
298
299pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
300com*	at pcmcom? slave ?		# ...and the slave devices
301
302# PCMCIA SCSI interfaces
303aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
304esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
305
306scsibus* at aic?
307scsibus* at esp?
308
309# SCSI devices
310sd*	at scsibus? target ? lun ?	# SCSI disk drives
311#st*	at scsibus? target ? lun ?	# SCSI tape drives
312#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
313#ch*	at scsibus? target ? lun ?	# SCSI autochangers
314#ss*	at scsibus? target ? lun ?	# SCSI scanners
315#uk*	at scsibus? target ? lun ?	# SCSI unknown
316
317# disk/mass storage pseudo-devices
318#pseudo-device	ccd		4	# concatenated disks
319#pseudo-device	raid		4	# RAIDframe disk driver
320#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
321pseudo-device	md		1	# memory disk
322pseudo-device	vnd		4	# disk-like interface to files
323
324# network pseudo-devices
325pseudo-device	bpfilter	8	# Berkeley packet filter
326pseudo-device	ipfilter		# IP filter (firewall) and NAT
327pseudo-device	loop		1	# network loopback
328pseudo-device	ppp		2	# Point-to-Point Protocol
329
330# mouse & keyboard multiplexor pseudo-devices
331pseudo-device	wsmux		2
332
333# miscellaneous pseudo-devices
334pseudo-device   rnd                     # /dev/random and in-kernel generator
335pseudo-device	pty			# pseudo-terminals
336
337# a pseudo device needed for Coda	# also needs CODA (above)
338#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
339
340# for IPv6
341pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
342#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
343