Sun Microsystems 60 Computer Hardware User Manual


 
4-18 Sun Ultra 60 Service Manual August 2001
4.7.5 Mouse
The mouse diagnostic performs a keyboard-to-mouse loopback.
CODE EXAMPLE 4-13 identifies the mouse output message.
4.7.6 Floppy
The floppy diagnostic verifies the diskette drive controller initialization. It also
validates the status of a selected disk drive and reads the diskette drive header.
CODE EXAMPLE 4-14 identifies the floppy output message.
4.7.7 Parallel Port
The parallel port diagnostic performs the following:
1. sio_passive_lb Sets up the SuperIO configuration register to enable
extended/compatible parallel port select, then does a write 0, walk one,
write 0 x ff to the data register. It verifies the results by reading the status register.
2. dma_read Enables ECP mode and ECP DMA configuration, and FIFO test
mode. Transfers 16 bytes of data from memory to the parallel port device and
then verifies the data is in FIFO device.
CODE EXAMPLE 4-13 Mouse Output Message
Enter (0-12 tests, 13 -Quit, 14 -Menu) ===> 4
TEST=’mouse_test’
Enter (0-12 tests, 13 -Quit, 14 -Menu) ===>
CODE EXAMPLE 4-14 Floppy Output Message
Enter (0-12 tests, 13 -Quit, 14 -Menu) ===> 5
TEST=’floppy_test’
SUBTEST=’floppy_id0_read_test’
Enter (0-12 tests, 13 -Quit, 14 -Menu) ===>