4-18 Sun Ultra 60 Service Manual • August 2001
4.7.5 MouseThe mouse diagnostic performs a keyboard-to-mouse loopback.
CODEEXAMPLE 4-13 identifies the mouse output message.
4.7.6 FloppyThe floppy diagnostic verifies the diskette drive controller initialization. It also
validates the status of a selected disk drive and reads the diskette drive header.
CODEEXAMPLE 4-14 identifies the floppy output message.
4.7.7 Parallel PortThe 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. Transfers16 bytes of data from memory to the parallel port device and
then verifies the data is in FIFO device.
CODEEXAMPLE 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) ===>
CODEEXAMPLE 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) ===>