beautypg.com

5 ethernet – Sun Microsystems 220R User Manual

Page 199

background image

CODE EXAMPLE 7–1

Enter (0-11 tests, 12 -Quit, 13 -Menu) ===> 1

TEST=’all_dma/ebus_test’
SUBTEST=’dma_reg_test’

SUBTEST=’dma_func_test’
Enter (0-11 tests, 12 -Quit, 13 -Menu) ===>

7.6.5

Ethernet

The Ethernet diagnostic performs the following tests.

Test

Function

my_channel_reset

Resets the Ethernet channel.

hme_reg_test

Performs walk-one on the following registers set: global register 1, global
register 2, bmac xif register, bmac tx register, and the mif register.

MAC_internal_loopback_test

Performs Ethernet channel engine internal loopback.

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.

100_mb_phy_loopback_test

Enables MII transmit data to be routed to the MII receive data path.

100_mb_twister_loopback_test

Forces the twisted-pair transceiver into loopback mode.

The following example shows the Ethernet diagnostic output message.

CODE EXAMPLE 7–2

Enter (0-11 tests, 12 -Quit, 13 -Menu) ===> 2

TEST=’ethernet_test’
SUBTEST=’my_channel_reset’

SUBTEST=’hme_reg_test’
SUBTEST=’global_reg1_test’
SUBTEST=’global_reg2_test’

SUBTEST=’bmac_xif_reg_test’

(continued)

Diagnostics and Troubleshooting

199