VR41XX revision 1.3
1# $NetBSD: VR41XX,v 1.3 2002/01/27 13:23:17 jdolecek 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.3 $" 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 31 32# Standard system options 33options DDB # in-kernel debugger 34#options DDB_ONPANIC=0 # don't enter debugger on panic 35#options KGDB # remote debugger 36#options DIAGNOSTIC # extra kernel debugging checks 37#options DEBUG # extra kernel debugging support 38options KTRACE # system call tracing support 39options MSGBUFSIZE=8192 # dmesg buffer size 40#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 41 42## UVM options. 43#options UVM_PAGE_TRKOWN 44#options UVMHIST 45#options UVMHIST_PRINT # Loud! 46 47#options SCSIVERBOSE # human readable SCSI error messages 48#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 49 50#options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 51#options RTC_OFFSET=-540 # JST-9 52#options RTC_OFFSET=480 # PST8 53 # In NO RTC_OFFSET , inherit RTC_OFFSET 54 # from Windows CE. 55options NTP # network time protocol 56#options UCONSOLE # users can redirect console (unsafe) 57 58#options WINCE_DEFAULT_SETTING # Debugging use 59 60#options SYSCALL_DEBUG # for debug 61#options HPCMIPS_L1CACHE_DISABLE # disable L1 cache for debug 62#options HPCMIPS_FLUSHCACHE_XXX # for debug 63 64# Filesystem options 65file-system FFS # fast filesystem with user and group quotas 66file-system MFS # memory-based filesystem 67file-system NFS # Sun NFS-compatible filesystem (client) 68#file-system LFS # Log-based filesystem (still experimental) 69file-system CD9660 # ISO 9660 + Rock Ridge file system 70file-system MSDOSFS # MS-DOS file system 71#file-system FDESC # /dev/fd 72file-system KERNFS # /kern (kernel informational filesystem) 73#file-system NULLFS # loopback file system 74#file-system OVERLAY # overlay file system 75#file-system PORTAL # portal filesystem (still experimental) 76file-system PROCFS # /proc 77#file-system UMAPFS # NULLFS + uid and gid remapping 78file-system UNION 79 80#options NFSSERVER # Sun NFS-compatible filesystem (server) 81options SOFTDEP # FFS soft updates support. 82#options QUOTA # UFS quotas 83options VNODE_OP_NOINLINE # don't inline vnode op calls 84 85# Networking options 86#options GATEWAY # IP packet forwarding 87options INET # IP + ICMP + TCP + UDP 88options INET6 # IPV6 89#options IPSEC # IP security 90#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 91#options IPSEC_DEBUG # debug for IP security 92#options MROUTING # Multicast routing support 93#options ISO # OSI networking 94#options TPIP # TPIP 95#options EON # OSI tunneling over IP 96#options CCITT,LLC,HDLC # X.25 97 98# NetBSD backwards compatibility 99options COMPAT_43 100 101options NFS_BOOT_DHCP 102 103config netbsd root on ? type ? 104 105# compile options 106makeoptions DEFGP="-G 18" 107 108# WS console uses SUN or VT100 terminal emulation 109options WSEMUL_VT100 110#options WSDISPLAY_DEFAULTSCREENS=4 111#options FONT_VT220L8x8 112options FONT_VT220L8x10 113# compatibility to other console drivers 114options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 115options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 116options WSDISPLAY_COMPAT_USL # VT handling 117options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 118# 119# Hpckbd will set key board layout appropriately. You can use option 120# 'PCKBD_LAYOUT' to overrite the default layout. 121# 122#options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)" 123 124# temporally power management 125hpcapm0 at mainbus0 # power management 126apmdev0 at hpcapm0 # APM 127 128options MQ200_DEBUG 129#options MQ200_USECRT 130mqvideo0 at vrip? addr 0x0a000000 size 0x800000 # MQ200 video controller 131hpcfb* at mqvideo? 132 133ite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller 134hpcfb* at ite8181video? 135 136vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_430 137vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_510 138vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520 139vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520A 140vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530 141vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION 142vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530A 143vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_700 144 145# Workstation Console attachments 146bivideo0 at mainbus0 147hpcfb* at bivideo0 148wsdisplay* at hpcfb? 149wskbd* at hpckbd? mux 1 150wsmouse* at vrpiu? mux 0 151btnmgr0 at mainbus0 152wskbd* at btnmgr0 mux 1 153 154# 155# hpcmips isa? bus irq locator means: 156# 157# 0x0000000f ISA IRQ# 158# 0x00ff0000 GPIO port# 159# 0x01000000 interrupt signal hold/through (1:hold/0:though) 160# 0x02000000 interrupt detection level (1:low /0:high ) 161# 0x04000000 interrupt detection trigger (1:edge/0:level ) 162 163# 164# MC-R300, MC-R500 165# Button to GPIO port # mapping 166# + REC button : 4 167# + Open/Close button: 6 168# (PCIC-ISA : 9) 169# (COM power:14) 170# 171# MC-R510 172# Button to GPIO port # mapping 173# + Open/Close button: 3 174# (PCIC-ISA : 9) 175# (COM power:14) 176# 177# MC-R530 178# Button to GPIO port # mapping 179# + Open/Close button: 3 180# + Application button: 2 181# (PCIC-ISA : 9) 182# (COM power:46) 183# 184# MC-R700 185# Button to GPIO port # mapping 186# + Open/Close button: 3 187# (PCIC-ISA : 9) 188# (COM power:46) 189# 190# MC-CS 191# Button to GPIO port # mapping 192# (PCIC-ISA : 9) 193# (COM power:14) 194# 195# IBM WorkPad z50 196# Button to GPIO port # mapping 197# + REC button : 1 198# + Application button? : 2 199# (PCIC-ISA : 9) 200# 201button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4 202button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4 203button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0 204button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3 205button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3 206button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3 207#button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3 208button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3 209#button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3 210button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3 211button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3 212button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6 213button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6 214button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0 port 2 215button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0 port 2 active 0 216button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8 217pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14 218pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46 219pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14 220pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46 221pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46 222#pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46 223pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46 224pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14 225pwctl1 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCDLIGHT port 45 226pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45 227pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45 228pwctl2 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCD port 10 229pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10 230pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10 231pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12 232pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44 233pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12 234pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44 235pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44 236#pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44 237pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44 238#pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44 239#pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44 240pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49 241#pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47 242#pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47 243#pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47 244vrisab0 at vrgiu? platform NEC_MCR 245vrisab0 at vrgiu? platform NEC_MCCS 246vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000 247isa0 at vrisab0 248pcic0 at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003 249# 250# Freestyle 251# Button to GPIO port # mapping 252# +---------+ 253# 1 +| | 254# | |+ 7 255# | | 256#20 +| LCD |+ 4 257# | | + 6 258# 8 +| |+ 5 259# | | 260# | |+----Power On/Off (connected to PMU) 261# +---------+ 262# +9 263# +12 +10 264# +11 265# (PCIC-ISA : 23) 266button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9 267button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10 268button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11 269button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12 270button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7 271button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4 272button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6 273button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5 274button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1 275button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20 276button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8 277vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000 278isa1 at vrisab1 279pcic0 at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003 280 281options PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle) 282 283# 284# Fujitsu INTERTOP CX300 285# 286pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15 287vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000 288isa2 at vrisab2 289pcic0 at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003 290 291# 292# Vadem Clio and Sharp Tripad 293# 294vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000 295vrisab3 at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000 296isa3 at vrisab3 297pcic0 at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003 298 299# 300# CASIO CASSIOPEIA E55 and for DoCoMo 301# 302button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6 303button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7 304button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8 305button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9 306button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10 307button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11 308button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12 309button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13 310pwctl0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38 311pwctl1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26 312 313# 'CF hack' for all CASSIOPEIA E series 314vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000 315vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000 316isa4 at vrisab4 317wdc0 at isa4 port 0x170 irq 0x02000003 flags 0x0002 # single drive 318 319# 320# Fujitsu PenCentra 130 321# 322vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10 323vrisab5 at vrc4172gpio0 isaportoffset 0x1000000 324isa5 at vrisab5 325pcic0 at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003 326 327# PCMCIA bus support 328pcmcia* at pcic? controller 0 socket ? 329 330# PCMCIA IDE disk 331wdc* at pcmcia? function ? 332wd* at wdc? channel ? drive ? flags 0x0000 333 334# PCMCIA network interfaces 335ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 336mbe* at pcmcia? function ? # MB8696x based Ethernet 337ne* at pcmcia? function ? # NE2000-compatible Ethernet 338ray* at pcmcia? function ? # Raytheon Raylink (802.11) 339sm* at pcmcia? function ? # Megahertz Ethernet 340wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 341awi* at pcmcia? function ? # WLI-PCM 342an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 343 344# PCMCIA Serial interfaces 345com* at pcmcia? function ? # Modems and serial cards 346 347# PCMCIA SCSI interfaces 348aic* at pcmcia? function ? 349esp* at pcmcia? function ? # NCR53c406 SCSI 350 351# ATAPI bus support 352atapibus* at wdc? channel ? 353cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 354sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 355 356# SCSI bus support 357scsibus* at aic? 358scsibus* at esp? 359sd* at scsibus? target ? lun ? # SCSI disk drives 360cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 361 362pseudo-device loop 1 # network loopback 363pseudo-device ppp 2 # serial-line IP ports 364pseudo-device pty # pseudo-terminals 365pseudo-device bpfilter 16 # packet filter ports 366pseudo-device ipfilter # IP filter, NAT 367 368pseudo-device vnd 4 # virtual disk ick 369#pseudo-device ccd 4 # concatenated disks 370pseudo-device rnd # /dev/random and in-kernel generator 371 372pseudo-device biconsdev 1 # build-in console device 373pseudo-device wsmux # mouse & keyboard multiplexor 374#pseudo-device md 1 # memory disk device (ramdisk) 375 376#pseudo-device raid 4 # RAIDframe disk driver 377#options RAID_AUTOCONFIG # auto-configuration of RAID components 378 379# for IPv6 380pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 381#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 382#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 383 384## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4). 385pseudo-device vlan 386 387## Simple inter-network traffic bridging 388pseudo-device bridge 389