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