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