beautypg.com

Avago Technologies LSI53C1010 User Manual

Page 244

background image

10-8

Multithreaded I/O

7.

SCRIPTS continues, as in single threaded mode, until a disconnect
occurs.

JUMP REL (to_decisions), WHEN NOT MSG_OUT

id_msg_out:

MOVE FROM identify_msg_buf, WHEN MSG_OUT

.

.

..

8.

On disconnection, the initiator jumps to the wait_for_reselect
SCRIPT.

It waits for any device that had previously disconnected to reconnect.
If a reselect occurs, the code continues to run. If the device gets
selected or the processor issues a SIGP, the SCRIPTS continues at
the alternate jump address. Setting the SIGP bit allows the processor
to start a new I/O, instead of just waiting for a previous I/O to
reconnect.

;Reselected SCRIPT code

wait_for_reselect:

WAIT RESELECT REL (CPU_set_SIGP)

9.

The SCRIPTS processor determines the SCSI ID if the reselected
device after the initiator is reselected.

The ID of the device that reselected the chip is in the SSID register.

SCSI_id_jump_table:

MOVE SSID to SFBR

JUMP REL (id_0), IF 0x00

JUMP REL (id_1), IF 0x01

JUMP REL (id_2), IF 0x02

INT reselect_id_error

10. The DSA is written to the address of the correct table, depending on

the SCSI ID that reselected the initiator. See

Figure 10.7

.

This manual is related to the following products: