
Chapter 7 Board-control Commands
Page 7 - 8 |
| Stop Command List (02H) |
Stop Command List (02H)
Command
Format
The Stop Command List command is used to gracefully halt Command List operations. Upon receipt of this command, the adapter will accept no further additions to the Command List queue.
After all other existent commands are executed from the Command List, a Status Block for this command is returned.
The Stop Command List command is useful when you are shutting down your system. It processes and returns status of commands current at the time of its issue, therefore you can be sure all data is transferred properly before shutdown.
This command should be issued via a Single Command Structure.
The format of the Stop Command List Parameter Block is shown below:
Address |
| Byte Memory Address |
| ||
Offset | Offset + 0 | Offset + 1 |
| Offset + 2 | Offset + 3 |
|
| ||||
|
|
|
|
| |
00H |
| Command Identifier |
| ||
|
|
|
|
|
|
04H |
| Reserved |
|
| Adapter ID = FFH |
|
|
|
|
| |
08H |
|
| Reserved |
| |
|
|
|
|
| |
0CH |
|
| Reserved |
| |
10H | Command = 02H |
|
| Reserved |
|
|
|
|
|
|
|
14H |
|
| Reserved |
| |
|
|
|
|
| |
18H |
|
| Reserved |
| |
|
|
|
|
|
|
Table 62: Stop Command List Parameter Block
Description of Fields
Note
An error code of 11H will be returned in the Status Block for this command if you attempt to stop a Command List that is stopped (or has not been started).
Each of the fields used by the Stop Command List command are explained
in the following section:
Command Identifier
The Command Identifier field is used to identify the Status Block associated with a Parameter Block. It must be a unique value.
Adapter ID
The Stop Command List command is a
Command Code
The command code to use to indicate the Stop Command List command is 02H.
21020285 D | User’s Guide |