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