beautypg.com

Sun Microsystems SunFastEthernet Adapte User Manual

Page 69

background image

Running Diagnostics

C-3

C

To browse the OBP device tree, use the cd command to get to a specific
working directory, and words to find all the Forth words available in that
directory:

To examine the definition of a word, use the see command as follows:

For more information on using the OBP commands, refer to the Open Boot
Command Reference manual, part no. 800-6076-11.

ok setenv auto-boot? false

ok reset

ok cd /sbus/qec@1,20000/be

ok words

read write load close

open seek reset selftest

ok

ok see selftest

: selftest

(ffd988d0) (ffd98c28) (ffd99564) (ffd98c60) swap (ffd5fb9c)

(ffd988d0)

if

(ffd995ec)

else

-1

then

;

ok