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