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