1 # $NetBSD: VR41XX,v 1.46 2008/11/24 11:41:11 ad Exp $
3 # GENERIC machine description file
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.
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
12 # For further information on compiling NetBSD kernels, see the config(8)
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
21 include "arch/hpcmips/conf/std.hpcmips"
22 include "arch/hpcmips/conf/std.hpcmips.vr41"
23 #ident "GENERIC-$Revision: 1.47 $"
25 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
29 # Support for specific models of H/PC MIPS
30 makeoptions CPUFLAGS="-mips2" # CPU codegen options
31 options VR4102 # NEC VR4102
32 options VR4111 # NEC VR4111
33 options VR4121 # NEC VR4121
34 options VR4122 # NEC VR4122
35 options VR4131 # NEC VR4131
37 # Standard system options
38 options DDB # in-kernel debugger
39 #options DDB_ONPANIC=0 # don't enter debugger on panic
40 #options KGDB # remote debugger
41 #options DIAGNOSTIC # extra kernel debugging checks
42 #options DEBUG # extra kernel debugging support
43 options KTRACE # system call tracing support
44 options MSGBUFSIZE=8192 # dmesg buffer size
45 options USERCONF # userconf(4) support
46 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
47 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
48 options KLOADER_KERNEL_PATH="\"/netbsd\""
52 #options UVM_PAGE_TRKOWN
54 #options UVMHIST_PRINT # Loud!
56 #options SCSIVERBOSE # human readable SCSI error messages
57 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
59 #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
60 #options RTC_OFFSET=-540 # JST-9
61 #options RTC_OFFSET=480 # PST8
62 # In NO RTC_OFFSET , inherit RTC_OFFSET
64 options NTP # network time protocol
66 #options WINCE_DEFAULT_SETTING # Debugging use
68 #options SYSCALL_DEBUG # for debug
69 #options HPCMIPS_L1CACHE_DISABLE # disable L1 cache for debug
72 file-system FFS # fast filesystem with user and group quotas
73 file-system MFS # memory-based filesystem
74 file-system NFS # Sun NFS-compatible filesystem (client)
75 #file-system LFS # Log-based filesystem (still experimental)
76 file-system CD9660 # ISO 9660 + Rock Ridge file system
77 file-system MSDOSFS # MS-DOS file system
78 #file-system FDESC # /dev/fd
79 file-system KERNFS # /kern (kernel informational filesystem)
80 #file-system NULLFS # loopback file system
81 #file-system OVERLAY # overlay file system
82 file-system PROCFS # /proc
83 #file-system UMAPFS # NULLFS + uid and gid remapping
85 file-system PTYFS # /dev/pts/N support
87 #options NFSSERVER # Sun NFS-compatible filesystem (server)
88 options WAPBL # File system journaling support - Experimental
89 #options QUOTA # UFS quotas
90 options FFS_NO_SNAPSHOT # No FFS snapshot support
93 #options GATEWAY # IP packet forwarding
94 options INET # IP + ICMP + TCP + UDP
96 #options IPSEC # IP security
97 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
98 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
99 #options IPSEC_DEBUG # debug for IP security
100 #options MROUTING # Multicast routing support
101 #options PIM # Protocol Independent Multicast
102 #options ISO # OSI networking
104 #options EON # OSI tunneling over IP
106 # NetBSD backwards compatibility
110 options COMPAT_30 # NetBSD 3.0 compatibility.
111 options COMPAT_40 # NetBSD 4.0 compatibility.
112 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
114 options NFS_BOOT_DHCP
116 config netbsd root on ? type ?
119 #makeoptions DEFGP="-G 8"
121 # WS console uses SUN or VT100 terminal emulation
123 #options WSDISPLAY_DEFAULTSCREENS=4
124 #options FONT_VT220L8x8
125 options FONT_VT220L8x10
126 # compatibility to other console drivers
127 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
128 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
129 options WSDISPLAY_COMPAT_USL # VT handling
130 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
132 # Hpckbd will set key board layout appropriately. You can use option
133 # 'PCKBD_LAYOUT' to overrite the default layout.
135 #options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
137 # temporally power management
138 hpcapm0 at mainbus0 # power management
139 apmdev0 at hpcapm0 # APM
142 #options MQ200_USECRT
143 mqvideo0 at vr4102ip? addr 0x0a000000 size 0x800000 # MQ200 video controller
146 ite8181video0 at vr4102ip? addr 0x0a000000 size 0x800000 # ITE8181 video controller
147 hpcfb* at ite8181video?
149 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_430
150 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_510
151 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_520
152 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
153 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530
154 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
155 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
156 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700
157 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700A
158 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_730
159 vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_730A
161 # Workstation Console attachments
165 wskbd* at hpckbd? mux 1
166 wsmouse* at vrpiu? mux 0
168 wskbd* at btnmgr0 mux 1
171 # hpcmips isa? bus irq locator means:
173 # 0x0000000f ISA IRQ#
174 # 0x00ff0000 GPIO port#
175 # 0x01000000 interrupt signal hold/through (1:hold/0:though)
176 # 0x02000000 interrupt detection level (1:low /0:high )
177 # 0x04000000 interrupt detection trigger (1:edge/0:level )
181 # Button to GPIO port # mapping
183 # + Open/Close button: 6
188 # Button to GPIO port # mapping
189 # + Open/Close button: 3
194 # Button to GPIO port # mapping
195 # + Open/Close button: 3
196 # + Application button: 2
201 # Button to GPIO port # mapping
202 # + Open/Close button: 3
207 # Button to GPIO port # mapping
212 # Button to GPIO port # mapping
214 # + Application button? : 2
217 button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
218 button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
219 button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
220 button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
221 button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
222 button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
223 #button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
224 button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
225 #button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
226 button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
227 button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
228 button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
229 button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
230 button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0 port 2
231 button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0 port 2 active 0
232 button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
233 pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
234 pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
235 pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
236 pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
237 pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
238 #pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
239 pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
240 pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
241 pwctl1 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCDLIGHT port 45
242 pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
243 pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
244 pwctl2 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCD port 10
245 pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
246 pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
247 pwctl3 at vrgiu? platform NEC_MCCS id PWCTL_SPEAKER port 12
248 pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
249 pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
250 pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
251 pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
252 pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
253 #pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
254 pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
255 #pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44
256 #pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44
257 pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
258 #pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47
259 #pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47
260 #pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47
261 vrisab0 at vrgiu? platform NEC_MCR
262 vrisab0 at vrgiu? platform NEC_MCCS
263 vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
265 pcic0 at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
268 # Button to GPIO port # mapping
277 # | |+----Power On/Off (connected to PMU)
283 button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
284 button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
285 button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
286 button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
287 button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
288 button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
289 button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
290 button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
291 button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
292 button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
293 button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
294 vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
296 pcic0 at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
298 options PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
301 # Fujitsu INTERTOP CX300
303 pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
304 vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
306 pcic0 at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
309 # Vadem Clio and Sharp Tripad
311 vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x0
312 vrisab3 at vrgiu? platform VADEM_CLIO_C isaportoffset 0x0
314 pcic0 at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
317 # CASIO CASSIOPEIA E55 and for DoCoMo
319 button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
320 button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
321 button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
322 button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
323 button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
324 button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
325 button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
326 button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
327 pwctl0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
328 pwctl1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
330 # 'CF hack' for all CASSIOPEIA E series
331 vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
332 vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
334 wdc0 at isa4 port 0x170 irq 0x02000003 flags 0x0002 # single drive
337 # Fujitsu PenCentra 130
339 vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
340 vrisab5 at vrc4172gpio0 isaportoffset 0x1000000
342 pcic0 at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
347 com* at vrgiu? platform NEC_MCR_SIGMARION2 addr 0x0b600000 port 8
348 vrisab6 at vrgiu? platform NEC_MCR_SIGMARION2 isaportoffset 0xf780f800
350 ne* at isa6 port 0x300 irq 0x00090003 # port 9, active high and thorough
351 #wdc* at isa6 port 0x170 irq 0x00090003 flags 0x0002 # single drive
352 hpcioman6 at vrgiu? platform NEC_MCR_SIGMARION2
353 hpcin* at hpcioman6 evtype PCIINTR id PCIINTR_00_12_02 port 0 level 1 connect 1
358 hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC303
359 hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC304
360 hpcin* at hpcioman7 evtype PCIINTR id PCIINTR_00_19_02 port 1 level 0 hold 1 connect 1
368 vrc4173bcu* at pci? dev ? function ? # VRC4173 BCU
369 #vrc4173cmu* at vrc4173bcu? # VRC4173 CMU
370 #vrc4173piu* at vrc4173bcu? # VRC4173 PIU
371 #vrc4173kiu* at vrc4173bcu? # VRC4173 KIU
373 #vrc4173cardu* at pci? dev ? function ? # VRC4173 CARDU
374 #pcmcia* at vrc4173cardu?
376 # PCI USB controllers
377 ohci* at pci? dev ? function ? # Open Host Controller
378 #options OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG
381 pcmcia* at pcic? controller 0 socket ?
384 wdc* at pcmcia? function ?
386 # ATA (IDE) bus support
390 wd* at atabus? drive ? flags 0x0000
392 # PCMCIA network interfaces
393 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
394 mbe* at pcmcia? function ? # MB8696x based Ethernet
395 ne* at pcmcia? function ? # NE2000-compatible Ethernet
396 ray* at pcmcia? function ? # Raytheon Raylink (802.11)
397 sm* at pcmcia? function ? # Megahertz Ethernet
398 wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
399 awi* at pcmcia? function ? # WLI-PCM
400 an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
402 # PCMCIA Serial interfaces
403 com* at pcmcia? function ? # Modems and serial cards
405 # PCMCIA SCSI interfaces
406 aic* at pcmcia? function ?
407 esp* at pcmcia? function ? # NCR53c406 SCSI
411 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
412 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
417 sd* at scsibus? target ? lun ? # SCSI disk drives
418 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
423 uhub* at uhub? port ?
426 uhidev* at uhub? port ? configuration ? interface ?
429 ums* at uhidev? reportid ?
430 wsmouse* at ums? mux 0
433 ukbd* at uhidev? reportid ?
434 wskbd* at ukbd? console ? mux 1
437 ucycom* at uhidev? reportid ?
439 # USB Generic HID devices
440 uhid* at uhidev? reportid ?
443 ulpt* at uhub? port ? configuration ? interface ?
446 umodem* at uhub? port ? configuration ?
450 umass* at uhub? port ? configuration ? interface ?
451 scsibus* at umass? channel ?
454 uaudio* at uhub? port ? configuration ?
457 umidi* at uhub? port ? configuration ?
460 #uirda* at uhub? port ? configuration ? interface ?
463 # USB Ethernet adapters
464 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
465 axe* at uhub? port ? # ASIX AX88172 based adapters
466 cue* at uhub? port ? # CATC USB-EL1201A based adapters
467 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
468 url* at uhub? port ? # Realtek RTL8150L based adapters
470 # Prolific PL2301/PL2302 host-to-host adapter
474 # FTDI FT8U100AX serial adapter
475 uftdi* at uhub? port ?
476 ucom* at uftdi? portno ?
478 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
479 ucom* at uplcom? portno ?
481 umct* at uhub? port ? # MCT USB-RS232 serial adapter
482 ucom* at umct? portno ?
484 # Diamond Multimedia Rio 500
485 urio* at uhub? port ?
487 # USB Handspring Visor
488 uvisor* at uhub? port ?
491 # Kyocera AIR-EDGE PHONE
492 ukyopon* at uhub? port ?
493 ucom* at ukyopon? portno ?
496 uscanner* at uhub? port ?
498 # USB scanners that use SCSI emulation, e.g., HP5300
499 usscanner* at uhub? port ?
500 scsibus* at usscanner? channel ?
502 # Y@P firmware loader
503 uyap* at uhub? port ?
506 ugen* at uhub? port ?
510 pseudo-device loop 1 # network loopback
511 pseudo-device ppp # serial-line IP ports
512 pseudo-device pty # pseudo-terminals
513 pseudo-device bpfilter # packet filter ports
514 pseudo-device ipfilter # IP filter, NAT
516 pseudo-device vnd # virtual disk ick
517 #pseudo-device ccd 4 # concatenated disks
518 pseudo-device rnd # /dev/random and in-kernel generator
519 pseudo-device clockctl # user control of clock subsystem
521 pseudo-device biconsdev 1 # build-in console device
522 pseudo-device wsmux # mouse & keyboard multiplexor
523 #pseudo-device md 1 # memory disk device (ramdisk)
525 #pseudo-device raid 4 # RAIDframe disk driver
526 #options RAID_AUTOCONFIG # auto-configuration of RAID components
527 #pseudo-device fss 4 # file system snapshot device
530 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
531 #pseudo-device faith # IPv[46] tcp relay translation i/f
532 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
534 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
537 ## Simple inter-network traffic bridging