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