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