GENERIC revision 1.84
1# 2# Distribution kernel (NEC VR based model) kernel config file 3 4# 5# $NetBSD: GENERIC,v 1.84 2001/04/03 09:02:24 sato Exp $ 6# 7include "arch/hpcmips/conf/std.hpcmips" 8 9#ident "GENERIC-$Revision: 1.84 $" 10 11maxusers 8 12 13options MIPS3 # R4000/R4400/R4600 CPUs 14 15# Support for specific models of H/PC MIPS 16options VR41X1 # NEC VR41x1 series 17options MIPS3_4100 # VR4100 core 18options NOFPU # No FPU 19options SOFTFLOAT # emulate FPU insn 20options MIPS3_L2CACHE_ABSENT 21 22# Standard system options 23options 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 28options 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. 43options 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 55file-system FFS # fast filesystem with user and group quotas 56file-system MFS # memory-based filesystem 57file-system NFS # Sun NFS-compatible filesystem (client) 58#file-system LFS # Log-based filesystem (still experimental) 59file-system CD9660 # ISO 9660 + Rock Ridge file system 60file-system MSDOSFS # MS-DOS file system 61#file-system FDESC # /dev/fd 62file-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) 66file-system PROCFS # /proc 67#file-system UMAPFS # NULLFS + uid and gid remapping 68file-system UNION 69 70#options NFSSERVER # Sun NFS-compatible filesystem (server) 71options SOFTDEP # FFS soft updates support. 72#options QUOTA # UFS quotas 73options VNODE_OP_NOINLINE # don't inline vnode op calls 74 75# Networking options 76#options GATEWAY # IP packet forwarding 77options INET # IP + ICMP + TCP + UDP 78options 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 89options COMPAT_43 90 91options NFS_BOOT_DHCP 92 93config netbsd root on ? type ? 94 95# WS console uses SUN or VT100 terminal emulation 96options WSEMUL_VT100 97#options WSDISPLAY_DEFAULTSCREENS=4 98#options FONT_VT220L8x8 99options FONT_VT220L8x10 100# compatibility to other console drivers 101options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 102options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 103options WSDISPLAY_COMPAT_USL # VT handling 104options 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 112hpcapm0 at mainbus0 # power management 113apmdev0 at hpcapm0 # APM 114 115vrip* at mainbus0 116vrbcu* at vrip? addr 0x0b000000 size 0x20 117vrcmu* at vrip? addr 0x0b000060 size 0x20 118vrrtc* at vrip? addr 0x0b0000c0 size 0x20 intr 2 119 120vrkiu* at vrip? addr 0x0b000180 size 0x20 intr 7 121hpckbd* at vrkiu? 122options __NO_SOFT_SERIAL_INTERRUPT 123com* at vrip? addr 0x0c000000 size 0x20 intr 9 pwctl PWCTL_COM0 124vrgiu* at vrip? addr 0x0b000100 size 0x20 intr 8 125vrpmu* at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch 126vrdsu* at vrip? addr 0x0b0000e0 size 0x08 127vrpiu* at vrip? addr 0x0b000120 size 0x1a0 intr 5 128vrled* at vrip? addr 0x0b000240 size 0x10 intr 17 129 130options MQ200_DEBUG 131#options MQ200_USECRT 132mqvideo0 at vrip? addr 0x0a000000 size 0x800000 # MQ200 video controller 133hpcfb* at mqvideo? 134 135ite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller 136hpcfb* at ite8181video? 137 138vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_430 139vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_510 140vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520 141vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520A 142vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530 143vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION 144vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530A 145vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_700 146 147# Workstation Console attachments 148bivideo0 at mainbus0 149hpcfb* at bivideo0 150wsdisplay* at hpcfb? 151wskbd* at hpckbd? mux 1 152wsmouse* at vrpiu? mux 0 153btnmgr0 at mainbus0 154wskbd* at btnmgr0 mux 1 155 156# 157# hpcmips isa? bus irq locator means: 158# 159# 0x0000000f ISA IRQ# 160# 0x00ff0000 GPIO port# 161# 0x01000000 interrupt signal hold/through (1:hold/0:though) 162# 0x02000000 interrupt detection level (1:low /0:high ) 163# 0x04000000 interrupt detection trigger (1:edge/0:level ) 164 165# 166# MC-R300, MC-R500 167# Button to GPIO port # mapping 168# + REC button : 4 169# + Open/Close button: 6 170# (PCIC-ISA : 9) 171# (COM power:14) 172# 173# MC-R510 174# Button to GPIO port # mapping 175# + Open/Close button: 3 176# (PCIC-ISA : 9) 177# (COM power:14) 178# 179# MC-R530 180# Button to GPIO port # mapping 181# + Open/Close button: 3 182# + Application button: 2 183# (PCIC-ISA : 9) 184# (COM power:14) 185# 186# MC-R700 187# Button to GPIO port # mapping 188# + Open/Close button: 3 189# (PCIC-ISA : 9) 190# (COM power:46) 191# 192# MC-CS 193# Button to GPIO port # mapping 194# (PCIC-ISA : 9) 195# (COM power:14) 196# 197# IBM WorkPad z50 198# Button to GPIO port # mapping 199# + REC button : 1 200# + Application button? : 2 201# (PCIC-ISA : 9) 202# 203button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4 204button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4 205button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0 206button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3 207button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3 208button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3 209button1 at vrgiu? platform NEC_MCR_530 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 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_300 id PWCTL_LCDLIGHT port 45 225pwctl1 at vrgiu? platform NEC_MCR_FORDOCOMO 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_300 id PWCTL_LCD port 10 229pwctl2 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCD port 10 230pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10 231pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10 232pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12 233pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44 234pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12 235pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44 236pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44 237pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44 238pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49 239#pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47 240#pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47 241#pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47 242vrisab0 at vrgiu? platform NEC_MCR 243vrisab0 at vrgiu? platform NEC_MCCS 244vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000 245isa0 at vrisab0 246pcic0 at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003 247# 248# Freestyle 249# Button to GPIO port # mapping 250# +---------+ 251# 1 +| | 252# | |+ 7 253# | | 254#20 +| LCD |+ 4 255# | | + 6 256# 8 +| |+ 5 257# | | 258# | |+----Power On/Off (connected to PMU) 259# +---------+ 260# +9 261# +12 +10 262# +11 263# (PCIC-ISA : 23) 264button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9 265button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10 266button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11 267button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12 268button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7 269button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4 270button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6 271button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5 272button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1 273button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20 274button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8 275vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000 276isa1 at vrisab1 277pcic0 at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003 278 279options PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle) 280 281# 282# Fujitsu INTERTOP CX300 283# 284pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15 285vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000 286isa2 at vrisab2 287pcic0 at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003 288 289# 290# Vadem Clio and Sharp Tripad 291# 292vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000 293vrisab3 at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000 294isa3 at vrisab3 295pcic0 at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003 296 297# 298# CASIO CASSIOPEIA E55 and for DoCoMo 299# 300button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6 301button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7 302button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8 303button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9 304button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10 305button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11 306button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12 307button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13 308pwctl0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38 309pwctl1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26 310 311# 'CF hack' for all CASSIOPEIA E series 312vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000 313vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000 314isa4 at vrisab4 315wdc0 at isa4 port 0x170 irq 0x02000003 flags 0x0002 # single drive 316 317# 318# Unknown machines 319# 320vrisab4 at vrgiu? 321isa4 at vrisab4 322 323# PCMCIA bus support 324pcmcia* at pcic? controller 0 socket ? 325 326# PCMCIA IDE disk 327wdc* at pcmcia? function ? 328wd* at wdc? channel ? drive ? flags 0x0000 329 330# PCMCIA network interfaces 331ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 332mbe* at pcmcia? function ? # MB8696x based Ethernet 333ne* at pcmcia? function ? # NE2000-compatible Ethernet 334ray* at pcmcia? function ? # Raytheon Raylink (802.11) 335sm* at pcmcia? function ? # Megahertz Ethernet 336wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 337awi* at pcmcia? function ? # WLI-PCM 338an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 339 340# PCMCIA Serial interfaces 341com* at pcmcia? function ? # Modems and serial cards 342 343# PCMCIA SCSI interfaces 344aic* at pcmcia? function ? 345esp* at pcmcia? function ? # NCR53c406 SCSI 346 347# ATAPI bus support 348atapibus* at wdc? channel ? 349cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 350sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 351 352# SCSI bus support 353scsibus* at aic? 354scsibus* at esp? 355sd* at scsibus? target ? lun ? # SCSI disk drives 356cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 357 358pseudo-device loop 1 # network loopback 359pseudo-device ppp 2 # serial-line IP ports 360pseudo-device pty # pseudo-terminals 361pseudo-device bpfilter 16 # packet filter ports 362pseudo-device ipfilter # IP filter, NAT 363 364pseudo-device vnd 4 # virtual disk ick 365#pseudo-device ccd 4 # concatenated disks 366pseudo-device rnd # /dev/random and in-kernel generator 367 368pseudo-device biconsdev 1 # build-in console device 369pseudo-device wsmux 2 # mouse & keyboard multiplexor 370#pseudo-device md 1 # memory disk device (ramdisk) 371 372#pseudo-device raid 4 # RAIDframe disk driver 373#options RAID_AUTOCONFIG # auto-configuration of RAID components 374 375# for IPv6 376pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 377#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 378#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 379pseudo-device vlan # IEEE 802.1q encapsulation 380