Echo Command Data (Operation Code 1F); Adapter Diagnostic (Operation Code 20); Set Host Adapter Options (Operation Code 21); Mailbox Overview - Adaptec AHA-1740A Technical Reference Manual

Eisa-to-fast scsi host adapter
Hide thumbs Also See for AHA-1740A:
Table of Contents

Advertisement

adaptec

Echo Command Data (Operation Code 1F)

This command is used to test the Command/Data Out Port, the Data In Port, and the
associated control bits in the other I/O Ports. After receiving this command, the host
adapter expects one byte of outbound information to be transferred through the Com-
mand/Data Out Port. The host adapter then sends (Echos) the same data value back
to the host through the Data In Port. After the host has read the data value provided
on the Data In Port, the host adapter will generate the HACC interrupt to indicate
normal command completion.
Byte 0 Out
Byte 0 In

Adapter Diagnostic (Operation Code 20)

Unlike other Adaptec host adapters, this command does not cause the host adapter to
perform its internal self-diagnostic. A host adapter Hard Reset is not executed, nor is
a SCSI bus reset. The host adapter need not be reinitialized after this command be-
fore resuming normal operation. No actual diagnostics are performed, although inter-
nal flags are reset to the default state.

Set Host Adapter Options (Operation Code 21)

Unlike other Adaptec host adapters, this command does not provide the host a mecha-
nism for specifying certain host adapter configuration options. Configuration parame-
ters sent to the host adapter via a parameter list following the command OP Code
are ignored.

Mailbox Overview

The AHA-1740A/1742A/1744 uses a mailbox architecture for task communication be-
tween the host and the host adapter when executing SCSI commands. This allows
the host adapter to perform multithreaded operations with a minimum of host inter-
vention. The mailboxes are located in main system memory. Each mailbox entry is
four bytes long. At power-up, the host issues an initialization command to inform the
host of the mailbox location. There are always an equal number of Outgoing Mail-
boxes (MBO) and Incoming Mailboxes (MBI). The MBIs are located immediately af-
ter the MBOs. Initiator operations and target operations use the same mailboxes.
Both initiator and target operations may be in process at the same time. A typical
mailbox structure follows.
This command is provided only for compatibility. Refer to the section titled Initialize
SCSI Subsystem for a discussion of operation code 10, which provides these functions.
5-14
Outbound echo value
Returned echo value
AHA-1740A/1742A/1744

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aha-1744Aha-1742a

Table of Contents