GENERIC revision 1.24
1#
2# Distribution kernel (any  model) kernel config file
3
4#
5# 	$NetBSD: GENERIC,v 1.24 2000/01/23 23:46:11 hubertf Exp $
6#
7include		"arch/hpcmips/conf/std.hpcmips"
8
9#ident 		"GENERIC-$Revision: 1.24 $"
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
28options 	NKMEMCLUSTERS=1024	# 4K pages in kernel malloc pool
29
30options 	SCSIVERBOSE		# human readable SCSI error messages
31options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
32
33#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
34#options 	RTC_OFFSET=-540		# JST-9
35#options 	RTC_OFFSET=480		# PST8
36options 	NTP			# network time protocol
37#options 	UCONSOLE		# users can redirect console (unsafe)
38
39#options 	WINCE_DEFAULT_SETTING	# Debugging use
40#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
41#options 	DEBUG_FIND_PCIC		# Debugging use XXX harmful don't define until read source.
42
43#options 	SYSCALL_DEBUG		# for debug
44#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
45#options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
46#options 	MIPS_16K_PAGE		# page size is 16KB
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 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
87#options 	MROUTING	# Multicast routing support
88#options 	ISO		# OSI networking
89#options 	TPIP		# TPIP
90#options 	EON		# OSI tunneling over IP
91#options 	CCITT,LLC,HDLC	# X.25
92
93# NetBSD backwards compatibility
94options 	COMPAT_43, COMPAT_13, COMPAT_14
95options 	COMPAT_386BSD_MBRPART # recognize old partition ID
96
97options 	NFS_BOOT_DHCP
98
99config		netbsd		root on ? type ?
100
101# WS console uses SUN or VT100 terminal emulation
102options 	WSEMUL_VT100
103options 	WSDISPLAY_DEFAULTSCREENS=4
104#options 	FONT_VT220L8x8
105options 	FONT_VT220L8x10
106
107vrip*	at mainbus0
108vrcmu*	at vrip? addr 0x0b000060 size 0x20
109vrbcu*	at vrip? addr 0x0b000000 size 0x20
110vrrtc*	at vrip? addr 0x0b0000c0 size 0x20 intr 2
111
112vrkiu*  at vrip? addr 0x0b000180 size 0x20 intr 7
113options 	__NO_SOFT_SERIAL_INTERRUPT
114com*	at vrip? addr 0x0c000000 size 0x20 intr 9
115vrgiu*	at vrip? addr 0x0b000100 size 0x20 intr 8
116vrpmu*	at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch
117vrdsu*	at vrip? addr 0x0b0000e0 size 0x08
118vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 intr 5
119
120# Workstation Console attachments
121fb*		at	mainbus0
122wsdisplay*	at	fb?
123wskbd*		at	vrkiu? mux 1
124wsmouse*	at	vrpiu? mux 0
125
126#
127# MC-R300
128# Button to GPIO port # mapping
129#  + REC button       : 4
130#  + Open/Close button: 6
131# (PCIC-ISA : 9)
132# (COM power:14)
133button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
134button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
135button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
136button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
137pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
138pwctl0 at vrgiu? platform NEC_MCR_5XX id PWCTL_COM0 port 14
139pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
140pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
141vrisab0 at vrgiu? platform NEC_MCR
142vrisab0 at vrgiu? platform NEC_MCCS
143vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
144isa0	at vrisab0
145pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
146#
147# Freestyle
148# Button to GPIO port # mapping
149#    +---------+
150# 1 +|         |
151#    |         |+ 7
152#    |         |
153#20 +|   LCD   |+ 4
154#    |         | + 6
155# 8 +|         |+ 5
156#    |         |
157#    |         |+----Power On/Off (connected to PMU)
158#    +---------+
159#          +9
160#        +12 +10
161#          +11
162# (PCIC-ISA : 23)
163button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
164button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
165button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
166button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
167button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
168button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
169button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
170button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
171button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
172button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
173button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
174vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
175isa1	at vrisab1
176pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
177
178options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
179#
180# Fujitsu INTERTOP CX300
181#
182pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
183vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
184isa2    at vrisab2
185pcic0   at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
186#
187# Vadem Clio and Sharp Tripad
188#
189vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
190isa3    at vrisab3
191pcic0   at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
192#
193# Unknown machines
194#
195vrisab4 at vrgiu?
196isa4	at vrisab3
197
198# PCMCIA bus support
199pcmcia*	at pcic? controller ? socket ?
200
201# PCMCIA IDE disk
202wdc*	at pcmcia? function ?
203wd*	at wdc? channel ? drive ? flags 0x0000
204
205# ATAPI bus support
206atapibus* at wdc? channel ?
207
208# PCMCIA network interfaces
209ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
210mbe*	at pcmcia? function ?		# MB8696x based Ethernet
211ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
212sm*	at pcmcia? function ?		# Megahertz Ethernet
213
214com*	at pcmcia? function ?		# Modems and serial cards
215
216aic*	at pcmcia? function ?
217scsibus* at aic?
218sd*	at scsibus? target ? lun ?	# SCSI disk drives
219
220pseudo-device	loop		1	# network loopback
221pseudo-device	ppp		2	# serial-line IP ports
222pseudo-device	pty		64	# pseudo ptys
223pseudo-device	bpfilter	16	# packet filter ports
224pseudo-device	ipfilter		# IP filter, NAT
225
226pseudo-device	vnd		4	# virtual disk ick
227pseudo-device	ccd		4	# concatenated disks
228
229pseudo-device	biconsdev	1	# build-in console device
230pseudo-device	btnmgr		1	# button event handler
231
232# for IPv6
233pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
234#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
235