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