#ident "ide/IP30/cpu_field_diagcmds: $Revision 1.1$"
#
# cpu_field_diagcmds - IP30 CPU Diagnostic functions for field.ide only	
#
# First column is the name
# Second column is the type:
#   STR for string
#   CMD for command
#   INT for integer constant
# Third column is value:
#   CMD value is the name of the function to call
#   STR value is the quoted string
#   INT value is the integer
# Fourth column is comments that appear in help display
# 
# Columns must be separated by exactly one TAB!
# 
# NOTE: this list starts with the minimum necessary;
#       the intention is to keep useless code *out*
#
# NOTE: 11-11-96 #XXX is for broken tests 
#		# is for tests that should not be user accessible
#			or tests that are not included in the field script
#
# UTILITIES
#
help_mem	CMD	print_memory_diagram	Print memory diagram
help_impact	CMD	print_impact_diagram	Print gfx HW diagram (2 args are 10/20 and 0/1)
resetcons	CMD	resetcons		Reset graphics console
emfail	CMD	emfail	Produces failure message
ismp	CMD	ismp	Returns true on MP
slavecpu	CMD	slavecpu	Returns slave CPU valid if ismp is true
led	CMD	setled	Set led color
wait	CMD	wait	Wait for <CR> to continue (usage: wait [\"message\"])
chg_volt	CMD	chg_volt	utility to do voltage margining
buffon	CMD	buffon	Turn on message buffering
buffoff	CMD	buffoff	Turn off message buffering
ttyprint	CMD	ttyprint	Turn on/off message echoing on serial console.
#

#
# PROCESSOR MODULE tests:
#
# cache tests: from IP30/cache.
#XXXdcache1	CMD	dcache_par	Data cache data parity test
#XXXicache1	CMD	icache_par	Instruction cache data parity test
icache2	CMD	icache		Instruction cache misc test
scache1	CMD	scache_ecc	Secondary cache misc test
#XXXscache2	CMD	scache		Secondary cache address and data test
# Cache Thrasher Tests (for MP bringup)
#ct	CMD	cache_thrasher	Cache Thrasher Test, usage: ct [debug_level [seed_in_hex]]
fpu	CMD	fptest	Floating Point Unit test
lpackd	CMD	lpackd	LinPack tests
tlb	CMD	tlbtest	TLB
utlb	CMD	utlb_miss_exception	UTLB miss exception

#
# MEMORY TESTS: from IP30/mem and IP30/ecc
#
# this option is the original low dram test
ldram_bkend	CMD	low_memtest	Low DRAM test
lkh_bkend	CMD	khlow_drv	Knaizuk Hartmann Low DRAM test
memtest	CMD	memory_test	CPU memory test (arg is number between 0 and 9)
ecctest	CMD	ecc_test	ECC corner case memory testing
#
# HEART TESTS: from ../godzilla/heart
#
hr_regs	CMD	hr_regs	Heart register read-write test
#
# XBOW TESTS: from ../godzilla/xbow
#
x_regs	CMD	x_regs	Xbow register read-write test
x_acc	CMD	x_acc	Xbow register access test
#
# BRIDGE TESTS: from ../godzilla/bridge
#
br_regs	CMD	br_regs	Bridge register read-write test
#
# PCI Diags (Using IOC3 for now)
#
pci_sio	CMD	pci_sio
pci_par	CMD	pci_par
#
# IOC3 TESTS (for IP30 bringup)
#
ioc3_regs	CMD	ioc3_regs	IOC3 register read-write test
#ioc3_sram	CMD	ioc3_sram	IOC3 SSRAM test
# Ethernet
enet	CMD	enet_test	Enet registers tests
duart_regs	CMD	duart_regs	IOC3 register read-write test
rtc_regs	CMD	rtc_regs	rtc_regs (destructive test!)
#
scsi_test	CMD	ql_test		Qlogic SCSI chip test
#
# RAD TESTS:
rad_regs	CMD	RadCSpaceTest
#XXXrad_dma	CMD	RadStatusTest
#rad_ram	CMD	RadRamTest
#
# GFX TESTS: all in mgras_field_diagcmds and mgras_diagcmds
xtalk_nic_probe	CMD	xtalk_nic_probe
