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