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