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