#
# Distribution kernel (TX3912 based model) kernel config file

#
#	$NetBSD: TX3912,v 1.14 2000/03/25 15:12:04 uch Exp $
#
include		"arch/hpcmips/conf/std.hpcmips"

maxusers	8

options 	MIPS1			# R2000/R3000 CPUs
options 	ENABLE_MIPS_TX3900	# R3900 CPU core
options 	NOFPU			# No FPU
options 	SOFTFLOAT		# emulate FPU insn
#options	R3900_CACHE_DISABLE	# Disable I/D-cache

options 	TX39XX			# Toshiba TX39 series
options 	TX391X			# Product TMPR3912
options 	KSEG2IOBUFSIZE=0x08000000	# MCS[0:3] are mapped to kseg2

options 	TX39_DEBUG
options 	TX39_WATCHDOGTIMER
#options 	TX39ICUDEBUG
#options 	TX39CLKDEBUG
#options 	TX39BIUDEBUG
#options 	TX39IODEBUG
#options 	TX39POWERDEBUG
#options 	TX39UARTDEBUG

options 	__NO_SOFT_SERIAL_INTERRUPT
options 	SERIALCONSSLOT=0	# UARTA 0, UARTB 1

options 	DDB			# in-kernel debugger
#options 	DDB_ONPANIC=0		# don't enter debugger on panic
options 	DIAGNOSTIC		# extra kernel debugging checks
options 	DEBUG			# extra kernel debugging support
options 	KTRACE			# system call tracing support
#options 	SYSCALL_DEBUG		# for debug
#options	 MINIROOTSIZE=10000

#options 	MEMORY_DISK_HOOKS
#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
#options 	MINIROOTSIZE=12288	# size of memory disk, in blocks

options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate compression support for PPP
options 	PPP_FILTER	# Active filter support for PPP (requires bpf)

options 	COMPAT_43

options 	SCSIVERBOSE	# human readable SCSI error messages
options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages

file-system	FFS		# fast filesystem with user and group quotas
file-system	MFS		# memory-based filesystem
file-system	KERNFS		# /kern (kernel informational filesystem)
file-system	PROCFS		# /proc
file-system	UNION

# Networking options
options 	INET		# Internet protocols

config		netbsd		root on ? type ?

txsim*	at mainbus0

#
# System Internal Modules
#
tx39biu*	at txsim?
tx39icu*	at txsim?
tx39clock*	at txsim?
tx39power*	at txsim?
tx3912video*	at txsim?
tx39io*		at txsim?
tx39sib*	at txsim?
tx39uart*	at txsim?
txcom0		at tx39uart? slot 0
txcom1		at tx39uart? slot 1
tx39ir*		at txcom1

#
# TX39 external modules. (Platform dependent)
#
options USE_POLL	# keyboard / touchpanel device  requires this

# IO module manager (Don't delete)
txioman3	at tx39io? platform COMPAQ_C
txioman4	at tx39io? platform PHILIPS_NINO
txioman5	at tx39io? platform SHARP_MOBILON
txioman*	at tx39io?	# misc unknown.

# Chip select manager
txcsbus3	at tx39biu? platform COMPAQ_C
txcsbus4	at tx39biu? platform PHILIPS_NINO
txcsbus5	at tx39biu? platform SHARP_MOBILON
txcsbus*	at tx39biu?	# misc unknown.

# PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard)
tc5165buf*	at txcsbus3 iocs 3 iocsbase 0 iocssize 0x100 iocswidth 16
tc5165buf*	at txcsbus5 iocs 4 iocsbase 0 iocssize 0x100 iocswidth 16
skbd*		at tc5165buf?

# ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
# card/insert	... 3:2 (98)
# remove	... 5:8 (168)
options	IT8368E_LEGACY_MODE	# Mobilon HC-4100 requires this
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

# PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
ucb*		at tx39sib? slot 0
ucbtp*		at ucb?
ucbsnd*		at ucb?
ucbio*		at ucb?
ucbioport*	at ucbio? platform COMPAQ_C_810 id BTN_LIGHT port 5

# WS console uses SUN or VT100 terminal emulation
bivideo*	at tx3912video?
hpcfb*		at bivideo?
wsdisplay*	at hpcfb?
wskbd*		at skbd? mux 1
wsmouse*	at ucbtp? mux 0
btnmgr0		at mainbus0
wskbd*		at btnmgr0 mux 1

options 	WSEMUL_VT100
options 	WSDISPLAY_DEFAULTSCREENS=4
options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	FONT_VT220L8x8
options 	FONT_VT220L8x10

# PCMCIA bus support
pcmcia* at it8368e? controller ? socket ?

# PCMCIA IDE disk
wdc*	at pcmcia? function ?
wd*	at wdc? channel ? drive ? flags 0x0000

# ATAPI bus support
atapibus* at wdc? channel ?

# PCMCIA network interfaces
ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
mbe*	at pcmcia? function ?		# MB8696x based Ethernet
ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
com*	at mhzc?
sm*	at mhzc?

com*	at pcmcia? function ?		# Modems and serial cards

# PCMCIA SCSI interfaces
aic*	at pcmcia? function ?
scsibus* at aic?
sd*	at scsibus? target ? lun ?	# SCSI disk drives

# disk/mass storage pseudo-devices
pseudo-device	vnd		4	# disk-like interface to files
pseudo-device	md		1	# memory disk

pseudo-device	bpfilter	8	# Berkeley packet filter
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop		1	# network loopback
pseudo-device	ppp		2	# Point-to-Point Protocol
pseudo-device	pty		64	# pseudo ptys

# mouse & keyboard multiplexor pseudo-devices
pseudo-device	wsmux		2

