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