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