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