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