16 Sun Ultra 5/10 Product Notes • April 1998
EBus DMA/TCR Registers
The EBUS DMA/TCR registers diagnostic performs the following:
a. dma_reg_test – Performs a walking ones bit test for control status register,
address register, and byte count register of each channel. Verifies that the
control status register is set properly.
b. dma_func-test – Validates the DMA capabilities and FIFOs. Test is executed
in a DMA diagnostic loopback mode. Initializes the data of transmitting
memory with its address, performs a DMA read and write, and verifies that
the data received is correct. Repeats for four channels.
CODE EXAMPLE 4 identifies the EBus DMA/TCR registers output message.
Ethernet
The Ethernet diagnostic performs the following:
a. my_channel_reset – Resets the Ethernet channel.
b. hme_reg_test – Performs Walk1 on the following registers set: global register
1, global register 2, bmac xif register, bmac tx register, and the mif register.
c. MAC_internal_loopback_test – Performs Ethernet channel engine internal
loopback.
d. 10_mb_xcvr_loopback_test – Enables the 10Base-T data present at the
transmit MII data inputs to be routed back to the receive MII data outputs.
CODE EXAMPLE 4 EBus DMA/TCR Registers Output Message
Enter (0-12 tests, 13 -Quit, 14 -Menu) ===> 1
TEST='all_dma/ebus_test'
SUBTEST='dma_reg_test'
SUBTEST='dma_func_test'
Enter (0-12 tests, 13 -Quit, 14 -Menu) ===>