TX3912 revision 1.73
1#
2# Distribution kernel (TOSHIBA TX3912 based model) kernel config file
3
4#
5#	$NetBSD: TX3912,v 1.73 2009/12/05 20:11:14 pooka Exp $
6#
7include		"arch/hpcmips/conf/std.hpcmips"
8
9#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
10
11maxusers	16
12
13include		"arch/hpcmips/conf/std.hpcmips.tx39"
14makeoptions	CPUFLAGS="-march=r3900"	# CPU codegen options
15options 	TX391X			# Product TMPR3912
16
17options 	TX39_DEBUG
18options 	TX39_WATCHDOGTIMER
19#options 	TX39ICU_DEBUG
20#options 	TX39CLOCK_DEBUG
21#options 	TX39BIU_DEBUG
22#options 	TX39POWER_DEBUG
23#options 	TX39UART_DEBUG
24
25options 	KLOADER
26options 	KLOADER_KERNEL_PATH="\"/netbsd\""
27options		KLOADER_DEBUG
28
29options 	SERIALCONSSLOT=0	# UARTA 0, UARTB 1
30
31options 	DDB			# in-kernel debugger
32#options 	DDB_ONPANIC=0		# don't enter debugger on panic
33options 	DIAGNOSTIC		# extra kernel debugging checks
34options 	DEBUG			# extra kernel debugging support
35options 	KTRACE			# system call tracing support
36#options 	SYSCALL_DEBUG		# for debug
37#options 	MEMORY_DISK_ROOT_SIZE=10000
38options 	MSGBUFSIZE=65534	# for dmesg
39
40#options 	MEMORY_DISK_HOOKS
41#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
42#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
43#options 	MEMORY_DISK_ROOT_SIZE=12288	# size of memory disk, in blocks
44
45options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
46options 	PPP_DEFLATE	# Deflate compression support for PPP
47options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
48
49options 	COMPAT_43
50options 	COMPAT_16
51options 	COMPAT_20
52options 	COMPAT_30	# NetBSD 3.0 compatibility.
53options 	COMPAT_40	# NetBSD 4.0 compatibility.
54options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
55
56options 	SCSIVERBOSE	# human readable SCSI error messages
57options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
58
59options 	NTP			# network time protocol
60
61options 	USERCONF	# userconf(4) support
62#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
63#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
64
65# File systems
66file-system 	FFS		# UFS
67#file-system 	EXT2FS		# second extended file system (linux)
68#file-system 	LFS		# log-structured file system
69file-system 	MFS		# memory file system
70file-system 	NFS		# Network File System client
71#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
72file-system 	MSDOSFS		# MS-DOS file system
73file-system 	FDESC		# /dev/fd
74file-system 	KERNFS		# /kern
75#file-system 	NULLFS		# loopback file system
76#file-system 	OVERLAY		# overlay file system
77file-system 	PROCFS		# /proc
78#file-system 	UMAPFS		# NULLFS + uid and gid remapping
79file-system 	UNION		# union file system
80#file-system	CODA		# Coda File System; also needs vcoda (below)
81file-system	PTYFS		# /dev/pts/N support
82
83# Networking options
84#options 	GATEWAY		# IP packet forwarding
85options 	INET		# IP + ICMP + TCP + UDP
86options 	INET6		# IPV6
87#options 	IPSEC		# IP security
88#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
89#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
90#options 	IPSEC_DEBUG	# debug for IP security
91#options 	MROUTING	# Multicast routing support
92#options 	PIM		# Protocol Independent Multicast
93#options 	ISO		# OSI networking
94#options 	TPIP		# TPIP
95#options 	EON		# OSI tunneling over IP
96
97options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
98options 	WAPBL		# File system journaling support - Experimental
99#options 	QUOTA		# UFS quotas
100options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
101
102options 	NFS_BOOT_DHCP
103
104# compile options
105#makeoptions	DEFGP="-G 14"
106
107config		netbsd		root on ? type ?
108
109# temporally power management
110hpcapm0	at mainbus0			# power management
111apmdev0	at hpcapm0			# APM
112
113#
114# System Internal Modules (TX391X specific)
115#
116tx3912video*	at txsim?
117tx39ir*		at txcom1
118
119#
120# TX39 external modules. (Platform dependent)
121#
122options 	USE_POLL	# keyboard / touchpanel device requires this
123
124# IO module manager (virtual bridge) DO NOT DELETE
125txioman* at txsim?
126# iochip 0 TX39 internal MFIO
127#	 1 TX39 internal IO
128#	 2 BETTY IO
129#	(3 ITE IO notyet)
130# edge  0 no interrupt.
131# edge  1 positive edge
132# edge  2 negative edge
133# edge  3 both edge
134# initial ... set initial state (on/off)
135hpcioman3 at txioman? platform COMPAQ_C_2010
136hpcout*	at hpcioman3 iochip 0 evtype POWER  id PWCTL_LED	port 3  initvalue 0
137hpcin*	at hpcioman3 iochip 1 evtype BUTTON id BTN_REC		port 6  edge 1
138hpcin*	at hpcioman3 iochip 1 evtype BUTTON id BTN_APP0		port 5  edge 1
139hpcin*	at hpcioman3 iochip 0 evtype EVENT  id PME_AC		port 28 edge 1
140hpcin*	at hpcioman3 iochip 0 evtype EVENT  id COM0_DCD		port 30 edge 3
141hpcin*	at hpcioman3 iochip 0 evtype EVENT  id COM0_CTS		port 5  edge 3
142hpcout*	at hpcioman3 iochip 0 evtype SET    id COM0_DTR		port 31
143hpcout*	at hpcioman3 iochip 0 evtype SET    id COM0_RTS		port 6
144
145hpcioman4 at txioman? platform COMPAQ_C_810
146hpcout*	at hpcioman4 iochip 0 evtype POWER  id PWCTL_LED	port 3  initvalue 0
147hpcin*	at hpcioman4 iochip 1 evtype BUTTON id BTN_REC		port 6  edge 1
148hpcin*	at hpcioman4 iochip 1 evtype BUTTON id BTN_APP0		port 5  edge 1
149hpcin*	at hpcioman4 iochip 0 evtype EVENT  id PME_AC		port 28 edge 1
150hpcin*	at hpcioman4 iochip 0 evtype EVENT  id COM0_DCD		port 30 edge 3
151hpcin*	at hpcioman4 iochip 0 evtype EVENT  id COM0_CTS		port 5  edge 3
152hpcout*	at hpcioman4 iochip 0 evtype SET    id COM0_DTR		port 31
153hpcout*	at hpcioman4 iochip 0 evtype SET    id COM0_RTS		port 6
154hpcout*	at hpcioman4 iochip 2 evtype BUTTON id BTN_LIGHT	port 5
155
156hpcioman5 at txioman? platform SHARP_MOBILON
157hpcout*	at hpcioman5 iochip 0 evtype POWER  id PWCTL_LCDLIGHT	port 14
158hpcin*	at hpcioman5 iochip 1 evtype BUTTON id BTN_REC		port 0  edge 1
159hpcin*	at hpcioman5 iochip 0 evtype BUTTON id BTN_APP0		port 31 edge 1
160hpcin*	at hpcioman5 iochip 0 evtype BUTTON id BTN_COVER	port 29 edge 1
161#hpcin*	at hpcioman5 iochip 1 evtype EVENT  id COM0_CTS		port 4  edge 3 # DANGER
162#hpcin*	at hpcioman5 iochip 1 evtype EVENT  id COM0_DCD		port 6  edge 3 # DANGER
163hpcout*	at hpcioman5 iochip 1 evtype SET    id COM0_RTS		port 5
164hpcout*	at hpcioman5 iochip 0 evtype SET    id COM0_DTR		port 15
165
166# Chip select manager
167txcsbus3	at tx39biu? platform COMPAQ_C
168txcsbus4	at tx39biu? platform PHILIPS_NINO
169txcsbus5	at tx39biu? platform SHARP_MOBILON
170txcsbus*	at tx39biu?	# misc unknown.
171
172# PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard)
173tc5165buf*	at txcsbus3 iocs 3 iocsbase 0 iocssize 0x100 iocswidth 16
174tc5165buf*	at txcsbus5 iocs 4 iocsbase 0 iocssize 0x100 iocswidth 16
175hpckbd*		at tc5165buf?
176
177# ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
178# card/insert	... 3:2 (98)
179# remove	... 5:8 (168)
180options 	IT8368E_LEGACY_MODE	# Mobilon HC-4100 requires this
181it8368e*	at txcsbus? regcs 2 regcsbase 0 regcssize 0x20 regcswidth 16 iocs 8 iocsbase 0 iocssize 0x4000000 iocswidth 16 irq1 98 irq2 168 irq3 98
182
183# PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
184ucb*		at tx39sib? slot 0
185ucbtp*		at ucb?
186ucbsnd*		at ucb?
187ucbio*		at ucb?
188
189# WS console uses SUN or VT100 terminal emulation
190hpcfb*		at tx3912video?
191wsdisplay*	at hpcfb?
192wskbd*		at hpckbd? mux 1
193wsmouse*	at ucbtp? mux 0
194btnmgr0		at mainbus0
195wskbd*		at btnmgr0 mux 1
196
197options 	WSEMUL_VT100
198options 	WS_KERNEL_FG=WSCOL_BROWN
199options 	WS_KERNEL_BG=WSCOL_BLUE
200options 	WSDISPLAY_DEFAULTSCREENS=4
201options 	FONT_VT220L8x10
202# compatibility to other console drivers
203options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
204options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
205options 	WSDISPLAY_COMPAT_USL		# VT handling
206options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
207
208# PCMCIA bus support
209pcmcia* at it8368e? controller ? socket ?
210
211# PCMCIA IDE disk
212wdc*	at pcmcia? function ?
213
214# ATA (IDE) bus support
215atabus* at ata?
216
217# IDE drives
218wd*	at atabus? drive ? flags 0x0000
219
220# ATAPI bus support
221atapibus* at atapi?
222
223# ATAPI devices
224# flags have the same meaning as for IDE drives.
225cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
226sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
227#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
228
229# PCMCIA network interfaces
230#awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
231#cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
232#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
233#mbe*	at pcmcia? function ?		# MB8696x based Ethernet
234#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
235#ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
236#sm*	at pcmcia? function ?		# Megahertz Ethernet
237#wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
238#xe*	at pcmcia? function ?		# Xircom PCMCIA cards
239
240#mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
241#com*	at mhzc?
242#sm*	at mhzc?
243
244# PCMCIA serial interfaces
245#com*	at pcmcia? function ?		# Modems and serial cards
246
247#pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
248#com*	at pcmcom? slave ?		# ...and the slave devices
249
250# PCMCIA SCSI interfaces
251aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
252esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
253
254scsibus* at aic?
255scsibus* at esp?
256
257# SCSI devices
258sd*	at scsibus? target ? lun ?	# SCSI disk drives
259#st*	at scsibus? target ? lun ?	# SCSI tape drives
260#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
261#ch*	at scsibus? target ? lun ?	# SCSI autochangers
262#ss*	at scsibus? target ? lun ?	# SCSI scanners
263#uk*	at scsibus? target ? lun ?	# SCSI unknown
264
265# disk/mass storage pseudo-devices
266#pseudo-device	ccd		4	# concatenated disks
267#pseudo-device	raid		4	# RAIDframe disk driver
268#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
269#pseudo-device	fss		4	# file system snapshot device
270pseudo-device	md		1	# memory disk
271pseudo-device	vnd			# disk-like interface to files
272
273# network pseudo-devices
274pseudo-device	bpfilter		# Berkeley packet filter
275pseudo-device	ipfilter		# IP filter (firewall) and NAT
276pseudo-device	loop		1	# network loopback
277pseudo-device	ppp			# Point-to-Point Protocol
278
279# mouse & keyboard multiplexor pseudo-devices
280pseudo-device	wsmux
281
282# a pseudo device needed for Coda	# also needs CODA (above)
283#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
284
285# miscellaneous pseudo-devices
286pseudo-device	rnd			# /dev/random and in-kernel generator
287pseudo-device	pty			# pseudo-terminals
288pseudo-device	clockctl		# user control of clock subsystem
289
290# for IPv6
291pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
292#pseudo-device	faith			# IPv[46] tcp relay translation i/f
293pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
294