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