GENERIC revision 1.100
1# $NetBSD: GENERIC,v 1.100 2001/12/14 05:34:47 gmcgarry Exp $
2#
3# GENERIC machine description file
4# 
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include		"arch/hpcmips/conf/std.hpcmips"
22
23#ident 		"GENERIC-$Revision: 1.100 $"
24
25maxusers	16
26
27options 	MIPS3			# R4000/R4400/R4600 CPUs
28
29# Support for specific models of H/PC MIPS
30options 	MIPS3_4100		# VR4100 core
31options 	VR41XX			# NEC VR41xx series
32options 	VR4102			# NEC VR4102
33options 	VR4111			# NEC VR4111
34options 	VR4121			# NEC VR4121
35options 	NOFPU			# No FPU
36options 	SOFTFLOAT		# emulate FPU insn
37options 	MIPS3_L2CACHE_ABSENT
38
39# Standard system options
40options 	DDB			# in-kernel debugger
41#options 	DDB_ONPANIC=0		# don't enter debugger on panic
42#options 	KGDB			# remote debugger
43#options 	DIAGNOSTIC		# extra kernel debugging checks
44#options 	DEBUG			# extra kernel debugging support
45options 	KTRACE			# system call tracing support
46options 	MSGBUFSIZE=8192		# dmesg buffer size
47
48## UVM options.
49#options 	UVM_PAGE_TRKOWN
50#options 	UVMHIST
51#options 	UVMHIST_PRINT	# Loud!
52
53#options 	SCSIVERBOSE		# human readable SCSI error messages
54#options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
55
56#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
57#options 	RTC_OFFSET=-540		# JST-9
58#options 	RTC_OFFSET=480		# PST8
59					# In NO RTC_OFFSET , inherit RTC_OFFSET
60					# from Windows CE.
61options 	NTP			# network time protocol
62#options 	UCONSOLE		# users can redirect console (unsafe)
63
64#options 	WINCE_DEFAULT_SETTING	# Debugging use
65#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
66#options 	DEBUG_FIND_PCIC		# Debugging use XXX harmful don't define until read source.
67
68#options 	SYSCALL_DEBUG		# for debug
69#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
70#options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
71
72# Filesystem options
73file-system 	FFS		# fast filesystem with user and group quotas
74file-system 	MFS		# memory-based filesystem
75file-system 	NFS		# Sun NFS-compatible filesystem (client)
76#file-system	LFS		# Log-based filesystem (still experimental)
77file-system 	CD9660		# ISO 9660 + Rock Ridge file system
78file-system 	MSDOSFS		# MS-DOS file system
79#file-system 	FDESC		# /dev/fd
80file-system 	KERNFS		# /kern (kernel informational filesystem)
81#file-system 	NULLFS		# loopback file system
82#file-system 	OVERLAY		# overlay file system
83#file-system 	PORTAL		# portal filesystem (still experimental)
84file-system 	PROCFS		# /proc
85#file-system 	UMAPFS		# NULLFS + uid and gid remapping
86file-system 	UNION
87
88#options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
89options 	SOFTDEP		# FFS soft updates support.
90#options 	QUOTA		# UFS quotas
91options 	VNODE_OP_NOINLINE # don't inline vnode op calls
92
93# Networking options
94#options 	GATEWAY		# IP packet forwarding
95options 	INET		# IP + ICMP + TCP + UDP
96options 	INET6		# IPV6
97#options 	IPSEC		# IP security
98#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
99#options 	IPSEC_DEBUG	# debug for IP security
100#options 	MROUTING	# Multicast routing support
101#options 	ISO		# OSI networking
102#options 	TPIP		# TPIP
103#options 	EON		# OSI tunneling over IP
104#options 	CCITT,LLC,HDLC	# X.25
105
106# NetBSD backwards compatibility
107options 	COMPAT_43
108
109options 	NFS_BOOT_DHCP
110
111config		netbsd		root on ? type ?
112
113# WS console uses SUN or VT100 terminal emulation
114options 	WSEMUL_VT100
115#options 	WSDISPLAY_DEFAULTSCREENS=4
116#options 	FONT_VT220L8x8
117options 	FONT_VT220L8x10
118# compatibility to other console drivers
119options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
120options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
121options 	WSDISPLAY_COMPAT_USL		# VT handling
122options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
123#
124# Hpckbd will set key board layout appropriately. You can use option
125# 'PCKBD_LAYOUT' to overrite the default layout.
126#
127#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
128
129# temporally power management
130hpcapm0	at mainbus0			# power management
131apmdev0	at hpcapm0			# APM
132
133vrip*	at mainbus0
134vrbcu*	at vrip? addr 0x0b000000 size 0x20
135vrcmu*	at vrip? addr 0x0b000060 size 0x20
136vrrtc*	at vrip? addr 0x0b0000c0 size 0x20 intr 2
137
138vrkiu*	at vrip? addr 0x0b000180 size 0x20 intr 7
139hpckbd*	at vrkiu?
140options 	__NO_SOFT_SERIAL_INTERRUPT
141com*	at vrip? addr 0x0c000000 size 0x20 intr 9 pwctl PWCTL_COM0
142vrgiu*	at vrip? addr 0x0b000100 size 0x20 intr 8
143vrpmu*	at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch
144vrdsu*	at vrip? addr 0x0b0000e0 size 0x08
145vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 intr 5
146vrled*	at vrip? addr 0x0b000240 size 0x10 intr 17
147
148options 	MQ200_DEBUG
149#options 	MQ200_USECRT
150mqvideo0 at vrip? addr 0x0a000000 size 0x800000	# MQ200 video controller
151hpcfb*		at	mqvideo?
152
153ite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller
154hpcfb*		at	ite8181video?
155
156vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_430
157vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_510
158vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520
159vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
160vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530
161vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
162vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
163vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_700
164
165# Workstation Console attachments
166bivideo0	at	mainbus0
167hpcfb*		at	bivideo0
168wsdisplay*	at	hpcfb?
169wskbd*		at	hpckbd? mux 1
170wsmouse*	at	vrpiu? mux 0
171btnmgr0		at	mainbus0
172wskbd*		at	btnmgr0 mux 1
173
174#
175# hpcmips isa? bus irq locator means:
176#
177# 0x0000000f ISA IRQ#
178# 0x00ff0000 GPIO port#
179# 0x01000000 interrupt signal hold/through	(1:hold/0:though)
180# 0x02000000 interrupt detection level		(1:low /0:high	)
181# 0x04000000 interrupt detection trigger	(1:edge/0:level	)
182
183#
184# MC-R300, MC-R500
185# Button to GPIO port # mapping
186#  + REC button       : 4
187#  + Open/Close button: 6
188# (PCIC-ISA : 9)
189# (COM power:14)
190#
191# MC-R510
192# Button to GPIO port # mapping
193#  + Open/Close button: 3
194# (PCIC-ISA : 9)
195# (COM power:14)
196#
197# MC-R530
198# Button to GPIO port # mapping
199#  + Open/Close button: 3
200#  + Application button: 2
201# (PCIC-ISA : 9)
202# (COM power:46)
203#
204# MC-R700
205# Button to GPIO port # mapping
206#  + Open/Close button: 3
207# (PCIC-ISA : 9)
208# (COM power:46)
209#
210# MC-CS
211# Button to GPIO port # mapping
212# (PCIC-ISA : 9)
213# (COM power:14)
214#
215# IBM WorkPad z50
216# Button to GPIO port # mapping
217#  + REC button       : 1
218#  + Application button?      : 2
219# (PCIC-ISA : 9)
220#
221button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
222button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
223button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
224button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
225button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
226button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
227#button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
228button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
229#button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
230button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
231button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
232button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
233button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
234button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0  port 2
235button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0  port 2 active 0
236button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
237pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
238pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
239pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
240pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
241pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
242#pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
243pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
244pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
245pwctl1 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCDLIGHT port 45
246pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
247pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
248pwctl2 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCD port 10
249pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
250pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
251pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
252pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
253pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
254pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
255pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
256#pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
257pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
258#pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44
259#pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44
260pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
261#pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47
262#pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47
263#pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47
264vrisab0 at vrgiu? platform NEC_MCR
265vrisab0 at vrgiu? platform NEC_MCCS
266vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
267isa0	at vrisab0
268pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
269#
270# Freestyle
271# Button to GPIO port # mapping
272#    +---------+
273# 1 +|         |
274#    |         |+ 7
275#    |         |
276#20 +|   LCD   |+ 4
277#    |         | + 6
278# 8 +|         |+ 5
279#    |         |
280#    |         |+----Power On/Off (connected to PMU)
281#    +---------+
282#          +9
283#        +12 +10
284#          +11
285# (PCIC-ISA : 23)
286button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
287button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
288button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
289button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
290button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
291button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
292button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
293button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
294button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
295button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
296button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
297vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
298isa1	at vrisab1
299pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
300
301options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
302
303#
304# Fujitsu INTERTOP CX300
305#
306pwctl0	at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
307vrisab2	at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
308isa2	at vrisab2
309pcic0	at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
310
311#
312# Vadem Clio and Sharp Tripad
313#
314vrisab3	at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
315vrisab3	at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
316isa3	at vrisab3
317pcic0	at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
318
319#
320# CASIO CASSIOPEIA E55 and for DoCoMo
321#
322button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
323button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
324button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
325button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
326button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
327button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
328button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
329button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
330pwctl0	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
331pwctl1	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
332
333# 'CF hack' for all CASSIOPEIA E series
334vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
335vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
336isa4	at vrisab4
337wdc0	at isa4 port 0x170 irq 0x02000003 flags 0x0002  # single drive
338
339#
340# Fujitsu PenCentra 130
341#
342vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
343vrisab5	at vrc4172gpio0 isaportoffset 0x1000000
344isa5	at vrisab5
345pcic0	at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
346
347# PCMCIA bus support
348pcmcia*	at pcic? controller 0 socket ?
349
350# PCMCIA IDE disk
351wdc*	at pcmcia? function ?
352wd*	at wdc? channel ? drive ? flags 0x0000
353
354# PCMCIA network interfaces
355ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
356mbe*	at pcmcia? function ?		# MB8696x based Ethernet
357ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
358ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
359sm*	at pcmcia? function ?		# Megahertz Ethernet
360wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
361awi*	at pcmcia? function ?		# WLI-PCM
362an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
363
364# PCMCIA Serial interfaces
365com*	at pcmcia? function ?		# Modems and serial cards
366
367# PCMCIA SCSI interfaces
368aic*	at pcmcia? function ?
369esp*	at pcmcia? function ?		# NCR53c406 SCSI
370
371# ATAPI bus support
372atapibus* at wdc? channel ?
373cd*	at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
374sd*	at atapibus? drive ? flags 0x0000 # ATAPI disk drives
375
376# SCSI bus support
377scsibus* at aic?
378scsibus* at esp?
379sd*	at scsibus? target ? lun ?	# SCSI disk drives
380cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
381
382pseudo-device	loop		1	# network loopback
383pseudo-device	ppp		2	# serial-line IP ports
384pseudo-device	pty			# pseudo-terminals
385pseudo-device	bpfilter	16	# packet filter ports
386pseudo-device	ipfilter		# IP filter, NAT
387
388pseudo-device	vnd		4	# virtual disk ick
389#pseudo-device	ccd		4	# concatenated disks
390pseudo-device	rnd			# /dev/random and in-kernel generator
391
392pseudo-device	biconsdev	1	# build-in console device
393pseudo-device	wsmux			# mouse & keyboard multiplexor
394#pseudo-device	md		1	# memory disk device (ramdisk)
395
396#pseudo-device	raid		4	# RAIDframe disk driver
397#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
398
399# for IPv6
400pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
401#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
402#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
403
404## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
405pseudo-device	vlan
406
407## Simple inter-network traffic bridging
408pseudo-device	bridge
409