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