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