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