#
# cpu_diagcmds - IP22 CPU Diagnostic functions
#
# 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
# 
# Columns must be separated by exactly one TAB!
#
# unload command needed by all modules
#
unload	CMD	do_unload	unload module and return to core.
#
buffoff	CMD	buffoff	Turn off message buffering
buffon	CMD	buffon	Turn on message buffering
# checksum	CMD	checksum	RANGE
clock	CMD	rt_clock	clock counters carry
dcache1	CMD	dcache_par	Data cache data parity test
dram	CMD	dram_diagnostics	[-p] [RANGE] DRAM (>4MB) data/address, parity test
duart	CMD	duart_loopback	(-i|e)(0-1) DUART internal/external loopback
emfail	CMD	emfail	Produce \"Electronics Module\" failure message
#enet1	CMD	ethernet_register	ethernet data/address port register
#enet2	CMD	ethernet_loopback	[-e] ethernet internal/external loopback
# fpu	CMD	fptest	Floating point diagnostics
help_mem	CMD	print_memory_diagram	Print memory diagram
# hinv	CMD	hinv	Hardware Inventory
hpc3	CMD	hpc3	HPC3 registers and fifos
icache1	CMD	icache_par	Instruction cache data parity test
icache2	CMD	icache	Instruction cache misc test
# initgr	CMD	probe_graphics	Initialize Graphics board (includes microcode downloading)
int2	CMD	int2_mask	int2 interrupt mask registers
# isdn_dis	CMD	isdn_dis	ISDN disconnected tests.
# isdn_con	CMD	isdn_con	ISDN connected tests.
# ldram	CMD	low_memtest	[-p] DRAM (0-4MB) data/address, parity test
led	CMD	setled	Set led color
memtest	CMD	memory_test	CPU memory test
parity	CMD	parity_test	memory parity checking mechanism
print1	CMD	plp_write	Parallel port write dma
print2	CMD	plp_mwrite	Parallel port multiple desc write dma
print3	CMD	plp_lpbk	Parallel port loopback test
# resetcons	CMD	resetcons	Reset graphics console
is_r4600sc	CMD	sc_present	returns 1 if cpu is r4600sc
sc_on	CMD	enable_scache	Turn on 2ndary cached, r4600sc CPU
sc_off	CMD	disable_scache	Turn off 2ndary cache on r4600sc CPU
invline	CMD	invalidate_line_scache	Invalidate 2ndy cache line, r4600sc CPU
wrblk	CMD	write_block	do an icache block write, r4600sc CPU
rdblk	CMD	read_block	do an icache block read, r4600sc CPU
sc_mem	CMD	sc_mem_test	do a memory patten test, r4600sc CPU
sc_hit	CMD	sc_hit_test	do cache reads, r4600sc CPU
sc_miss	CMD	sc_miss_test	do mem reads (cache miss), r4600sc CPU
sc_hit_miss	CMD	sc_hit_n_miss	set up & inv one line, test, try next line, r4600sc CPU
sc_tag	CMD	sc_tag_ram	line by line test of tag ram hits, r4600sc CPU
scache1	CMD	scache_ecc	Secondary cache misc test
scache2	CMD	scache	Secondary cache address and data test
scsi	CMD	scsi	SCSI
timer	CMD	timer	timer frequency
tlb	CMD	tlbtest	TLB
utlb	CMD	utlb_miss_exception	UTLB miss exception
wait	CMD	wait	Wait for <CR> to continue (usage: wait [\"message\"])
xscsi	CMD	exercise_scsi	Exercise all SCSI disk drives found
nvram1	CMD	eeprom_address	eeprom address
nvram3	CMD	eeprom_data	eeprom data
nvram4	CMD	eeprom_id	eeprom id
nvram5	CMD	eeprom_pins	eeprom pin signals
eisa	CMD	eisa_register	data path test for EIU/Intel regs.
chg_volt	CMD	chg_volt	[0-2] Set +5V supply +/-5%
pwjumper	CMD	passwd_jumper	Indicate if passwd jumper is installed
pargenlog	CMD	pargenlog_test	Parity Generation Logic Test
blk	CMD	blk_test	Block Read and Write Test
dram2	CMD	dram2_diagnostics	Modified dram_diagnostics
shift	CMD	shift_dram	Shifting data patterns into successive addresses
khlow	CMD	khlow_drv	Knaizuk Hartmann Low Memory Test
memtest2	CMD	memtest2_test	Addruniq=0,March=1,Mats=2,Kh=3,Altaccess=4,Khpar=5,Movi=6,Walkingbit=7
wd95a	CMD	regs_wd95a	Western Digital wd95a registers test
