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