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