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