1# $NetBSD: GENERIC,v 1.248 2023/02/12 14:50:39 abs 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"
22include 	"arch/hpcmips/conf/std.hpcmips.vr41"
23include 	"arch/hpcmips/conf/std.hpcmips.tx39"
24
25options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
26
27#ident 		"GENERIC-$Revision: 1.248 $"
28
29maxusers	16
30
31makeoptions	CPUFLAGS="-mips2 -mdivide-breaks"	# CPU codegen options
32options 	VR4102			# NEC VR4102
33options 	VR4111			# NEC VR4111
34options 	VR4121			# NEC VR4121
35options 	VR4122			# NEC VR4122
36options 	VR4131			# NEC VR4131
37options 	TX392X			# Toshiba TX3922
38options 	KLOADER
39
40# Alternate buffer queue strategies for better responsiveness under high
41# disk I/O load.
42#options 	BUFQ_READPRIO
43options 	BUFQ_PRIOCSCAN
44
45# Standard system options
46options 	DDB			# in-kernel debugger
47#options 	DDB_ONPANIC=0		# don't enter debugger on panic
48options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
49#options 	KGDB			# remote debugger
50options 	DIAGNOSTIC		# extra kernel debugging checks
51#options 	DEBUG			# extra kernel debugging support
52options 	KTRACE			# system call tracing support
53options 	MSGBUFSIZE=8192		# dmesg buffer size
54
55## UVM options.
56#options 	UVM_PAGE_TRKOWN
57#options 	UVMHIST
58#options 	UVMHIST_PRINT	# Loud!
59
60#options 	SCSIVERBOSE		# human readable SCSI error messages
61#options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
62#options 	PCMCIADEBUG
63#options 	PCMCIACISDEBUG
64
65#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
66#options 	RTC_OFFSET=-540		# JST-9
67#options 	RTC_OFFSET=480		# PST8
68					# In NO RTC_OFFSET , inherit RTC_OFFSET
69					# from Windows CE.
70options 	NTP			# network time protocol
71
72#options 	WINCE_DEFAULT_SETTING	# Debugging use
73
74#options 	SYSCALL_DEBUG		# for debug
75#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
76options 	USERCONF		# userconf(4) support
77#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
78options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
79
80# File systems
81file-system 	FFS		# fast filesystem with user and group quotas
82file-system 	MFS		# memory-based filesystem
83file-system 	NFS		# Sun NFS-compatible filesystem (client)
84#file-system	LFS		# Log-based filesystem (still experimental)
85file-system 	CD9660		# ISO 9660 + Rock Ridge file system
86file-system 	MSDOSFS		# MS-DOS file system
87#file-system 	FDESC		# /dev/fd
88file-system 	KERNFS		# /kern (kernel informational filesystem)
89#file-system 	NULLFS		# loopback file system
90#file-system 	OVERLAY		# overlay file system
91file-system 	PROCFS		# /proc
92#file-system 	UMAPFS		# NULLFS + uid and gid remapping
93file-system 	UNION
94file-system	PTYFS		# /dev/pts/N support
95file-system	TMPFS		# Efficient memory file-system
96#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
97
98# File system options
99#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
100#options 	QUOTA		# legacy UFS quotas
101#options 	QUOTA2		# new, in-filesystem UFS quotas
102#options 	UFS_DIRHASH	# UFS Large Directory Hashing
103#options 	UFS_EXTATTR	# Extended attribute support for UFS1
104options 	WAPBL		# File system journaling support
105options 	NFSSERVER	# Network File System server
106
107# Networking options
108#options 	GATEWAY		# IP packet forwarding
109options 	INET		# IP + ICMP + TCP + UDP
110options 	INET6		# IPV6
111#options 	IPSEC		# IP security
112#options 	IPSEC_DEBUG	# debug for IP security
113#options 	MROUTING	# Multicast routing support
114#options 	PIM		# Protocol Independent Multicast
115
116#options 	ALTQ		# Manipulate network interfaces' output queues
117#options 	ALTQ_BLUE	# Stochastic Fair Blue
118#options 	ALTQ_CBQ	# Class-Based Queueing
119#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
120#options 	ALTQ_FIFOQ	# First-In First-Out Queue
121#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
122#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
123#options 	ALTQ_LOCALQ	# Local queueing discipline
124#options 	ALTQ_PRIQ	# Priority Queueing
125#options 	ALTQ_RED	# Random Early Detection
126#options 	ALTQ_RIO	# RED with IN/OUT
127#options 	ALTQ_WFQ	# Weighted Fair Queueing
128
129# JIT compiler for bpfilter
130#options	SLJIT
131#options	BPFJIT
132
133# NetBSD backwards compatibility
134include 	"conf/compat_netbsd16.config"
135
136#options 	NFS_BOOT_DHCP
137options 	NFS_BOOT_BOOTP
138#options 	NFS_BOOT_BOOTPARAM
139
140# compile options
141#makeoptions	DEFGP="-G 10"
142
143config		netbsd		root on ? type ?
144
145# WS console uses SUN or VT100 terminal emulation
146options 	WSEMUL_VT100
147#options 	WSDISPLAY_DEFAULTSCREENS=4
148#options 	FONT_VT220L8x8
149options 	FONT_VT220L8x10
150# compatibility to other console drivers
151options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
152options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
153options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
154options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
155#
156# Hpckbd will set key board layout appropriately. You can use option
157# 'PCKBD_LAYOUT' to overrite the default layout.
158#
159#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
160
161# temporally power management
162hpcapm0	at mainbus0			# power management
163apmdev0	at hpcapm0			# APM
164
165options 	MQ200_DEBUG
166#options 	MQ200_USECRT
167mqvideo*	at vr4102ip? addr 0x0a000000 size 0x800000	# MQ200 video
168hpcfb*		at	mqvideo?
169
170ite8181video*	at vr4102ip? addr 0x0a000000 size 0x800000 # ITE8181 video
171hpcfb*		at	ite8181video?
172
173vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_430
174vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_510
175vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_520
176vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
177vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530
178vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
179vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
180vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700
181vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700A
182vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_730
183vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_730A
184
185#
186# hpcmips isa? bus irq locator means:
187#
188# 0x0000000f ISA IRQ#
189# 0x00ff0000 GPIO port#
190# 0x01000000 interrupt signal hold/through	(1:hold/0:though)
191# 0x02000000 interrupt detection level		(1:low /0:high	)
192# 0x04000000 interrupt detection trigger	(1:edge/0:level	)
193
194#
195# MC-R300, MC-R500
196# Button to GPIO port # mapping
197#  + REC button       : 4
198#  + Open/Close button: 6
199# (PCIC-ISA : 9)
200# (COM power:14)
201#
202# MC-R510
203# Button to GPIO port # mapping
204#  + Open/Close button: 3
205# (PCIC-ISA : 9)
206# (COM power:14)
207#
208# MC-R530
209# Button to GPIO port # mapping
210#  + Open/Close button: 3
211#  + Application button: 2
212# (PCIC-ISA : 9)
213# (COM power:46)
214#
215# MC-R700
216# Button to GPIO port # mapping
217#  + Open/Close button: 3
218# (PCIC-ISA : 9)
219# (COM power:46)
220#
221# MC-CS
222# Button to GPIO port # mapping
223# (PCIC-ISA : 9)
224# (COM power:14)
225#
226# IBM WorkPad z50
227# Button to GPIO port # mapping
228#  + REC button       : 1
229#  + Application button?      : 2
230# (PCIC-ISA : 9)
231#
232button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
233button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
234button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
235button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
236button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
237button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
238#button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
239button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
240#button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
241button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
242button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
243button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
244button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
245button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0  port 2
246button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0  port 2 active 0
247button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
248pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
249pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
250pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
251pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
252pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
253#pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
254pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
255pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
256pwctl1 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCDLIGHT port 45
257pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
258pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
259pwctl2 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCD port 10
260pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
261pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
262pwctl3 at vrgiu? platform NEC_MCCS id PWCTL_SPEAKER port 12
263pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
264pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
265pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
266pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
267pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
268#pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
269pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
270#pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44
271#pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44
272pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
273#pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47
274#pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47
275#pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47
276vrisab0 at vrgiu? platform NEC_MCR
277vrisab0 at vrgiu? platform NEC_MCCS
278vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
279isa0	at vrisab0
280pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
281vrdsiu_mouse0 at vr4102ip? platform IBM_WORKPAD addr 0x0b0001a0 size 0x20 unit VRDSIU
282#
283# Freestyle
284# Button to GPIO port # mapping
285#    +---------+
286# 1 +|         |
287#    |         |+ 7
288#    |         |
289#20 +|   LCD   |+ 4
290#    |         | + 6
291# 8 +|         |+ 5
292#    |         |
293#    |         |+----Power On/Off (connected to PMU)
294#    +---------+
295#          +9
296#        +12 +10
297#          +11
298# (PCIC-ISA : 23)
299button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
300button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
301button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
302button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
303button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
304button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
305button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
306button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
307button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
308button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
309button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
310vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
311isa1	at vrisab1
312pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
313
314options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
315
316#
317# Fujitsu INTERTOP CX300
318#
319pwctl0	at vrgiu? platform FUJITSU_INTERTOP_IT300 id PWCTL_COM0 port 15
320vrisab2	at vrgiu? platform FUJITSU_INTERTOP_IT300 isaportoffset 0x1000000
321isa2	at vrisab2
322pcic0	at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
323
324#
325# Vadem Clio and Sharp Tripad
326#
327vrisab3	at vrgiu? platform SHARP_TRIPAD isaportoffset 0x0
328vrisab3	at vrgiu? platform VADEM_CLIO_C isaportoffset 0x0
329isa3	at vrisab3
330pcic0	at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
331
332#
333# CASIO CASSIOPEIA E55 and for DoCoMo
334#
335button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
336button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
337button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
338button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
339button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
340button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
341button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
342button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
343pwctl0	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
344pwctl1	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
345
346# 'CF hack' for all CASSIOPEIA E series
347vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
348vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
349isa4	at vrisab4
350wdc0	at isa4 port 0x170 irq 0x02000003 flags 0x0002  # single drive
351
352#
353# Fujitsu PenCentra 130
354#
355vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
356vrisab5	at vrc4172gpio0 isaportoffset 0x1000000
357isa5	at vrisab5
358pcic0	at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
359vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform FUJITSU_PENCENTRA_130
360pci*	at vrc4172pci?
361hpcioman5 at vrc4172gpio0 platform FUJITSU_PENCENTRA_130
362hpcin*	at hpcioman5 evtype PCIINTR id PCIINTR_00_00_01 port 7 level 0 connect 1
363
364#
365# SigmarionII
366#
367com*	at vrgiu? platform NEC_MCR_SIGMARION2 addr 0x0b600000 port 8
368vrisab6       at vrgiu? platform NEC_MCR_SIGMARION2 isaportoffset 0xf7800000 isamemoffset 0xfa000000
369isa6	at vrisab6
370pcic0 at isa6 port 0x3e0 iomem 0x10000 iosiz 0x4000 irq 0x00090003
371hpcioman6 at vrgiu? platform NEC_MCR_SIGMARION2
372hpcin*	at hpcioman6 evtype PCIINTR id PCIINTR_00_12_00 port 0 level 1 connect 1
373
374#
375# MP-C303/304
376#
377hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC303
378hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC304
379hpcin*	at hpcioman7 evtype PCIINTR id PCIINTR_00_19_00 port 1 level 0 hold 1 connect 1
380
381#
382# Fujitsu INTERTOP CX310
383#
384vrc4172gpio0 at vrgiu? platform FUJITSU_INTERTOP_IT310 addr 0x15001080 size 0x4a port 10
385vrisab8	at vrc4172gpio0 isaportoffset 0x1000000
386isa8	at vrisab8
387pcic0	at isa8 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
388vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform FUJITSU_INTERTOP_IT310
389pci*	at vrc4172pci?
390hpcioman8 at vrc4172gpio0 platform FUJITSU_INTERTOP_IT310
391hpcin*	at hpcioman8 evtype PCIINTR id PCIINTR_00_00_01 port 7 level 0 connect 1
392
393#
394# MC-R700 and Mobile Pro 800
395#
396options	VRC4172PCI_MCR700_SUPPORT
397vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_700
398vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_700A
399vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_730
400vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_730A
401pci*	at vrc4172pci?
402hpcioman9 at vrgiu? platform NEC_MCR_700
403hpcioman9 at vrgiu? platform NEC_MCR_700A
404hpcioman9 at vrgiu? platform NEC_MCR_730
405hpcioman9 at vrgiu? platform NEC_MCR_730A
406hpcin*	at hpcioman9 evtype PCIINTR id PCIINTR_00_00_01 port 13 level 0 connect 1
407
408#
409# Sharp Telios HC-AJ1/AJ2/AJ3, HC-VJ1C
410#
411txcsbus1	at tx39biu? platform SHARP_TELIOS
412teliosio*	at txcsbus1 regcs 13 regcswidth 16
413#optpoint*	at tx39spi? slot 0
414#wsmouse*	at optpoint? mux 0
415
416# IO module manager (virtual bridge) DO NOT DELETE
417txioman* at txsim?
418# iochip 0 TX39 internal MFIO
419#	 1 TX39 internal IO
420#	 2 BETTY IO
421#	(3) ITE IO notyet
422#	(4) Plum2 IO (EXTPW[0:2]) notyet
423hpcioman1 at txioman? platform SHARP_TELIOS_HCAJ
424hpcin*	at hpcioman1 iochip 1 evtype BUTTON  id BTN_APP0   port 7  edge 1 # IE button
425hpcin*	at hpcioman1 iochip 1 evtype BUTTON  id BTN_APP1   port 8  edge 1 # Mail button
426hpcin*	at hpcioman1 iochip 1 evtype PMEVENT id PME_AC	   port 6  edge 1 # AC-power
427hpcin*	at hpcioman1 iochip 0 evtype EVENT   id COM0_CTS   port 27 edge 3
428hpcin*	at hpcioman1 iochip 0 evtype EVENT   id COM0_DCD   port 29 edge 3
429hpcout*	at hpcioman1 iochip 1 evtype POWER   id PWCTL_LED  port 4  flags 3 #(blink)
430
431hpcioman2 at txioman? platform SHARP_TELIOS_HCVJ
432hpcin*	at hpcioman2 iochip 1 evtype BUTTON  id BTN_APP0   port 7  edge 1 # IE button
433hpcin*	at hpcioman2 iochip 1 evtype BUTTON  id BTN_APP1   port 8  edge 1 # Mail button
434hpcin*	at hpcioman2 iochip 1 evtype BUTTON  id BTN_APP2   port 11 edge 1 # Video button
435hpcin*	at hpcioman2 iochip 1 evtype BUTTON  id BTN_APP3   port 12 edge 1 # Head phone button
436hpcin*	at hpcioman2 iochip 1 evtype PMEVENT id PME_AC     port 6
437hpcin*	at hpcioman2 iochip 0 evtype EVENT   id COM0_CTS   port 27 edge 3
438hpcin*	at hpcioman2 iochip 1 evtype EVENT   id COM0_DCD   port 13 edge 3
439hpcout*	at hpcioman2 iochip 1 evtype POWER   id PWCTL_COM0 port 15
440hpcout*	at hpcioman2 iochip 1 evtype POWER   id PWCTL_LED  port 4  flags 3 #(blink)
441
442options 	USE_POLL
443
444# PHILIPS UCB1200 / TOSHIBA TC35413F modem/audio analog front-end
445ucb*		at tx39sib? slot 0
446ucbtp*		at ucb?
447ucbsnd*		at ucb?
448ucbio*		at ucb?
449
450# PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard)
451# chip select: CS1, IRQ: 3:12/4:12 (irq1 108)
452# interrupt-mode don't work. use polling mode.
453tc5165buf*	at txcsbus1 iocs 1 iocsbase 0 iocssize 0x100 iocswidth 16
454hpckbd*		at tc5165buf?
455wsmouse*	at ucbtp? mux 0
456
457#
458# Fujitsu PenCentra 200
459#
460txcsbus3	at tx39biu? platform FUJITSU_PENCENTRA_200
461
462# TC6358TB(Plum2)
463#  register space: CS3,
464#  I/O space: MCS0 & MCS1,  IRQ: 8:21 (IO[5] positive)
465#
466plum*		at txcsbus? regcs 3 regcswidth 32 iocs 4 iocswidth 32 memcs 5 memcswidth 32 irq1 277
467plumicu*	at plum?
468plumpower*	at plum?
469plumvideo*	at plum?
470hpcfb*		at plumvideo?
471plumpcmcia*	at plum?
472ohci*		at plum?
473
474# Workstation Console attachments
475bivideo0	at	mainbus0
476hpcfb*		at	bivideo0
477wsdisplay*	at	hpcfb?
478wskbd*		at	hpckbd? mux 1
479wsmouse*	at	vrpiu? mux 0
480wsmouse*	at	vrc4173piu? mux 0
481wsmouse*	at	vrdsiu_mouse? mux 0
482btnmgr0		at	mainbus0
483wskbd*		at	btnmgr0 mux 1
484
485# PCI bus support
486options 	PCIVERBOSE
487pci*	at vrpciu?
488
489# VRC4173
490vrc4173bcu* at pci? dev ? function ?	# VRC4173 BCU
491vrkiu* at vrc4173bcu? addr 0x100 size 0x20 unit VRKIU	# VRC4173 KIU
492vrc4173piu* at vrc4173bcu? addr 0x0a0 size 0x20 addr2 0x0c0 size2 0x20 unit VRPIU	# VRC4173 PIU
493
494#vrc4173cardu* at pci? dev ? function ?	# VRC4173 CARDU
495#pcmcia*	at vrc4173cardu?
496
497# PCI USB controllers
498ohci*	at pci?	dev ? function ?	# Open Host Controller
499#options 	OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG
500
501# miscellaneous PCI devices
502mqvideo*	at pci? dev ? function ?	# MQ200 video
503
504# PCMCIA bus support
505pcmcia* at plumpcmcia? controller ? socket ?
506pcmcia*	at pcic? controller 0 socket ?
507
508# PCMCIA IDE disk
509wdc*	at pcmcia? function ?
510
511# ATA (IDE) bus support
512atabus* at ata?
513
514# IDE drives
515wd*	at atabus? drive ? flags 0x0000
516
517# PCMCIA network interfaces
518ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
519mbe*	at pcmcia? function ?		# MB8696x based Ethernet
520ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
521ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
522sm*	at pcmcia? function ?		# Megahertz Ethernet
523wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
524xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
525com*	at xirc?
526xi*	at xirc?
527awi*	at pcmcia? function ?		# WLI-PCM
528an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
529mhzc*	at pcmcia? function ?
530com*	at mhzc?
531sm*	at mhzc?
532
533# PCMCIA Serial interfaces
534com*	at pcmcia? function ?		# Modems and serial cards
535
536# PCMCIA SCSI interfaces
537aic*	at pcmcia? function ?
538esp*	at pcmcia? function ?		# NCR53c406 SCSI
539spc*	at pcmcia? function ?		# Fujitsu MB87030/MB89352 SCSI
540
541# ATAPI bus support
542atapibus* at atapi?
543cd*	at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
544sd*	at atapibus? drive ? flags 0x0000 # ATAPI disk drives
545
546# SCSI bus support
547scsibus* at aic?
548scsibus* at esp?
549scsibus* at spc?
550sd*	at scsibus? target ? lun ?	# SCSI disk drives
551cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
552
553# USB Hubs
554usb*	at ohci?
555uhub*	at usb?
556uhub*	at uhub? port ?
557
558# USB HID device
559uhidev*	at uhub? port ? configuration ? interface ?
560
561# USB Mice
562ums*	at uhidev? reportid ?
563wsmouse*	at ums? mux 0
564
565# USB Keyboards
566ukbd*	at uhidev? reportid ?
567wskbd*	at ukbd? console ? mux 1
568
569# USB serial adapter
570ucycom*	at uhidev? reportid ?
571
572# USB Generic HID devices
573uhid*	at uhidev? reportid ?
574
575# USB Printer
576ulpt*	at uhub? port ? configuration ? interface ?
577
578# USB Modem
579umodem*	at uhub? port ? configuration ?
580ucom*	at umodem?
581
582# Option N.V. Wireless WAN modems
583uhso*	at uhub? port ? configuration ?
584
585# USB Mass Storage
586umass*	at uhub? port ? configuration ? interface ?
587scsibus* at umass? channel ?
588
589# USB audio
590uaudio*	at uhub? port ? configuration ?
591
592# USB MIDI
593umidi* at uhub? port ? configuration ?
594
595# USB IrDA bridges
596#uirda* at uhub? port ? configuration ? interface ?
597#irframe* at uirda?
598
599# USB Ethernet adapters
600aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
601axe*	at uhub? port ?		# ASIX AX88172 based adapters
602cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
603kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
604mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
605udav*	at uhub? port ?		# Davicom DM9601 based adapters
606ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
607url*	at uhub? port ?		# Realtek RTL8150L based adapters
608
609# MII/PHY support
610rgephy*	at mii? phy ?		# Realtek 8169S/8110S/8211 PHYs
611rlphy*	at mii? phy ?		# Realtek 8139/8201L PHYs
612ukphy*	at mii? phy ?		# generic unknown PHYs
613
614# Prolific PL2301/PL2302 host-to-host adapter
615upl*	at uhub? port ?
616
617# Serial adapters
618# FTDI FT8U100AX serial adapter
619uftdi*	at uhub? port ?
620ucom*	at uftdi? portno ?
621
622uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
623ucom*	at uplcom? portno ?
624
625umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
626ucom*	at umct? portno ?
627
628# USB Handspring Visor
629uvisor*	at uhub? port ?
630ucom*	at uvisor?
631
632# Kyocera AIR-EDGE PHONE
633ukyopon* at uhub? port ?
634ucom*	at ukyopon? portno ?
635
636# USB scanners that use SCSI emulation, e.g., HP5300
637usscanner* at uhub? port ?
638scsibus* at usscanner? channel ?
639
640# USB Generic driver
641ugen*	at uhub? port ?
642
643audio*	at uaudio?
644midi*	at midibus?
645
646spkr*	at audio?			# PC speaker (synthesized)
647
648# Pseudo-Devices
649
650#
651# accept filters
652pseudo-device   accf_data		# "dataready" accept filter
653pseudo-device   accf_http		# "httpready" accept filter
654
655pseudo-device	loop			# network loopback
656pseudo-device	ppp			# serial-line IP ports
657pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
658pseudo-device	pty			# pseudo-terminals
659pseudo-device	bpfilter		# packet filter ports
660pseudo-device	carp			# Common Address Redundancy Protocol
661pseudo-device	npf			# NPF packet filter
662
663pseudo-device	vnd			# virtual disk ick
664#options 	VND_COMPRESSION		# compressed vnd(4)
665#pseudo-device	ccd			# concatenated disks
666pseudo-device	fss			# file system snapshot device
667#pseudo-device	cgd			# cryptographic disks
668pseudo-device	clockctl		# user control of clock subsystem
669pseudo-device	drvctl			# user control of drive subsystem
670pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
671
672pseudo-device	biconsdev	1	# build-in console device
673pseudo-device	wsmux			# mouse & keyboard multiplexor
674#pseudo-device	md			# memory disk device (ramdisk)
675
676#pseudo-device	raid			# RAIDframe disk driver
677#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
678# Options to enable various other RAIDframe RAID types.
679# options	RF_INCLUDE_EVENODD=1
680# options	RF_INCLUDE_RAID5_RS=1
681# options	RF_INCLUDE_PARITYLOGGING=1
682# options	RF_INCLUDE_CHAINDECLUSTER=1
683# options	RF_INCLUDE_INTERDECLUSTER=1
684# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
685# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
686
687# for IPv6
688pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
689#pseudo-device	faith			# IPv[46] tcp relay translation i/f
690pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
691
692## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
693pseudo-device	vlan
694
695## Simple inter-network traffic bridging
696pseudo-device	bridge
697pseudo-device	agr			# IEEE 802.3ad link aggregation
698pseudo-device	ksyms			# /dev/ksyms
699
700include "dev/veriexec.config"
701
702# Pull in optional local configuration - always at end
703cinclude	"arch/hpcmips/conf/GENERIC.local"
704