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

#
#	$NetBSD: TX3912,v 1.4 2000/01/07 15:19:14 uch Exp $
#
include		"arch/hpcmips/conf/std.hpcmips"

maxusers	8

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

options		TX39XX			# Toshiba TX39 series
options		TX391X			# Product TMPR3912
options		KSEG2IOBUFSIZE=0x08000000	# MCS0/MCS1 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		DIAGNOSTIC		# extra kernel debugging checks
options		DEBUG			# extra kernel debugging support
options		KTRACE			# system call tracing support
options		NKMEMCLUSTERS=1024	# 4K pages in kernel malloc pool
#options	 MINIROOTSIZE=10000

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?
#options COMPAQ_LOCAL_INTR
tx39io*		at	txsim?
tx39sib*	at	txsim?
tx39uart*	at	txsim?
txcom0		at	tx39uart? slot 0
txcom1		at	tx39uart? slot 1

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

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? connected 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 buffer chip
# card		... 3:2 (98)
# insert/remove ... 5:1/8 (161/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 161 irq2 168 irq3 98

# PHILIPS UCB1200 modem/audio analog front-end
#ucb*		at	tx39sib? slot 0

# WS console uses SUN or VT100 terminal emulation
fb*		at	tx3912video?
wsdisplay*	at	fb?
wskbd*		at	skbd? mux 1
#wsmouse*	at	ucb? mux 0

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	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
