VR41XX revision 1.1
1# $NetBSD: VR41XX,v 1.1 2002/01/02 13:13:19 uch Exp $
2#
3# GENERIC machine description file
4# 
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include		"arch/hpcmips/conf/std.hpcmips"
22include		"arch/hpcmips/conf/std.hpcmips.vr41"
23#ident 		"GENERIC-$Revision: 1.1 $"
24
25maxusers	16
26
27# Support for specific models of H/PC MIPS
28options 	VR4102			# NEC VR4102
29options 	VR4111			# NEC VR4111
30options 	VR4121			# NEC VR4121
31
32# Standard system options
33options 	DDB			# in-kernel debugger
34#options 	DDB_ONPANIC=0		# don't enter debugger on panic
35#options 	KGDB			# remote debugger
36#options 	DIAGNOSTIC		# extra kernel debugging checks
37#options 	DEBUG			# extra kernel debugging support
38options 	KTRACE			# system call tracing support
39options 	MSGBUFSIZE=8192		# dmesg buffer size
40
41## UVM options.
42#options 	UVM_PAGE_TRKOWN
43#options 	UVMHIST
44#options 	UVMHIST_PRINT	# Loud!
45
46#options 	SCSIVERBOSE		# human readable SCSI error messages
47#options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
48
49#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
50#options 	RTC_OFFSET=-540		# JST-9
51#options 	RTC_OFFSET=480		# PST8
52					# In NO RTC_OFFSET , inherit RTC_OFFSET
53					# from Windows CE.
54options 	NTP			# network time protocol
55#options 	UCONSOLE		# users can redirect console (unsafe)
56
57#options 	WINCE_DEFAULT_SETTING	# Debugging use
58
59#options 	SYSCALL_DEBUG		# for debug
60#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
61#options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
62
63# Filesystem options
64file-system 	FFS		# fast filesystem with user and group quotas
65file-system 	MFS		# memory-based filesystem
66file-system 	NFS		# Sun NFS-compatible filesystem (client)
67#file-system	LFS		# Log-based filesystem (still experimental)
68file-system 	CD9660		# ISO 9660 + Rock Ridge file system
69file-system 	MSDOSFS		# MS-DOS file system
70#file-system 	FDESC		# /dev/fd
71file-system 	KERNFS		# /kern (kernel informational filesystem)
72#file-system 	NULLFS		# loopback file system
73#file-system 	OVERLAY		# overlay file system
74#file-system 	PORTAL		# portal filesystem (still experimental)
75file-system 	PROCFS		# /proc
76#file-system 	UMAPFS		# NULLFS + uid and gid remapping
77file-system 	UNION
78
79#options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
80options 	SOFTDEP		# FFS soft updates support.
81#options 	QUOTA		# UFS quotas
82options 	VNODE_OP_NOINLINE # don't inline vnode op calls
83
84# Networking options
85#options 	GATEWAY		# IP packet forwarding
86options 	INET		# IP + ICMP + TCP + UDP
87options 	INET6		# IPV6
88#options 	IPSEC		# IP security
89#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
90#options 	IPSEC_DEBUG	# debug for IP security
91#options 	MROUTING	# Multicast routing support
92#options 	ISO		# OSI networking
93#options 	TPIP		# TPIP
94#options 	EON		# OSI tunneling over IP
95#options 	CCITT,LLC,HDLC	# X.25
96
97# NetBSD backwards compatibility
98options 	COMPAT_43
99
100options 	NFS_BOOT_DHCP
101
102config		netbsd		root on ? type ?
103
104# WS console uses SUN or VT100 terminal emulation
105options 	WSEMUL_VT100
106#options 	WSDISPLAY_DEFAULTSCREENS=4
107#options 	FONT_VT220L8x8
108options 	FONT_VT220L8x10
109# compatibility to other console drivers
110options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
111options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
112options 	WSDISPLAY_COMPAT_USL		# VT handling
113options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
114#
115# Hpckbd will set key board layout appropriately. You can use option
116# 'PCKBD_LAYOUT' to overrite the default layout.
117#
118#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
119
120# temporally power management
121hpcapm0	at mainbus0			# power management
122apmdev0	at hpcapm0			# APM
123
124options 	MQ200_DEBUG
125#options 	MQ200_USECRT
126mqvideo0 at vrip? addr 0x0a000000 size 0x800000	# MQ200 video controller
127hpcfb*		at	mqvideo?
128
129ite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller
130hpcfb*		at	ite8181video?
131
132vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_430
133vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_510
134vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520
135vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
136vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530
137vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
138vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
139vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_700
140
141# Workstation Console attachments
142bivideo0	at	mainbus0
143hpcfb*		at	bivideo0
144wsdisplay*	at	hpcfb?
145wskbd*		at	hpckbd? mux 1
146wsmouse*	at	vrpiu? mux 0
147btnmgr0		at	mainbus0
148wskbd*		at	btnmgr0 mux 1
149
150#
151# hpcmips isa? bus irq locator means:
152#
153# 0x0000000f ISA IRQ#
154# 0x00ff0000 GPIO port#
155# 0x01000000 interrupt signal hold/through	(1:hold/0:though)
156# 0x02000000 interrupt detection level		(1:low /0:high	)
157# 0x04000000 interrupt detection trigger	(1:edge/0:level	)
158
159#
160# MC-R300, MC-R500
161# Button to GPIO port # mapping
162#  + REC button       : 4
163#  + Open/Close button: 6
164# (PCIC-ISA : 9)
165# (COM power:14)
166#
167# MC-R510
168# Button to GPIO port # mapping
169#  + Open/Close button: 3
170# (PCIC-ISA : 9)
171# (COM power:14)
172#
173# MC-R530
174# Button to GPIO port # mapping
175#  + Open/Close button: 3
176#  + Application button: 2
177# (PCIC-ISA : 9)
178# (COM power:46)
179#
180# MC-R700
181# Button to GPIO port # mapping
182#  + Open/Close button: 3
183# (PCIC-ISA : 9)
184# (COM power:46)
185#
186# MC-CS
187# Button to GPIO port # mapping
188# (PCIC-ISA : 9)
189# (COM power:14)
190#
191# IBM WorkPad z50
192# Button to GPIO port # mapping
193#  + REC button       : 1
194#  + Application button?      : 2
195# (PCIC-ISA : 9)
196#
197button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
198button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
199button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
200button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
201button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
202button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
203#button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
204button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
205#button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
206button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
207button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
208button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
209button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
210button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0  port 2
211button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0  port 2 active 0
212button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
213pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
214pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
215pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
216pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
217pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
218#pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
219pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
220pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
221pwctl1 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCDLIGHT port 45
222pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
223pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
224pwctl2 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCD port 10
225pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
226pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
227pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
228pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
229pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
230pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
231pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
232#pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
233pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
234#pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44
235#pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44
236pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
237#pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47
238#pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47
239#pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47
240vrisab0 at vrgiu? platform NEC_MCR
241vrisab0 at vrgiu? platform NEC_MCCS
242vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
243isa0	at vrisab0
244pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
245#
246# Freestyle
247# Button to GPIO port # mapping
248#    +---------+
249# 1 +|         |
250#    |         |+ 7
251#    |         |
252#20 +|   LCD   |+ 4
253#    |         | + 6
254# 8 +|         |+ 5
255#    |         |
256#    |         |+----Power On/Off (connected to PMU)
257#    +---------+
258#          +9
259#        +12 +10
260#          +11
261# (PCIC-ISA : 23)
262button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
263button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
264button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
265button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
266button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
267button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
268button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
269button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
270button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
271button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
272button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
273vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
274isa1	at vrisab1
275pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
276
277options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
278
279#
280# Fujitsu INTERTOP CX300
281#
282pwctl0	at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
283vrisab2	at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
284isa2	at vrisab2
285pcic0	at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
286
287#
288# Vadem Clio and Sharp Tripad
289#
290vrisab3	at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
291vrisab3	at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
292isa3	at vrisab3
293pcic0	at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
294
295#
296# CASIO CASSIOPEIA E55 and for DoCoMo
297#
298button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
299button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
300button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
301button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
302button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
303button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
304button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
305button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
306pwctl0	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
307pwctl1	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
308
309# 'CF hack' for all CASSIOPEIA E series
310vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
311vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
312isa4	at vrisab4
313wdc0	at isa4 port 0x170 irq 0x02000003 flags 0x0002  # single drive
314
315#
316# Fujitsu PenCentra 130
317#
318vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
319vrisab5	at vrc4172gpio0 isaportoffset 0x1000000
320isa5	at vrisab5
321pcic0	at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
322
323# PCMCIA bus support
324pcmcia*	at pcic? controller 0 socket ?
325
326# PCMCIA IDE disk
327wdc*	at pcmcia? function ?
328wd*	at wdc? channel ? drive ? flags 0x0000
329
330# PCMCIA network interfaces
331ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
332mbe*	at pcmcia? function ?		# MB8696x based Ethernet
333ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
334ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
335sm*	at pcmcia? function ?		# Megahertz Ethernet
336wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
337awi*	at pcmcia? function ?		# WLI-PCM
338an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
339
340# PCMCIA Serial interfaces
341com*	at pcmcia? function ?		# Modems and serial cards
342
343# PCMCIA SCSI interfaces
344aic*	at pcmcia? function ?
345esp*	at pcmcia? function ?		# NCR53c406 SCSI
346
347# ATAPI bus support
348atapibus* at wdc? channel ?
349cd*	at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
350sd*	at atapibus? drive ? flags 0x0000 # ATAPI disk drives
351
352# SCSI bus support
353scsibus* at aic?
354scsibus* at esp?
355sd*	at scsibus? target ? lun ?	# SCSI disk drives
356cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
357
358pseudo-device	loop		1	# network loopback
359pseudo-device	ppp		2	# serial-line IP ports
360pseudo-device	pty			# pseudo-terminals
361pseudo-device	bpfilter	16	# packet filter ports
362pseudo-device	ipfilter		# IP filter, NAT
363
364pseudo-device	vnd		4	# virtual disk ick
365#pseudo-device	ccd		4	# concatenated disks
366pseudo-device	rnd			# /dev/random and in-kernel generator
367
368pseudo-device	biconsdev	1	# build-in console device
369pseudo-device	wsmux			# mouse & keyboard multiplexor
370#pseudo-device	md		1	# memory disk device (ramdisk)
371
372#pseudo-device	raid		4	# RAIDframe disk driver
373#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
374
375# for IPv6
376pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
377#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
378#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
379
380## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
381pseudo-device	vlan
382
383## Simple inter-network traffic bridging
384pseudo-device	bridge
385