GENERIC revision 1.28
1#
2# Distribution kernel (any  model) kernel config file
3
4#
5# 	$NetBSD: GENERIC,v 1.28 2000/02/11 03:20:17 takemura Exp $
6#
7include		"arch/hpcmips/conf/std.hpcmips"
8
9#ident 		"GENERIC-$Revision: 1.28 $"
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
31#options 	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
36					# In NO RTC_OFFSET , inherit RTC_OFFSET
37					# from Windows CE.
38options 	NTP			# network time protocol
39#options 	UCONSOLE		# users can redirect console (unsafe)
40
41#options 	WINCE_DEFAULT_SETTING	# Debugging use
42#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
43#options 	DEBUG_FIND_PCIC		# Debugging use XXX harmful don't define until read source.
44
45#options 	SYSCALL_DEBUG		# for debug
46#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
47#options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
48#options 	MIPS_16K_PAGE		# page size is 16KB
49
50# Filesystem options
51file-system 	FFS             # fast filesystem with user and group quotas
52file-system 	MFS		# memory-based filesystem
53file-system 	NFS		# Sun NFS-compatible filesystem (client)
54#file-system	LFS		# Log-based filesystem (still experimental)
55#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
56file-system 	MSDOSFS		# MS-DOS file system
57#file-system 	FDESC		# /dev/fd
58file-system 	KERNFS		# /kern (kernel informational filesystem)
59#file-system 	NULLFS		# loopback file system
60#file-system 	OVERLAY		# overlay file system
61#file-system 	PORTAL		# portal filesystem (still experimental)
62file-system 	PROCFS		# /proc
63#file-system 	UMAPFS		# NULLFS + uid and gid remapping
64file-system 	UNION
65
66#options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
67#options 	SOFTDEP         # FFS soft updates support.
68options 	QUOTA		# UFS quotas
69
70# Pull in config fragments for kernel crypto.  Use only one of these,
71# and adjust the prefixes as necessary.
72
73#prefix ../crypto-us/sys
74#cinclude "conf/files.crypto-us"
75#prefix
76
77#prefix ../crypto-intl/sys
78#cinclude "conf/files.crypto-intl"
79#prefix
80
81# Networking options
82#options 	GATEWAY		# IP packet forwarding
83options 	INET		# IP + ICMP + TCP + UDP
84options 	INET6		# IPV6
85#options 	IPSEC		# IP security
86#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
87#options 	IPSEC_DEBUG	# debug for IP security
88#options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
89#options 	MROUTING	# Multicast routing support
90#options 	ISO		# OSI networking
91#options 	TPIP		# TPIP
92#options 	EON		# OSI tunneling over IP
93#options 	CCITT,LLC,HDLC	# X.25
94
95# NetBSD backwards compatibility
96options 	COMPAT_43, COMPAT_13, COMPAT_14
97options 	COMPAT_386BSD_MBRPART # recognize old partition ID
98
99options 	NFS_BOOT_DHCP
100
101config		netbsd		root on ? type ?
102
103# WS console uses SUN or VT100 terminal emulation
104options 	WSEMUL_VT100
105options 	WSDISPLAY_DEFAULTSCREENS=4
106#options 	FONT_VT220L8x8
107options 	FONT_VT220L8x10
108
109vrip*	at mainbus0
110vrcmu*	at vrip? addr 0x0b000060 size 0x20
111vrbcu*	at vrip? addr 0x0b000000 size 0x20
112vrrtc*	at vrip? addr 0x0b0000c0 size 0x20 intr 2
113
114vrkiu*  at vrip? addr 0x0b000180 size 0x20 intr 7
115options 	__NO_SOFT_SERIAL_INTERRUPT
116com*	at vrip? addr 0x0c000000 size 0x20 intr 9 pwctl PWCTL_COM0
117vrgiu*	at vrip? addr 0x0b000100 size 0x20 intr 8
118vrpmu*	at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch
119vrdsu*	at vrip? addr 0x0b0000e0 size 0x08
120vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 intr 5
121
122# Workstation Console attachments
123fb*		at	mainbus0
124wsdisplay*	at	fb?
125wskbd*		at	vrkiu? mux 1
126wsmouse*	at	vrpiu? mux 0
127
128#
129# MC-R300, MC-R500
130# Button to GPIO port # mapping
131#  + REC button       : 4
132#  + Open/Close button: 6
133# (PCIC-ISA : 9)
134# (COM power:14)
135#
136# MC-R510
137# Button to GPIO port # mapping
138#  + Open/Close button: 3
139# (PCIC-ISA : 9)
140# (COM power:14)
141#
142# MC-R530
143# Button to GPIO port # mapping
144#  + Open/Close button: 3
145#  + Application button: 2
146# (PCIC-ISA : 9)
147# (COM power:14)
148#
149# MC-R700
150# Button to GPIO port # mapping
151#  + Open/Close button: 3
152# (PCIC-ISA : 9)
153# (COM power:46)
154#
155# MC-CS
156# Button to GPIO port # mapping
157# (PCIC-ISA : 9)
158# (COM power:14)
159#
160# IBM WorkPad z50
161# Button to GPIO port # mapping
162#  + REC button       : 1
163#  + Application button?      : 2
164# (PCIC-ISA : 9)
165#
166button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
167button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
168button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
169button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
170button0 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
171button0 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
172button1 at vrgiu? platform NEC_MCR_530 id BTN_APP0  port 2
173button0 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
174button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0 
175button1 at vrgiu? platform IBM_WORKPAD id BTN_APP0  port 2 active 0
176pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
177pwctl0 at vrgiu? platform NEC_MCR_5XX id PWCTL_COM0 port 14
178pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
179pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
180vrisab0 at vrgiu? platform NEC_MCR
181vrisab0 at vrgiu? platform NEC_MCCS
182vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
183isa0	at vrisab0
184pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
185#
186# Freestyle
187# Button to GPIO port # mapping
188#    +---------+
189# 1 +|         |
190#    |         |+ 7
191#    |         |
192#20 +|   LCD   |+ 4
193#    |         | + 6
194# 8 +|         |+ 5
195#    |         |
196#    |         |+----Power On/Off (connected to PMU)
197#    +---------+
198#          +9
199#        +12 +10
200#          +11
201# (PCIC-ISA : 23)
202button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
203button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
204button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
205button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
206button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
207button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
208button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
209button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
210button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
211button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
212button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
213vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
214isa1	at vrisab1
215pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
216
217options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
218#
219# Fujitsu INTERTOP CX300
220#
221pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
222vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
223isa2    at vrisab2
224pcic0   at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
225#
226# Vadem Clio and Sharp Tripad
227#
228vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
229isa3    at vrisab3
230pcic0   at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
231#
232# Unknown machines
233#
234vrisab4 at vrgiu?
235isa4	at vrisab3
236
237# PCMCIA bus support
238pcmcia*	at pcic? controller ? socket ?
239
240# PCMCIA IDE disk
241wdc*	at pcmcia? function ?
242wd*	at wdc? channel ? drive ? flags 0x0000
243
244# ATAPI bus support
245atapibus* at wdc? channel ?
246
247# PCMCIA network interfaces
248ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
249mbe*	at pcmcia? function ?		# MB8696x based Ethernet
250ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
251sm*	at pcmcia? function ?		# Megahertz Ethernet
252
253com*	at pcmcia? function ?		# Modems and serial cards
254
255aic*	at pcmcia? function ?
256scsibus* at aic?
257sd*	at scsibus? target ? lun ?	# SCSI disk drives
258
259pseudo-device	loop		1	# network loopback
260pseudo-device	ppp		2	# serial-line IP ports
261pseudo-device	pty		64	# pseudo ptys
262pseudo-device	bpfilter	16	# packet filter ports
263pseudo-device	ipfilter		# IP filter, NAT
264
265pseudo-device	vnd		4	# virtual disk ick
266pseudo-device	ccd		4	# concatenated disks
267
268pseudo-device	biconsdev	1	# build-in console device
269pseudo-device	btnmgr		1	# button event handler
270
271# for IPv6
272pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
273#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
274