TX3912 revision 1.35
1#
2# Distribution kernel (TOSHIBA TX3912 based model) kernel config file
3
4#
5#	$NetBSD: TX3912,v 1.35 2002/01/26 10:24:58 takemura 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
88# compile options
89makeoptions	DEFGP="-G 18"
90
91config		netbsd		root on ? type ?
92
93# temporally power management
94hpcapm0	at mainbus0			# power management
95apmdev0	at hpcapm0			# APM
96
97#
98# System Internal Modules (TX391X specific)
99#
100tx3912video*	at txsim?
101tx39ir*		at txcom1
102
103#
104# TX39 external modules. (Platform dependent)
105#
106options 	USE_POLL	# keyboard / touchpanel device requires this
107
108# IO module manager (virtual bridge) DO NOT DELETE
109txioman* at txsim?
110# iochip 0 TX39 internal IO
111#	 1 TX39 internal MFIO
112#	 2 BETTY IO
113#	(3 ITE IO notyet)
114# edge  0 no interrupt.
115# edge  1 positive edge
116# edge  2 negative edge
117# edge  3 both edge
118# initial ... set initial state (on/off)
119hpcioman3 at txioman? platform COMPAQ_C_2010
120hpcout*	at hpcioman3 iochip 1 evtype POWER  id PWCTL_LED	port 3  initvalue 0
121hpcin*	at hpcioman3 iochip 0 evtype BUTTON id BTN_REC		port 6  edge 1
122hpcin*	at hpcioman3 iochip 0 evtype BUTTON id BTN_APP0		port 5  edge 1
123hpcin*	at hpcioman3 iochip 1 evtype EVENT  id PME_AC		port 28 edge 1
124hpcin*	at hpcioman3 iochip 1 evtype EVENT  id COM0_DCD		port 30 edge 3
125hpcin*	at hpcioman3 iochip 1 evtype EVENT  id COM0_CTS		port 5  edge 3
126hpcout*	at hpcioman3 iochip 1 evtype SET    id COM0_DTR		port 31
127hpcout*	at hpcioman3 iochip 1 evtype SET    id COM0_RTS		port 6
128
129hpcioman4 at txioman? platform COMPAQ_C_810
130hpcout*	at hpcioman4 iochip 1 evtype POWER  id PWCTL_LED	port 3  initvalue 0
131hpcin*	at hpcioman4 iochip 0 evtype BUTTON id BTN_REC		port 6  edge 1
132hpcin*	at hpcioman4 iochip 0 evtype BUTTON id BTN_APP0		port 5  edge 1
133hpcin*	at hpcioman4 iochip 1 evtype EVENT  id PME_AC		port 28 edge 1
134hpcin*	at hpcioman4 iochip 1 evtype EVENT  id COM0_DCD		port 30 edge 3
135hpcin*	at hpcioman4 iochip 1 evtype EVENT  id COM0_CTS		port 5  edge 3
136hpcout*	at hpcioman4 iochip 1 evtype SET    id COM0_DTR		port 31
137hpcout*	at hpcioman4 iochip 1 evtype SET    id COM0_RTS		port 6
138hpcout*	at hpcioman4 iochip 2 evtype BUTTON id BTN_LIGHT	port 5
139
140hpcioman5 at txioman? platform SHARP_MOBILON
141hpcout*	at hpcioman5 iochip 1 evtype POWER  id PWCTL_LCDLIGHT	port 14
142hpcin*	at hpcioman5 iochip 0 evtype BUTTON id BTN_REC		port 0  edge 1
143hpcin*	at hpcioman5 iochip 1 evtype BUTTON id BTN_APP0		port 31 edge 1
144hpcin*	at hpcioman5 iochip 1 evtype BUTTON id BTN_COVER	port 29 edge 1
145#hpcin*	at hpcioman5 iochip 0 evtype EVENT  id COM0_CTS		port 4  edge 3 # DANGER
146#hpcin*	at hpcioman5 iochip 0 evtype EVENT  id COM0_DCD		port 6  edge 3 # DANGER
147hpcout*	at hpcioman5 iochip 0 evtype SET    id COM0_RTS		port 5
148hpcout*	at hpcioman5 iochip 1 evtype SET    id COM0_DTR		port 15
149
150# Chip select manager
151txcsbus3	at tx39biu? platform COMPAQ_C
152txcsbus4	at tx39biu? platform PHILIPS_NINO
153txcsbus5	at tx39biu? platform SHARP_MOBILON
154txcsbus*	at tx39biu?	# misc unknown.
155
156# PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard)
157tc5165buf*	at txcsbus3 iocs 3 iocsbase 0 iocssize 0x100 iocswidth 16
158tc5165buf*	at txcsbus5 iocs 4 iocsbase 0 iocssize 0x100 iocswidth 16
159hpckbd*		at tc5165buf?
160
161# ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
162# card/insert	... 3:2 (98)
163# remove	... 5:8 (168)
164options 	IT8368E_LEGACY_MODE	# Mobilon HC-4100 requires this
165it8368e*	at txcsbus? regcs 2 regcsbase 0 regcssize 0x20 regcswidth 16 iocs 8 iocsbase 0 iocssize 0x4000000 iocswidth 16 irq1 98 irq2 168 irq3 98
166
167# PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
168ucb*		at tx39sib? slot 0
169ucbtp*		at ucb?
170ucbsnd*		at ucb?
171ucbio*		at ucb?
172
173# WS console uses SUN or VT100 terminal emulation
174hpcfb*		at tx3912video?
175wsdisplay*	at hpcfb?
176wskbd*		at hpckbd? mux 1
177wsmouse*	at ucbtp? mux 0
178btnmgr0		at mainbus0
179wskbd*		at btnmgr0 mux 1
180
181options 	WSEMUL_VT100
182options 	WS_KERNEL_FG=WSCOL_BROWN
183options 	WS_KERNEL_BG=WSCOL_BLUE
184options 	WSDISPLAY_DEFAULTSCREENS=4
185options 	FONT_VT220L8x10
186# compatibility to other console drivers
187options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
188options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
189options 	WSDISPLAY_COMPAT_USL		# VT handling
190options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
191
192# PCMCIA bus support
193pcmcia* at it8368e? controller ? socket ?
194
195# PCMCIA IDE disk
196wdc*	at pcmcia? function ?
197wd*	at wdc? channel ? drive ? flags 0x0000
198
199# ATAPI bus support
200atapibus* at wdc? channel ?
201
202# ATAPI devices
203# flags have the same meaning as for IDE drives.
204cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
205sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
206#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
207
208# PCMCIA network interfaces
209#awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
210#cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
211#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
212#mbe*	at pcmcia? function ?		# MB8696x based Ethernet
213#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
214#ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
215#sm*	at pcmcia? function ?		# Megahertz Ethernet
216#wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
217#xe*	at pcmcia? function ?		# Xircom PCMCIA cards
218
219#mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
220#com*	at mhzc?
221#sm*	at mhzc?
222
223# PCMCIA serial interfaces
224#com*	at pcmcia? function ?		# Modems and serial cards
225
226#pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
227#com*	at pcmcom? slave ?		# ...and the slave devices
228
229# PCMCIA SCSI interfaces
230aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
231esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
232
233scsibus* at aic?
234scsibus* at esp?
235
236# SCSI devices
237sd*	at scsibus? target ? lun ?	# SCSI disk drives
238#st*	at scsibus? target ? lun ?	# SCSI tape drives
239#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
240#ch*	at scsibus? target ? lun ?	# SCSI autochangers
241#ss*	at scsibus? target ? lun ?	# SCSI scanners
242#uk*	at scsibus? target ? lun ?	# SCSI unknown
243
244# disk/mass storage pseudo-devices
245#pseudo-device	ccd		4	# concatenated disks
246#pseudo-device	raid		4	# RAIDframe disk driver
247#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
248pseudo-device	md		1	# memory disk
249pseudo-device	vnd		4	# disk-like interface to files
250
251# network pseudo-devices
252pseudo-device	bpfilter	8	# Berkeley packet filter
253pseudo-device	ipfilter		# IP filter (firewall) and NAT
254pseudo-device	loop		1	# network loopback
255pseudo-device	ppp		2	# Point-to-Point Protocol
256
257# mouse & keyboard multiplexor pseudo-devices
258pseudo-device	wsmux
259
260# a pseudo device needed for Coda	# also needs CODA (above)
261#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
262
263# miscellaneous pseudo-devices
264pseudo-device	rnd			# /dev/random and in-kernel generator
265pseudo-device	pty			# pseudo-terminals
266
267# for IPv6
268pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
269#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
270