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