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