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