1# $NetBSD: VR41XX,v 1.11 2002/11/27 07:33:03 shin 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" 23#ident "GENERIC-$Revision: 1.11 $" 24 25#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 26 27maxusers 16 28 29# Support for specific models of H/PC MIPS 30options VR4102 # NEC VR4102 31options VR4111 # NEC VR4111 32options VR4121 # NEC VR4121 33options VR4122 # NEC VR4122 34options VR4131 # NEC VR4131 35 36# Standard system options 37options DDB # in-kernel debugger 38#options DDB_ONPANIC=0 # don't enter debugger on panic 39#options KGDB # remote debugger 40#options DIAGNOSTIC # extra kernel debugging checks 41#options DEBUG # extra kernel debugging support 42options KTRACE # system call tracing support 43options MSGBUFSIZE=8192 # dmesg buffer size 44options USERCONF # userconf(4) support 45#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 46options KLOADER_KERNEL_PATH="\"/netbsd\"" 47options KLOADER_DEBUG 48 49## UVM options. 50#options UVM_PAGE_TRKOWN 51#options UVMHIST 52#options UVMHIST_PRINT # Loud! 53 54#options SCSIVERBOSE # human readable SCSI error messages 55#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 56 57#options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 58#options RTC_OFFSET=-540 # JST-9 59#options RTC_OFFSET=480 # PST8 60 # In NO RTC_OFFSET , inherit RTC_OFFSET 61 # from Windows CE. 62options NTP # network time protocol 63#options UCONSOLE # users can redirect console (unsafe) 64 65#options WINCE_DEFAULT_SETTING # Debugging use 66 67#options SYSCALL_DEBUG # for debug 68#options HPCMIPS_L1CACHE_DISABLE # disable L1 cache for debug 69 70# Filesystem options 71file-system FFS # fast filesystem with user and group quotas 72file-system MFS # memory-based filesystem 73file-system NFS # Sun NFS-compatible filesystem (client) 74#file-system LFS # Log-based filesystem (still experimental) 75file-system CD9660 # ISO 9660 + Rock Ridge file system 76file-system MSDOSFS # MS-DOS file system 77#file-system FDESC # /dev/fd 78file-system KERNFS # /kern (kernel informational filesystem) 79#file-system NULLFS # loopback file system 80#file-system OVERLAY # overlay file system 81#file-system PORTAL # portal filesystem (still experimental) 82file-system PROCFS # /proc 83#file-system UMAPFS # NULLFS + uid and gid remapping 84file-system UNION 85 86#options NFSSERVER # Sun NFS-compatible filesystem (server) 87options SOFTDEP # FFS soft updates support. 88#options QUOTA # UFS quotas 89options VNODE_OP_NOINLINE # don't inline vnode op calls 90 91# Networking options 92#options GATEWAY # IP packet forwarding 93options INET # IP + ICMP + TCP + UDP 94options INET6 # IPV6 95#options IPSEC # IP security 96#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 97#options IPSEC_DEBUG # debug for IP security 98#options MROUTING # Multicast routing support 99#options ISO # OSI networking 100#options TPIP # TPIP 101#options EON # OSI tunneling over IP 102#options CCITT,LLC,HDLC # X.25 103 104# NetBSD backwards compatibility 105options COMPAT_43 106 107options NFS_BOOT_DHCP 108 109config netbsd root on ? type ? 110 111# compile options 112#makeoptions DEFGP="-G 8" 113 114# WS console uses SUN or VT100 terminal emulation 115options WSEMUL_VT100 116#options WSDISPLAY_DEFAULTSCREENS=4 117#options FONT_VT220L8x8 118options FONT_VT220L8x10 119# compatibility to other console drivers 120options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 121options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 122options WSDISPLAY_COMPAT_USL # VT handling 123options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 124# 125# Hpckbd will set key board layout appropriately. You can use option 126# 'PCKBD_LAYOUT' to overrite the default layout. 127# 128#options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)" 129 130# temporally power management 131hpcapm0 at mainbus0 # power management 132apmdev0 at hpcapm0 # APM 133 134options MQ200_DEBUG 135#options MQ200_USECRT 136mqvideo0 at vr4102ip? addr 0x0a000000 size 0x800000 # MQ200 video controller 137hpcfb* at mqvideo? 138 139ite8181video0 at vr4102ip? addr 0x0a000000 size 0x800000 # ITE8181 video controller 140hpcfb* at ite8181video? 141 142vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_430 143vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_510 144vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_520 145vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_520A 146vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530 147vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION 148vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530A 149vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700 150 151# Workstation Console attachments 152bivideo0 at mainbus0 153hpcfb* at bivideo0 154wsdisplay* at hpcfb? 155wskbd* at hpckbd? mux 1 156wsmouse* at vrpiu? mux 0 157btnmgr0 at mainbus0 158wskbd* at btnmgr0 mux 1 159 160# 161# hpcmips isa? bus irq locator means: 162# 163# 0x0000000f ISA IRQ# 164# 0x00ff0000 GPIO port# 165# 0x01000000 interrupt signal hold/through (1:hold/0:though) 166# 0x02000000 interrupt detection level (1:low /0:high ) 167# 0x04000000 interrupt detection trigger (1:edge/0:level ) 168 169# 170# MC-R300, MC-R500 171# Button to GPIO port # mapping 172# + REC button : 4 173# + Open/Close button: 6 174# (PCIC-ISA : 9) 175# (COM power:14) 176# 177# MC-R510 178# Button to GPIO port # mapping 179# + Open/Close button: 3 180# (PCIC-ISA : 9) 181# (COM power:14) 182# 183# MC-R530 184# Button to GPIO port # mapping 185# + Open/Close button: 3 186# + Application button: 2 187# (PCIC-ISA : 9) 188# (COM power:46) 189# 190# MC-R700 191# Button to GPIO port # mapping 192# + Open/Close button: 3 193# (PCIC-ISA : 9) 194# (COM power:46) 195# 196# MC-CS 197# Button to GPIO port # mapping 198# (PCIC-ISA : 9) 199# (COM power:14) 200# 201# IBM WorkPad z50 202# Button to GPIO port # mapping 203# + REC button : 1 204# + Application button? : 2 205# (PCIC-ISA : 9) 206# 207button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4 208button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4 209button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0 210button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3 211button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3 212button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3 213#button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3 214button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3 215#button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3 216button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3 217button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3 218button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6 219button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6 220button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0 port 2 221button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0 port 2 active 0 222button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8 223pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14 224pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46 225pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14 226pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46 227pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46 228#pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46 229pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46 230pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14 231pwctl1 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCDLIGHT port 45 232pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45 233pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45 234pwctl2 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCD port 10 235pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10 236pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10 237pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12 238pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44 239pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12 240pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44 241pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44 242#pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44 243pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44 244#pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44 245#pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44 246pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49 247#pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47 248#pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47 249#pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47 250vrisab0 at vrgiu? platform NEC_MCR 251vrisab0 at vrgiu? platform NEC_MCCS 252vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000 253isa0 at vrisab0 254pcic0 at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003 255# 256# Freestyle 257# Button to GPIO port # mapping 258# +---------+ 259# 1 +| | 260# | |+ 7 261# | | 262#20 +| LCD |+ 4 263# | | + 6 264# 8 +| |+ 5 265# | | 266# | |+----Power On/Off (connected to PMU) 267# +---------+ 268# +9 269# +12 +10 270# +11 271# (PCIC-ISA : 23) 272button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9 273button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10 274button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11 275button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12 276button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7 277button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4 278button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6 279button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5 280button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1 281button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20 282button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8 283vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000 284isa1 at vrisab1 285pcic0 at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003 286 287options PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle) 288 289# 290# Fujitsu INTERTOP CX300 291# 292pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15 293vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000 294isa2 at vrisab2 295pcic0 at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003 296 297# 298# Vadem Clio and Sharp Tripad 299# 300vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000 301vrisab3 at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000 302isa3 at vrisab3 303pcic0 at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003 304 305# 306# CASIO CASSIOPEIA E55 and for DoCoMo 307# 308button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6 309button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7 310button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8 311button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9 312button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10 313button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11 314button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12 315button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13 316pwctl0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38 317pwctl1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26 318 319# 'CF hack' for all CASSIOPEIA E series 320vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000 321vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000 322isa4 at vrisab4 323wdc0 at isa4 port 0x170 irq 0x02000003 flags 0x0002 # single drive 324 325# 326# Fujitsu PenCentra 130 327# 328vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10 329vrisab5 at vrc4172gpio0 isaportoffset 0x1000000 330isa5 at vrisab5 331pcic0 at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003 332 333# 334# SigmarionII 335# 336com* at vrgiu? platform NEC_MCR_SIGMARION2 addr 0x0b600000 port 8 337vrisab6 at vrgiu? platform NEC_MCR_SIGMARION2 isaportoffset 0xf780f800 338isa6 at vrisab6 339ne* at isa6 port 0x300 irq 0x00090003 # port 9, active high and thorough 340#wdc* at isa6 port 0x170 irq 0x00090003 flags 0x0002 # single drive 341hpcioman6 at vrgiu? platform NEC_MCR_SIGMARION2 342hpcin* at hpcioman6 evtype PCIINTR id PCIINTR_00_12_02 port 0 level 1 connect 1 343 344# 345# MP-C303/304 346# 347hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC303 348hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC304 349hpcin* at hpcioman7 evtype PCIINTR id PCIINTR_00_19_02 port 1 level 0 hold 1 connect 1 350 351 352# PCI bus support 353options PCIVERBOSE 354pci* at vrpciu? 355 356# VRC4173 357vrc4173bcu* at pci? dev ? function ? # VRC4173 BCU 358#vrc4173cmu* at vrc4173bcu? # VRC4173 CMU 359#vrc4173piu* at vrc4173bcu? # VRC4173 PIU 360#vrc4173kiu* at vrc4173bcu? # VRC4173 KIU 361 362#vrc4173cardu* at pci? dev ? function ? # VRC4173 CARDU 363#pcmcia* at vrc4173cardu? 364 365# PCI USB controllers 366ohci* at pci? dev ? function ? # Open Host Controller 367#options OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG 368 369# PCMCIA bus support 370pcmcia* at pcic? controller 0 socket ? 371 372# PCMCIA IDE disk 373wdc* at pcmcia? function ? 374wd* at wdc? channel ? drive ? flags 0x0000 375 376# PCMCIA network interfaces 377ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 378mbe* at pcmcia? function ? # MB8696x based Ethernet 379ne* at pcmcia? function ? # NE2000-compatible Ethernet 380ray* at pcmcia? function ? # Raytheon Raylink (802.11) 381sm* at pcmcia? function ? # Megahertz Ethernet 382wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 383awi* at pcmcia? function ? # WLI-PCM 384an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 385 386# PCMCIA Serial interfaces 387com* at pcmcia? function ? # Modems and serial cards 388 389# PCMCIA SCSI interfaces 390aic* at pcmcia? function ? 391esp* at pcmcia? function ? # NCR53c406 SCSI 392 393# ATAPI bus support 394atapibus* at wdc? channel ? 395cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 396sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 397 398# SCSI bus support 399scsibus* at aic? 400scsibus* at esp? 401sd* at scsibus? target ? lun ? # SCSI disk drives 402cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 403 404# USB Hubs 405usb* at ohci? 406uhub* at usb? 407uhub* at uhub? port ? configuration ? interface ? 408 409# USB HID device 410uhidev* at uhub? port ? configuration ? interface ? 411 412# USB Mice 413ums* at uhidev? reportid ? 414wsmouse* at ums? mux 0 415 416# USB Keyboards 417ukbd* at uhidev? reportid ? 418wskbd* at ukbd? console ? mux 1 419 420# USB Generic HID devices 421uhid* at uhidev? reportid ? 422 423# USB Printer 424ulpt* at uhub? port ? configuration ? interface ? 425 426# USB Modem 427umodem* at uhub? port ? configuration ? 428ucom* at umodem? 429 430# USB Mass Storage 431umass* at uhub? port ? configuration ? interface ? 432atapibus* at umass? channel ? 433scsibus* at umass? channel ? 434 435# USB audio 436uaudio* at uhub? port ? configuration ? 437 438# USB MIDI 439umidi* at uhub? port ? configuration ? 440 441# USB IrDA bridges 442#uirda* at uhub? port ? configuration ? interface ? 443#irframe* at uirda? 444 445# USB Ethernet adapters 446aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 447cue* at uhub? port ? # CATC USB-EL1201A based adapters 448kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 449 450# Prolofic PL2301/PL2302 host-to-host adapter 451upl* at uhub? port ? 452 453# Serial adapters 454# FTDI FT8U100AX serial adapter 455uftdi* at uhub? port ? 456ucom* at uftdi? portno ? 457 458uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 459ucom* at uplcom? portno ? 460 461umct* at uhub? port ? # MCT USB-RS232 serial adapter 462ucom* at umct? portno ? 463 464# Diamond Multimedia Rio 500 465urio* at uhub? port ? 466 467# USB Handspring Visor 468uvisor* at uhub? port ? 469ucom* at uvisor? 470 471# USB scanners 472uscanner* at uhub? port ? 473 474# USB scanners that use SCSI emulation, e.g., HP5300 475usscanner* at uhub? port ? 476scsibus* at usscanner? channel ? 477 478# Y@P firmware loader 479uyap* at uhub? port ? 480 481# USB Generic driver 482ugen* at uhub? port ? 483 484audio* at uaudio? 485 486pseudo-device loop 1 # network loopback 487pseudo-device ppp 2 # serial-line IP ports 488pseudo-device pty # pseudo-terminals 489pseudo-device bpfilter 16 # packet filter ports 490pseudo-device ipfilter # IP filter, NAT 491 492pseudo-device vnd 4 # virtual disk ick 493#pseudo-device ccd 4 # concatenated disks 494pseudo-device rnd # /dev/random and in-kernel generator 495pseudo-device clockctl # user control of clock subsystem 496 497pseudo-device biconsdev 1 # build-in console device 498pseudo-device wsmux # mouse & keyboard multiplexor 499#pseudo-device md 1 # memory disk device (ramdisk) 500 501#pseudo-device raid 4 # RAIDframe disk driver 502#options RAID_AUTOCONFIG # auto-configuration of RAID components 503 504# for IPv6 505pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 506#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 507#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 508 509## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4). 510pseudo-device vlan 511 512## Simple inter-network traffic bridging 513pseudo-device bridge 514