21020285 D User’s Guide
Chapter 6 Target Mode Pass-through Commands
Page 6 - 8 Command Operation
Sequence of
Events—
Receiving a
command
from anInitiator
The following sequence occurs when an initiator selects the RF3880:
1. An initiator selects the RF3880 as a SCSI target device, and sends a
SCSI command.
2. Using the command data it receives from the initiator , the adapte r build s
a Target Selection Data Structure in memory, at the address indicated in
the Target Mode Enable command.
3. The adapter sets the SAV bit in the Semaphore field of the Target
Selection Data Structure to indicate that a selection has occurred.
4. The adapter disconnects from the SCSI bus. (The adapter will not
disconnect from the SCSI bus if disconnect privilege is not granted in
the Identify message received from the initiator.)
5. The adapter interrupts the Host. (The adapter will not interrupt if a
Selection Interrupt Level of zero in the Target Mode Enable command
is used.)
Note
Until the Host responds
to selection (by writing a
2 to the Channel
Attention Port), the
adapter will queue other
selections. Once the
adapter’s queue is full
(approximately 60
selections) the adapter
will respond to any
further selection
attempts by sending a
Busy status to the
initiator(s) trying to
select it
Any errors that are non-recoverable will be indicated in the Target
Selection Data Structure.
6. The Host must read the Target Selection Data Structure. The Host
should clear the SAV bit in the Semaphore byte of the data structure
after it is read.
7. The Host must write a 2 to the Channel Attention Port of the adapter to
indicate the data has been read.
8. The adapter is ready to send another selection area to the Hos t once it is
selected again by an initiator.