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