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