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