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