GENERIC revision 1.22
1#
2# Distribution kernel (any  model) kernel config file
3
4#
5# 	$NetBSD: GENERIC,v 1.22 2000/01/09 07:57:43 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 	NOFPU			# No FPU
17options 	SOFTFLOAT		# emulate FPU insn
18options 	MIPS3_L2CACHE_ABSENT
19
20# Standard system options
21options 	DDB			# in-kernel debugger
22#options 	DDB_ONPANIC=0		# don't enter debugger on panic
23#options 	DIAGNOSTIC		# extra kernel debugging checks
24#options 	DEBUG			# extra kernel debugging support
25options 	KTRACE			# system call tracing support
26options 	NKMEMCLUSTERS=1024	# 4K pages in kernel malloc pool
27
28options 	SCSIVERBOSE		# human readable SCSI error messages
29options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
30
31#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
32#options 	RTC_OFFSET=-540		# JST-9
33#options 	RTC_OFFSET=480		# PST8
34options 	NTP			# network time protocol
35#options 	UCONSOLE		# users can redirect console (unsafe)
36
37#options 	WINCE_DEFAULT_SETTING	# Debugging use
38#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
39#options 	DEBUG_FIND_PCIC		# Debugging use XXX harmful don't define until read source.
40
41#options 	SYSCALL_DEBUG		# for debug
42#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
43#options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
44#options 	MIPS_16K_PAGE		# page size is 16KB
45
46# Filesystem options
47file-system 	FFS             # fast filesystem with user and group quotas
48file-system 	MFS		# memory-based filesystem
49file-system 	NFS		# Sun NFS-compatible filesystem (client)
50#file-system	LFS		# Log-based filesystem (still experimental)
51#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
52file-system 	MSDOSFS		# MS-DOS file system
53#file-system 	FDESC		# /dev/fd
54file-system 	KERNFS		# /kern (kernel informational filesystem)
55#file-system 	NULLFS		# loopback file system
56#file-system 	PORTAL		# portal filesystem (still experimental)
57file-system 	PROCFS		# /proc
58#file-system 	UMAPFS		# NULLFS + uid and gid remapping
59file-system 	UNION
60
61#options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
62#options 	SOFTDEP         # FFS soft updates support.
63options 	QUOTA		# UFS quotas
64
65# Pull in config fragments for kernel crypto.  Use only one of these,
66# and adjust the prefixes as necessary.
67
68#prefix ../crypto-us/sys
69#cinclude "conf/files.crypto-us"
70#prefix
71
72#prefix ../crypto-intl/sys
73#cinclude "conf/files.crypto-intl"
74#prefix
75
76# Networking options
77#options 	GATEWAY		# IP packet forwarding
78options 	INET		# IP + ICMP + TCP + UDP
79options 	INET6		# IPV6
80#options 	IPSEC		# IP security
81#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
82#options 	IPSEC_DEBUG	# debug for IP security
83#options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
84#options 	MROUTING	# Multicast routing support
85#options 	ISO		# OSI networking
86#options 	TPIP		# TPIP
87#options 	EON		# OSI tunneling over IP
88#options 	CCITT,LLC,HDLC	# X.25
89
90# NetBSD backwards compatibility
91options 	COMPAT_43, COMPAT_13, COMPAT_14
92options 	COMPAT_386BSD_MBRPART # recognize old partition ID
93
94options 	NFS_BOOT_DHCP
95
96config		netbsd		root on ? type ?
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
104vrip*	at mainbus0
105vrcmu*	at vrip? addr 0x0b000060 size 0x20
106vrbcu*	at vrip? addr 0x0b000000 size 0x20
107vrrtc*	at vrip? addr 0x0b0000c0 size 0x20 intr 2
108
109vrkiu*  at vrip? addr 0x0b000180 size 0x20 intr 7
110options 	__NO_SOFT_SERIAL_INTERRUPT
111com*	at vrip? addr 0x0c000000 size 0x20 intr 9
112vrgiu*	at vrip? addr 0x0b000100 size 0x20 intr 8
113vrpmu*	at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch
114vrdsu*	at vrip? addr 0x0b0000e0 size 0x08
115vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 intr 5
116
117# Workstation Console attachments
118fb*		at	mainbus0
119wsdisplay*	at	fb?
120wskbd*		at	vrkiu? mux 1
121wsmouse*	at	vrpiu? mux 0
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# Vadem Clio and Sharp Tripad
185#
186vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
187isa3    at vrisab3
188pcic0   at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
189#
190# Unknown machines
191#
192vrisab4 at vrgiu?
193isa4	at vrisab3
194
195# PCMCIA bus support
196pcmcia*	at pcic? controller ? socket ?
197
198# PCMCIA IDE disk
199wdc*	at pcmcia? function ?
200wd*	at wdc? channel ? drive ? flags 0x0000
201
202# ATAPI bus support
203atapibus* at wdc? channel ?
204
205# PCMCIA network interfaces
206ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
207mbe*	at pcmcia? function ?		# MB8696x based Ethernet
208ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
209sm*	at pcmcia? function ?		# Megahertz Ethernet
210
211com*	at pcmcia? function ?		# Modems and serial cards
212
213aic*	at pcmcia? function ?
214scsibus* at aic?
215sd*	at scsibus? target ? lun ?	# SCSI disk drives
216
217pseudo-device	loop		1	# network loopback
218pseudo-device	ppp		2	# serial-line IP ports
219pseudo-device	pty		64	# pseudo ptys
220pseudo-device	bpfilter	16	# packet filter ports
221pseudo-device	ipfilter		# IP filter, NAT
222
223pseudo-device	vnd		4	# virtual disk ick
224pseudo-device	ccd		4	# concatenated disks
225
226pseudo-device	biconsdev	1	# build-in console device
227pseudo-device	btnmgr		1	# button event handler
228
229# for IPv6
230pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
231#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
232