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