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

#
#	$NetBSD: TX3922,v 1.3 1999/12/12 17:08:37 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		TX392X			# Toshiba TX3922
options		KSEG2IOBUFSIZE=0x08000000	# MCS0/MCS1 are mapped to kseg2

options		TX39_DEBUG
#options	TX39_WATCHDOGTIMER
#options	WINCE_DEFAULT_SETTING	# Debugging use
options		TX39ICUDEBUG
options		TX39BIUDEBUG
options		TX39IODEBUG
options		TX39POWERDEBUG
#options		TX39UARTDEBUG

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		__NO_SOFT_SERIAL_INTERRUPT
options		SERIALCONSSLOT=0	# UARTA 0, UARTB 1

options		COMPAT_43

options 	SCSIVERBOSE	# human readable SCSI error messages
options		PCMCIAVERBOSE	# verbose PCMCIA configuration messages
options 	USBVERBOSE	# verbose USB device autoconfig messages

file-system	FFS		# fast filesystem with user and group quotas
config		netbsd		root on ? type ?

# Networking options
options		INET		# Internet protocols

txsim*	at	mainbus0
#
# TX39 System Internal Modules
#
tx39biu*	at	txsim?
tx39icu*	at	txsim?
tx39clock*	at	txsim?
tx39power*	at	txsim?
tx39io*		at	txsim?
tx39uart*	at	txsim?
txcom0		at	tx39uart? slot 0
txcom1		at	tx39uart? slot 1

txcsbus1	at	tx39biu? platform SHARP_TELIOS
txcsbus2	at	tx39biu? platform VICTOR_INTERLINK

options USE_POLL	# m38813,tc5165 requires this

#
# SHARP Telios keyboard driver 
# chip select: CS1, IRQ: 3:12/4:12
tc5165buf*	at	txcsbus1 iocs 1 iocsbase 0 iocssize 0x100 iocswidth 16 irq1 108
skbd*		at	tc5165buf?

#
# VICTOR InterLink keyboard driver
# chip select: CARD1 IRQ ???
m38813c*	at	txcsbus2 iocs 8 iocswidth 16 iocsbase 0 iocssize 8
skbd*		at	m38813c?

#
# TC6358TB(Plum2) 
#  register space: CS3,	 
#  I/O space: MCS0 & MCS1,  IRQ: 8:21 (IO[5] positive)
#
plum*		at	txcsbus? regcs 3 regcswidth 32 iocs 4 iocswidth 32 memcs 5 memcswidth 32 irq1 277
plumicu*	at	plum?
plumpower*	at	plum?
plumvideo*	at	plum?
plumpcmcia*	at	plum?
plumiobus*	at	plum?
#ohci*		at	plum?
#plumisab0	at	plumiobus? platform ? slot 0

#
# fake ISA-bridge directly connected TX3922 chip select.
#
# CS1 connect
# IRQ MFIO 3:7
#txisab*		at	txcsbus? iocs 1 iocswidth 16 irq1 103
# CS2 connect
#txisab*		at	txcsbus? iocs 2 iocswidth 16 irq1 103
# CARD1 io/attr connect
#txisab*		at	txcsbus? iocs 8 iocswidth 16 irq1 103
# ISA bus support
#isa*		at	plumisab?
#isa*		at	txisab?


# USB bus support
#usb*		at ohci?
# USB Hubs
#uhub*	at usb?
#uhub*	at uhub? port ? configuration ? interface ?

# USB Mice
#ums*	at uhub? port ? configuration ? interface ?
#wsmouse*	at ums? mux 0

# USB Keyboards
#ukbd*	at uhub? port ? configuration ? interface ?
#wskbd*	at ukbd? console ? mux 1

# WS console uses SUN or VT100 terminal emulation
fb*		at	plumvideo?
wsdisplay*	at	fb?
wskbd*		at	skbd? mux 1

options 	WSEMUL_VT100
options 	WSDISPLAY_DEFAULTSCREENS=4
options 	FONT_VT220L8x10

# PCMCIA bus support
pcmcia* at plumpcmcia? 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
