GENERIC revision 1.20
1#
2# Distribution kernel (any  model) kernel config file
3
4#
5# 	$NetBSD: GENERIC,v 1.20 2000/01/01 02:22:35 shin Exp $
6#
7include		"arch/hpcmips/conf/std.hpcmips"
8
9maxusers	8
10
11options 	MIPS3			# R4000/R4400/R4600 CPUs
12
13# Support for specific models of H/PC MIPS
14options 	VR41X1			# NEC VR41x1 series
15options 	MIPS3_4100		# VR4100 core
16options 	SOFTFLOAT		# No FPU
17options 	MIPS3_L2CACHE_ABSENT
18
19# Standard system options
20options 	DDB			# in-kernel debugger
21#options 	DDB_ONPANIC=0		# don't enter debugger on panic
22#options 	DIAGNOSTIC		# extra kernel debugging checks
23#options 	DEBUG			# extra kernel debugging support
24options 	KTRACE			# system call tracing support
25options 	NKMEMCLUSTERS=1024	# 4K pages in kernel malloc pool
26
27options 	SCSIVERBOSE		# human readable SCSI error messages
28options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
29
30#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
31#options 	RTC_OFFSET=-540		# JST-9
32#options 	RTC_OFFSET=480		# PST8
33options 	NTP			# network time protocol
34#options 	UCONSOLE		# users can redirect console (unsafe)
35
36#options 	WINCE_DEFAULT_SETTING	# Debugging use
37#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
38#options 	DEBUG_FIND_PCIC		# Debugging use XXX harmful don't define until read source.
39
40#options 	SYSCALL_DEBUG		# for debug
41#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
42#options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
43#options 	MIPS_16K_PAGE		# page size is 16KB
44
45# Filesystem options
46file-system 	FFS             # fast filesystem with user and group quotas
47file-system 	MFS		# memory-based filesystem
48file-system 	NFS		# Sun NFS-compatible filesystem (client)
49#file-system	LFS		# Log-based filesystem (still experimental)
50#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
51file-system 	MSDOSFS		# MS-DOS file system
52#file-system 	FDESC		# /dev/fd
53file-system 	KERNFS		# /kern (kernel informational filesystem)
54#file-system 	NULLFS		# loopback file system
55#file-system 	PORTAL		# portal filesystem (still experimental)
56file-system 	PROCFS		# /proc
57#file-system 	UMAPFS		# NULLFS + uid and gid remapping
58file-system 	UNION
59
60#options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
61#options 	SOFTDEP         # FFS soft updates support.
62options 	QUOTA		# UFS quotas
63
64# Pull in config fragments for kernel crypto.  Use only one of these,
65# and adjust the prefixes as necessary.
66
67#prefix ../crypto-us/sys
68#cinclude "conf/files.crypto-us"
69#prefix
70
71#prefix ../crypto-intl/sys
72#cinclude "conf/files.crypto-intl"
73#prefix
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 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
83#options 	MROUTING	# Multicast routing support
84#options 	ISO		# OSI networking
85#options 	TPIP		# TPIP
86#options 	EON		# OSI tunneling over IP
87#options 	CCITT,LLC,HDLC	# X.25
88
89# NetBSD backwards compatibility
90options 	COMPAT_43, COMPAT_13, COMPAT_14
91options 	COMPAT_386BSD_MBRPART # recognize old partition ID
92
93options 	NFS_BOOT_DHCP
94
95config		netbsd		root on ? type ?
96
97# WS console uses SUN or VT100 terminal emulation
98options 	WSEMUL_VT100
99options 	WSDISPLAY_DEFAULTSCREENS=4
100#options 	FONT_VT220L8x8
101options 	FONT_VT220L8x10
102
103vrip*	at mainbus0
104vrcmu*	at vrip? addr 0x0b000060 size 0x20
105vrbcu*	at vrip? addr 0x0b000000 size 0x20
106vrrtc*	at vrip? addr 0x0b0000c0 size 0x20 intr 2
107
108vrkiu*  at vrip? addr 0x0b000180 size 0x20 intr 7
109options 	__NO_SOFT_SERIAL_INTERRUPT
110com*	at vrip? addr 0x0c000000 size 0x20 intr 9
111vrgiu*	at vrip? addr 0x0b000100 size 0x20 intr 8
112vrpmu*	at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch
113vrdsu*	at vrip? addr 0x0b0000e0 size 0x08
114vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 intr 5
115
116# Workstation Console attachments
117fb*		at	mainbus0
118wsdisplay*	at	fb?
119wskbd*		at	vrkiu? mux 1
120wsmouse*	at	vrpiu? mux 0
121
122#
123# MC-R300
124# Button to GPIO port # mapping
125#  + REC button       : 4
126#  + Open/Close button: 6
127# (PCIC-ISA : 9)
128# (COM power:14)
129button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
130button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
131button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
132button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
133pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
134pwctl0 at vrgiu? platform NEC_MCR_5XX id PWCTL_COM0 port 14
135pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
136pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
137vrisab0 at vrgiu? platform NEC_MCR
138vrisab0 at vrgiu? platform NEC_MCCS
139vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
140isa0	at vrisab0
141pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
142#
143# Freestyle
144# Button to GPIO port # mapping
145#    +---------+
146# 1 +|         |
147#    |         |+ 7
148#    |         |
149#20 +|   LCD   |+ 4
150#    |         | + 6
151# 8 +|         |+ 5
152#    |         |
153#    |         |+----Power On/Off (connected to PMU)
154#    +---------+
155#          +9
156#        +12 +10
157#          +11
158# (PCIC-ISA : 23)
159button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
160button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
161button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
162button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
163button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
164button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
165button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
166button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
167button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
168button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
169button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
170vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
171isa1	at vrisab1
172pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
173
174options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
175#
176# Fujitsu INTERTOP CX300
177#
178pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
179vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
180isa2    at vrisab2
181pcic0   at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
182#
183# Unknown machines
184#
185vrisab3 at vrgiu?
186isa3	at vrisab3
187
188# PCMCIA bus support
189pcmcia*	at pcic? controller ? socket ?
190
191# PCMCIA IDE disk
192wdc*	at pcmcia? function ?
193wd*	at wdc? channel ? drive ? flags 0x0000
194
195# ATAPI bus support
196atapibus* at wdc? channel ?
197
198# PCMCIA network interfaces
199ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
200mbe*	at pcmcia? function ?		# MB8696x based Ethernet
201ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
202sm*	at pcmcia? function ?		# Megahertz Ethernet
203
204com*	at pcmcia? function ?		# Modems and serial cards
205
206aic*	at pcmcia? function ?
207scsibus* at aic?
208sd*	at scsibus? target ? lun ?	# SCSI disk drives
209
210pseudo-device	loop		1	# network loopback
211pseudo-device	ppp		2	# serial-line IP ports
212pseudo-device	pty		64	# pseudo ptys
213pseudo-device	bpfilter	16	# packet filter ports
214pseudo-device	ipfilter		# IP filter, NAT
215
216pseudo-device	vnd		4	# virtual disk ick
217pseudo-device	ccd		4	# concatenated disks
218
219pseudo-device	biconsdev	1	# build-in console device
220pseudo-device	btnmgr		1	# button event handler
221
222# for IPv6
223pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
224#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
225