1 # 2 # Distribution kernel (TOSHIBA TX3912 based model) kernel config file 3 4 # 5 # $NetBSD: TX3912,v 1.55 2004/11/10 17:54:04 christos Exp $ 6 # 7 include "arch/hpcmips/conf/std.hpcmips" 8 9 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 10 11 maxusers 16 12 13 include "arch/hpcmips/conf/std.hpcmips.tx39" 14 makeoptions CPUFLAGS="-mips2" # CPU codegen options 15 options TX391X # Product TMPR3912 16 17 options TX39_DEBUG 18 options TX39_WATCHDOGTIMER 19 #options TX39ICU_DEBUG 20 #options TX39CLOCK_DEBUG 21 #options TX39BIU_DEBUG 22 #options TX39POWER_DEBUG 23 #options TX39UART_DEBUG 24 25 options KLOADER 26 options KLOADER_KERNEL_PATH="\"/netbsd\"" 27 options KLOADER_DEBUG 28 29 options SERIALCONSSLOT=0 # UARTA 0, UARTB 1 30 31 options DDB # in-kernel debugger 32 #options DDB_ONPANIC=0 # don't enter debugger on panic 33 options DIAGNOSTIC # extra kernel debugging checks 34 options DEBUG # extra kernel debugging support 35 options KTRACE # system call tracing support 36 #options SYSCALL_DEBUG # for debug 37 #options MEMORY_DISK_ROOT_SIZE=10000 38 options MSGBUFSIZE=65534 # for dmesg 39 40 #options MEMORY_DISK_HOOKS 41 #options MEMORY_DISK_IS_ROOT # force root on memory disk 42 #options MEMORY_DISK_SERVER=0 # no userspace memory disk support 43 #options MEMORY_DISK_ROOT_SIZE=12288 # size of memory disk, in blocks 44 45 options PPP_BSDCOMP # BSD-Compress compression support for PPP 46 options PPP_DEFLATE # Deflate compression support for PPP 47 options PPP_FILTER # Active filter support for PPP (requires bpf) 48 49 options COMPAT_43 50 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 51 52 options SCSIVERBOSE # human readable SCSI error messages 53 options PCMCIAVERBOSE # verbose PCMCIA configuration messages 54 55 options NTP # network time protocol 56 57 options USERCONF # userconf(4) support 58 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 59 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 60 61 # File systems 62 file-system FFS # UFS 63 #file-system EXT2FS # second extended file system (linux) 64 #file-system LFS # log-structured file system 65 file-system MFS # memory file system 66 file-system NFS # Network File System client 67 #file-system CD9660 # ISO 9660 + Rock Ridge file system 68 file-system MSDOSFS # MS-DOS file system 69 file-system FDESC # /dev/fd 70 file-system KERNFS # /kern 71 #file-system NULLFS # loopback file system 72 #file-system OVERLAY # overlay file system 73 #file-system PORTAL # portal filesystem (still experimental) 74 file-system PROCFS # /proc 75 #file-system UMAPFS # NULLFS + uid and gid remapping 76 file-system UNION # union file system 77 #file-system CODA # Coda File System; also needs vcoda (below) 78 79 # Networking options 80 #options GATEWAY # IP packet forwarding 81 options INET # IP + ICMP + TCP + UDP 82 options INET6 # IPV6 83 #options IPSEC # IP security 84 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 85 #options IPSEC_DEBUG # debug for IP security 86 #options MROUTING # Multicast routing support 87 #options PIM # Protocol Independent Multicast 88 #options ISO # OSI networking 89 #options TPIP # TPIP 90 #options EON # OSI tunneling over IP 91 #options CCITT,LLC,HDLC # X.25 92 93 options NFSSERVER # Sun NFS-compatible filesystem (server) 94 options SOFTDEP # FFS soft updates support. 95 #options QUOTA # UFS quotas 96 options VNODE_OP_NOINLINE # don't inline vnode op calls 97 98 options NFS_BOOT_DHCP 99 100 # compile options 101 #makeoptions DEFGP="-G 14" 102 103 config netbsd root on ? type ? 104 105 # temporally power management 106 hpcapm0 at mainbus0 # power management 107 apmdev0 at hpcapm0 # APM 108 109 # 110 # System Internal Modules (TX391X specific) 111 # 112 tx3912video* at txsim? 113 tx39ir* at txcom1 114 115 # 116 # TX39 external modules. (Platform dependent) 117 # 118 options USE_POLL # keyboard / touchpanel device requires this 119 120 # IO module manager (virtual bridge) DO NOT DELETE 121 txioman* at txsim? 122 # iochip 0 TX39 internal MFIO 123 # 1 TX39 internal IO 124 # 2 BETTY IO 125 # (3 ITE IO notyet) 126 # edge 0 no interrupt. 127 # edge 1 positive edge 128 # edge 2 negative edge 129 # edge 3 both edge 130 # initial ... set initial state (on/off) 131 hpcioman3 at txioman? platform COMPAQ_C_2010 132 hpcout* at hpcioman3 iochip 0 evtype POWER id PWCTL_LED port 3 initvalue 0 133 hpcin* at hpcioman3 iochip 1 evtype BUTTON id BTN_REC port 6 edge 1 134 hpcin* at hpcioman3 iochip 1 evtype BUTTON id BTN_APP0 port 5 edge 1 135 hpcin* at hpcioman3 iochip 0 evtype EVENT id PME_AC port 28 edge 1 136 hpcin* at hpcioman3 iochip 0 evtype EVENT id COM0_DCD port 30 edge 3 137 hpcin* at hpcioman3 iochip 0 evtype EVENT id COM0_CTS port 5 edge 3 138 hpcout* at hpcioman3 iochip 0 evtype SET id COM0_DTR port 31 139 hpcout* at hpcioman3 iochip 0 evtype SET id COM0_RTS port 6 140 141 hpcioman4 at txioman? platform COMPAQ_C_810 142 hpcout* at hpcioman4 iochip 0 evtype POWER id PWCTL_LED port 3 initvalue 0 143 hpcin* at hpcioman4 iochip 1 evtype BUTTON id BTN_REC port 6 edge 1 144 hpcin* at hpcioman4 iochip 1 evtype BUTTON id BTN_APP0 port 5 edge 1 145 hpcin* at hpcioman4 iochip 0 evtype EVENT id PME_AC port 28 edge 1 146 hpcin* at hpcioman4 iochip 0 evtype EVENT id COM0_DCD port 30 edge 3 147 hpcin* at hpcioman4 iochip 0 evtype EVENT id COM0_CTS port 5 edge 3 148 hpcout* at hpcioman4 iochip 0 evtype SET id COM0_DTR port 31 149 hpcout* at hpcioman4 iochip 0 evtype SET id COM0_RTS port 6 150 hpcout* at hpcioman4 iochip 2 evtype BUTTON id BTN_LIGHT port 5 151 152 hpcioman5 at txioman? platform SHARP_MOBILON 153 hpcout* at hpcioman5 iochip 0 evtype POWER id PWCTL_LCDLIGHT port 14 154 hpcin* at hpcioman5 iochip 1 evtype BUTTON id BTN_REC port 0 edge 1 155 hpcin* at hpcioman5 iochip 0 evtype BUTTON id BTN_APP0 port 31 edge 1 156 hpcin* at hpcioman5 iochip 0 evtype BUTTON id BTN_COVER port 29 edge 1 157 #hpcin* at hpcioman5 iochip 1 evtype EVENT id COM0_CTS port 4 edge 3 # DANGER 158 #hpcin* at hpcioman5 iochip 1 evtype EVENT id COM0_DCD port 6 edge 3 # DANGER 159 hpcout* at hpcioman5 iochip 1 evtype SET id COM0_RTS port 5 160 hpcout* at hpcioman5 iochip 0 evtype SET id COM0_DTR port 15 161 162 # Chip select manager 163 txcsbus3 at tx39biu? platform COMPAQ_C 164 txcsbus4 at tx39biu? platform PHILIPS_NINO 165 txcsbus5 at tx39biu? platform SHARP_MOBILON 166 txcsbus* at tx39biu? # misc unknown. 167 168 # PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard) 169 tc5165buf* at txcsbus3 iocs 3 iocsbase 0 iocssize 0x100 iocswidth 16 170 tc5165buf* at txcsbus5 iocs 4 iocsbase 0 iocssize 0x100 iocswidth 16 171 hpckbd* at tc5165buf? 172 173 # ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA) 174 # card/insert ... 3:2 (98) 175 # remove ... 5:8 (168) 176 options IT8368E_LEGACY_MODE # Mobilon HC-4100 requires this 177 it8368e* at txcsbus? regcs 2 regcsbase 0 regcssize 0x20 regcswidth 16 iocs 8 iocsbase 0 iocssize 0x4000000 iocswidth 16 irq1 98 irq2 168 irq3 98 178 179 # PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end) 180 ucb* at tx39sib? slot 0 181 ucbtp* at ucb? 182 ucbsnd* at ucb? 183 ucbio* at ucb? 184 185 # WS console uses SUN or VT100 terminal emulation 186 hpcfb* at tx3912video? 187 wsdisplay* at hpcfb? 188 wskbd* at hpckbd? mux 1 189 wsmouse* at ucbtp? mux 0 190 btnmgr0 at mainbus0 191 wskbd* at btnmgr0 mux 1 192 193 options WSEMUL_VT100 194 options WS_KERNEL_FG=WSCOL_BROWN 195 options WS_KERNEL_BG=WSCOL_BLUE 196 options WSDISPLAY_DEFAULTSCREENS=4 197 options FONT_VT220L8x10 198 # compatibility to other console drivers 199 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 200 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 201 options WSDISPLAY_COMPAT_USL # VT handling 202 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 203 204 # PCMCIA bus support 205 pcmcia* at it8368e? controller ? socket ? 206 207 # PCMCIA IDE disk 208 wdc* at pcmcia? function ? 209 210 # ATA (IDE) bus support 211 atabus* at ata? 212 213 # IDE drives 214 wd* at atabus? drive ? flags 0x0000 215 216 # ATAPI bus support 217 atapibus* at atapi? 218 219 # ATAPI devices 220 # flags have the same meaning as for IDE drives. 221 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 222 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 223 #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 224 225 # PCMCIA network interfaces 226 #awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) 227 #cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer 228 #ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 229 #mbe* at pcmcia? function ? # MB8696x based Ethernet 230 #ne* at pcmcia? function ? # NE2000-compatible Ethernet 231 #ray* at pcmcia? function ? # Raytheon Raylink (802.11) 232 #sm* at pcmcia? function ? # Megahertz Ethernet 233 #wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 234 #xe* at pcmcia? function ? # Xircom PCMCIA cards 235 236 #mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 237 #com* at mhzc? 238 #sm* at mhzc? 239 240 # PCMCIA serial interfaces 241 #com* at pcmcia? function ? # Modems and serial cards 242 243 #pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 244 #com* at pcmcom? slave ? # ...and the slave devices 245 246 # PCMCIA SCSI interfaces 247 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 248 esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI 249 250 scsibus* at aic? 251 scsibus* at esp? 252 253 # SCSI devices 254 sd* at scsibus? target ? lun ? # SCSI disk drives 255 #st* at scsibus? target ? lun ? # SCSI tape drives 256 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 257 #ch* at scsibus? target ? lun ? # SCSI autochangers 258 #ss* at scsibus? target ? lun ? # SCSI scanners 259 #uk* at scsibus? target ? lun ? # SCSI unknown 260 261 # disk/mass storage pseudo-devices 262 #pseudo-device ccd 4 # concatenated disks 263 #pseudo-device raid 4 # RAIDframe disk driver 264 #options RAID_AUTOCONFIG # auto-configuration of RAID components 265 pseudo-device md 1 # memory disk 266 pseudo-device vnd 4 # disk-like interface to files 267 268 # network pseudo-devices 269 pseudo-device bpfilter 8 # Berkeley packet filter 270 pseudo-device ipfilter # IP filter (firewall) and NAT 271 pseudo-device loop 1 # network loopback 272 pseudo-device ppp 2 # Point-to-Point Protocol 273 274 # mouse & keyboard multiplexor pseudo-devices 275 pseudo-device wsmux 276 277 # a pseudo device needed for Coda # also needs CODA (above) 278 #pseudo-device vcoda 4 # coda minicache <-> venus comm. 279 280 # miscellaneous pseudo-devices 281 pseudo-device rnd # /dev/random and in-kernel generator 282 pseudo-device pty # pseudo-terminals 283 pseudo-device clockctl # user control of clock subsystem 284 285 # for IPv6 286 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 287 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f 288