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