1 # 2 # Distribution kernel (any model) kernel config file 3 4 # 5 # $NetBSD: GENERIC,v 1.18 1999/12/23 06:26:08 takemura Exp $ 6 # 7 include "arch/hpcmips/conf/std.hpcmips" 8 9 maxusers 8 10 11 options MIPS3 # R4000/R4400/R4600 CPUs 12 13 # Support for specific models of H/PC MIPS 14 options VR41X1 # NEC VR41x1 series 15 options MIPS3_4100 # VR4100 core 16 options SOFTFLOAT # No FPU 17 options MIPS3_L2CACHE_ABSENT 18 19 # Standard system options 20 options DDB # in-kernel debugger 21 #options DDB_ONPANIC=0 # don't enter debugger on panic 22 #options DIAGNOSTIC # extra kernel debugging checks 23 #options DEBUG # extra kernel debugging support 24 options KTRACE # system call tracing support 25 options NKMEMCLUSTERS=1024 # 4K pages in kernel malloc pool 26 27 options SCSIVERBOSE # human readable SCSI error messages 28 options PCMCIAVERBOSE # verbose PCMCIA configuration messages 29 30 #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 31 #options RTC_OFFSET=-540 # JST-9 32 #options RTC_OFFSET=480 # PST8 33 options NTP # network time protocol 34 #options UCONSOLE # users can redirect console (unsafe) 35 36 #options WINCE_DEFAULT_SETTING # Debugging use 37 #options DUMP_GIU_LEVEL2_INTR # Debugging use 38 #options DEBUG_FIND_PCIC # Debugging use XXX harmful don't define until read source. 39 40 #options SYSCALL_DEBUG # for debug 41 #options HPCMIPS_L1CACHE_DISABLE # disable L1 cache for debug 42 #options HPCMIPS_FLUSHCACHE_XXX # for debug 43 #options MIPS_16K_PAGE # page size is 16KB 44 45 # Filesystem options 46 file-system FFS # fast filesystem with user and group quotas 47 file-system MFS # memory-based filesystem 48 file-system NFS # Sun NFS-compatible filesystem (client) 49 #file-system LFS # Log-based filesystem (still experimental) 50 #file-system CD9660 # ISO 9660 + Rock Ridge file system 51 #file-system FDESC # /dev/fd 52 file-system KERNFS # /kern (kernel informational filesystem) 53 #file-system NULLFS # loopback file system 54 #file-system PORTAL # portal filesystem (still experimental) 55 file-system PROCFS # /proc 56 #file-system UMAPFS # NULLFS + uid and gid remapping 57 file-system UNION 58 59 #options NFSSERVER # Sun NFS-compatible filesystem (server) 60 #options SOFTDEP # FFS soft updates support. 61 options QUOTA # UFS quotas 62 63 # Pull in config fragments for kernel crypto. Use only one of these, 64 # and adjust the prefixes as necessary. 65 66 #prefix ../crypto-us/sys 67 #cinclude "conf/files.crypto-us" 68 #prefix 69 70 #prefix ../crypto-intl/sys 71 #cinclude "conf/files.crypto-intl" 72 #prefix 73 74 # Networking options 75 #options GATEWAY # IP packet forwarding 76 options INET # IP + ICMP + TCP + UDP 77 options INET6 # IPV6 78 #options IPSEC # IP security 79 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 80 #options IPSEC_DEBUG # debug for IP security 81 #options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 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, COMPAT_13, COMPAT_14 90 options COMPAT_386BSD_MBRPART # recognize old partition ID 91 92 options NFS_BOOT_DHCP 93 94 config netbsd root on ? type ? 95 config sdnetbsd root on sd0a type ffs 96 config nfsnetbsd root on ? type nfs 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 104 # Workstation Console attachments 105 fb* at mainbus0 106 wsdisplay* at fb? 107 wskbd* at vrkiu? mux 1 108 #wsmouse* at pms? mux 0 109 110 111 vrip* at mainbus0 112 vrcmu* at vrip? addr 0x0b000060 size 0x20 113 vrbcu* at vrip? addr 0x0b000000 size 0x20 114 vrrtc* at vrip? addr 0x0b0000c0 size 0x20 intr 2 115 116 vrkiu* at vrip? addr 0x0b000180 size 0x20 intr 7 117 options __NO_SOFT_SERIAL_INTERRUPT 118 com* at vrip? addr 0x0c000000 size 0x20 intr 9 119 vrgiu* at vrip? addr 0x0b000100 size 0x20 intr 8 120 vrpmu* at vrip? addr 0x0b0000a0 size 0x20 intr 1 # power switch 121 vrdsu* at vrip? addr 0x0b0000e0 size 0x08 122 123 # 124 # MC-R300 125 # Button to GPIO port # mapping 126 # + REC button : 4 127 # + Open/Close button: 6 128 # (PCIC-ISA : 9) 129 # (COM power:14) 130 button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4 131 button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6 132 button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4 133 button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6 134 pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14 135 pwctl0 at vrgiu? platform NEC_MCR_5XX id PWCTL_COM0 port 14 136 pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46 137 pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14 138 vrisab0 at vrgiu? platform NEC_MCR 139 vrisab0 at vrgiu? platform NEC_MCCS 140 vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000 141 isa0 at vrisab0 142 pcic0 at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003 143 # 144 # Freestyle 145 # Button to GPIO port # mapping 146 # +---------+ 147 # 1 +| | 148 # | |+ 7 149 # | | 150 #20 +| LCD |+ 4 151 # | | + 6 152 # 8 +| |+ 5 153 # | | 154 # | |+----Power On/Off (connected to PMU) 155 # +---------+ 156 # +9 157 # +12 +10 158 # +11 159 # (PCIC-ISA : 23) 160 button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9 161 button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10 162 button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11 163 button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12 164 button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7 165 button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4 166 button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6 167 button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5 168 button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1 169 button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20 170 button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8 171 vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000 172 isa1 at vrisab1 173 pcic0 at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003 174 175 options PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle) 176 # 177 # Fujitsu INTERTOP CX300 178 # 179 pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15 180 vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000 181 isa2 at vrisab2 182 pcic0 at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003 183 # 184 # Unknown machines 185 # 186 vrisab3 at vrgiu? 187 isa3 at vrisab3 188 189 # PCMCIA bus support 190 pcmcia* at pcic? controller ? socket ? 191 192 # PCMCIA IDE disk 193 wdc* at pcmcia? function ? 194 wd* at wdc? channel ? drive ? flags 0x0000 195 196 # ATAPI bus support 197 atapibus* at wdc? channel ? 198 199 # PCMCIA network interfaces 200 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 201 mbe* at pcmcia? function ? # MB8696x based Ethernet 202 ne* at pcmcia? function ? # NE2000-compatible Ethernet 203 sm* at pcmcia? function ? # Megahertz Ethernet 204 205 com* at pcmcia? function ? # Modems and serial cards 206 207 aic* at pcmcia? function ? 208 scsibus* at aic? 209 sd* at scsibus? target ? lun ? # SCSI disk drives 210 211 pseudo-device loop 1 # network loopback 212 pseudo-device ppp 2 # serial-line IP ports 213 pseudo-device pty 64 # pseudo ptys 214 pseudo-device bpfilter 16 # packet filter ports 215 pseudo-device ipfilter # IP filter, NAT 216 217 pseudo-device vnd 4 # virtual disk ick 218 pseudo-device ccd 4 # concatenated disks 219 220 pseudo-device biconsdev 1 # build-in console device 221 pseudo-device btnmgr 1 # button event handler 222 223 # for IPv6 224 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 225 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f 226