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