GENERIC revision 1.18
1#
2# Distribution kernel (any  model) kernel config file
3
4#
5# 	$NetBSD: GENERIC,v 1.18 1999/12/23 06:26:08 takemura 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
51#file-system 	FDESC		# /dev/fd
52file-system 	KERNFS		# /kern (kernel informational filesystem)
53#file-system 	NULLFS		# loopback file system
54#file-system 	PORTAL		# portal filesystem (still experimental)
55file-system 	PROCFS		# /proc
56#file-system 	UMAPFS		# NULLFS + uid and gid remapping
57file-system 	UNION
58
59#options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
60#options 	SOFTDEP         # FFS soft updates support.
61options 	QUOTA		# UFS quotas
62
63# Pull in config fragments for kernel crypto.  Use only one of these,
64# and adjust the prefixes as necessary.
65
66#prefix ../crypto-us/sys
67#cinclude "conf/files.crypto-us"
68#prefix
69
70#prefix ../crypto-intl/sys
71#cinclude "conf/files.crypto-intl"
72#prefix
73
74# Networking options
75#options 	GATEWAY		# IP packet forwarding
76options 	INET		# IP + ICMP + TCP + UDP
77options 	INET6		# IPV6
78#options 	IPSEC		# IP security
79#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
80#options 	IPSEC_DEBUG	# debug for IP security
81#options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
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, COMPAT_13, COMPAT_14
90options 	COMPAT_386BSD_MBRPART # recognize old partition ID
91
92options 	NFS_BOOT_DHCP
93
94config		netbsd		root on ? type ?
95config		sdnetbsd	root on sd0a type ffs
96config		nfsnetbsd	root on ? type nfs
97
98# WS console uses SUN or VT100 terminal emulation
99options 	WSEMUL_VT100
100options 	WSDISPLAY_DEFAULTSCREENS=4
101#options 	FONT_VT220L8x8
102options 	FONT_VT220L8x10
103
104# Workstation Console attachments
105fb*		at	mainbus0
106wsdisplay*	at	fb?
107wskbd*		at	vrkiu? mux 1
108#wsmouse*	at	pms? mux 0
109
110
111vrip*	at mainbus0
112vrcmu*	at vrip? addr 0x0b000060 size 0x20
113vrbcu*	at vrip? addr 0x0b000000 size 0x20
114vrrtc*	at vrip? addr 0x0b0000c0 size 0x20 intr 2
115
116vrkiu*  at vrip? addr 0x0b000180 size 0x20 intr 7
117options 	__NO_SOFT_SERIAL_INTERRUPT
118com*	at vrip? addr 0x0c000000 size 0x20 intr 9
119vrgiu*	at vrip? addr 0x0b000100 size 0x20 intr 8
120vrpmu*	at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch
121vrdsu*	at vrip? addr 0x0b0000e0 size 0x08
122
123#
124# MC-R300
125# Button to GPIO port # mapping
126#  + REC button       : 4
127#  + Open/Close button: 6
128# (PCIC-ISA : 9)
129# (COM power:14)
130button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
131button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
132button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
133button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
134pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
135pwctl0 at vrgiu? platform NEC_MCR_5XX id PWCTL_COM0 port 14
136pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
137pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
138vrisab0 at vrgiu? platform NEC_MCR
139vrisab0 at vrgiu? platform NEC_MCCS
140vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
141isa0	at vrisab0
142pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
143#
144# Freestyle
145# Button to GPIO port # mapping
146#    +---------+
147# 1 +|         |
148#    |         |+ 7
149#    |         |
150#20 +|   LCD   |+ 4
151#    |         | + 6
152# 8 +|         |+ 5
153#    |         |
154#    |         |+----Power On/Off (connected to PMU)
155#    +---------+
156#          +9
157#        +12 +10
158#          +11
159# (PCIC-ISA : 23)
160button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
161button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
162button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
163button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
164button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
165button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
166button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
167button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
168button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
169button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
170button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
171vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
172isa1	at vrisab1
173pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
174
175options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
176#
177# Fujitsu INTERTOP CX300
178#
179pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
180vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
181isa2    at vrisab2
182pcic0   at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
183#
184# Unknown machines
185#
186vrisab3 at vrgiu?
187isa3	at vrisab3
188
189# PCMCIA bus support
190pcmcia*	at pcic? controller ? socket ?
191
192# PCMCIA IDE disk
193wdc*	at pcmcia? function ?
194wd*	at wdc? channel ? drive ? flags 0x0000
195
196# ATAPI bus support
197atapibus* at wdc? channel ?
198
199# PCMCIA network interfaces
200ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
201mbe*	at pcmcia? function ?		# MB8696x based Ethernet
202ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
203sm*	at pcmcia? function ?		# Megahertz Ethernet
204
205com*	at pcmcia? function ?		# Modems and serial cards
206
207aic*	at pcmcia? function ?
208scsibus* at aic?
209sd*	at scsibus? target ? lun ?	# SCSI disk drives
210
211pseudo-device	loop		1	# network loopback
212pseudo-device	ppp		2	# serial-line IP ports
213pseudo-device	pty		64	# pseudo ptys
214pseudo-device	bpfilter	16	# packet filter ports
215pseudo-device	ipfilter		# IP filter, NAT
216
217pseudo-device	vnd		4	# virtual disk ick
218pseudo-device	ccd		4	# concatenated disks
219
220pseudo-device	biconsdev	1	# build-in console device
221pseudo-device	btnmgr		1	# button event handler
222
223# for IPv6
224pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
225#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
226