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

#
#	$NetBSD: TX3912,v 1.1 1999/11/21 07:04:31 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		TX39_DEBUG
#options	TX39_WATCHDOGTIMER
#options	WINCE_DEFAULT_SETTING # Debugging use
options		TX39ICUDEBUG
options		TX39BIUDEBUG
options		TX39IODEBUG
options		TX39POWERDEBUG
#options	TX39UARTDEBUG
options		IT8368DEBUG

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 	RTC_OFFSET=-540		# JST-9

options		COMPAT_43

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?
tx39uart*	at	txsim?
txcom0		at	tx39uart? slot 0
txcom1		at	tx39uart? slot 1

#
# TX39 external modules. (Platform dependent)
#
options USE_POLL	
options CCKBD_POLL	# XXX I could not find interrupt source. FIXME!!

#
#	COMPAQ C-series
#
#options COMPAQ_LOCAL_INTR
txcsbus3	at	tx39biu? platform COMPAQ_C
# XXX interrupt line not found yet.
cckbd*		at	txcsbus3 iocs 3 iocsbase 0 iocssize 0x100 iocswidth 16
# card		... 3:2 (98)
# insert/remove ... 5:1 (161/168)
it8368e*	at	txcsbus3 regcs 2 regcsbase 0 regcssize 0x20 regcswidth 16 iocs 8 iocsbase 0 iocssize 0x4000000 iocswidth 16 irq1 161 irq2 168 irq3 98

#
#	Philips Nino300
#
txcsbus4	at	tx39biu? platform PHILIPS_NINO
it8368e*	at	txcsbus4 regcs 2 regcsbase 0 regcssize 0x20 regcswidth 16 iocs 8 iocsbase 0 iocssize 0x4000000 iocswidth 16 irq1 161 irq2 168 irq3 98

#
#	misc unknown.
#
txcsbus*	at	tx39biu?

# WS console uses SUN or VT100 terminal emulation
options		WSDISPLAY_COMPAT_RAWKBD
fb*		at	tx3912video?
wsdisplay*	at	fb?
wskbd*		at	cckbd? mux 1

options 	WSEMUL_VT100
options 	WSDISPLAY_DEFAULTSCREENS=4
#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
sm*	at pcmcia? function ?		# Megahertz Ethernet

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

pseudo-device	loop		1	# network loopback
pseudo-device	pty		64	# pseudo ptys
#pseudo-device	md		1	# memory disk
pseudo-device	biconsdev	1	# build-in console device

