Difference between revisions of "Unit SCSI"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit Reference === Description === ---- ''To be documented'' === Constants === ---- ''To be documented'' === Type definitions === ---- ''To...")
 
Line 10: Line 10:
 
----
 
----
  
''To be documented''
+
 
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''SCSI specific constants''' <code> SCSI_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>SCSI_NAME_PREFIX = 'SCSI';</code>
 +
| Name prefix for SCSI Devices
 +
|-
 +
| <code>SCSI_HOST_PREFIX = 'SCSIHost';</code>
 +
| Name prefix for Host Devices
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''SCSI device type constants''' <code> SCSI_TYPE_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>SCSI_TYPE_NONE = 0;</code>
 +
| style="width: 50%;"|&nbsp;
 +
|-
 +
| <code>SCSI_TYPE_HDD = 1;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''SCSI device state constants''' <code> SCSI_STATE_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>SCSI_STATE_EJECTED = 0;</code>
 +
| style="width: 50%;"|&nbsp;
 +
|-
 +
| <code>SCSI_STATE_INSERTED = 1;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''SCSI device flag constants''' <code> SCSI_FLAG_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>SCSI_FLAG_NONE = $00000000;</code>
 +
| style="width: 50%;"|&nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''SCSI protocol message constants''' <code> SCSI_MESSAGE_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>SCSI_MESSAGE_COMPLETE = $00;</code>
 +
| style="width: 50%;"|&nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_EXTENDED = $01;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_SAVE_DP = $02;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_RESTORE_DP = $03;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_DISCONNECT = $04;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_ID_ERROR = $05;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_ABORT = $06;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_REJECT = $07;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_NOOP = $08;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_PARITY = $09;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_LCOMPLETE = $0a;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_FCOMPLETE = $0b;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_RESET = $0c;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_ABORT_TAG = $0d;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_CLEAR_QUEUE = $0e;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_INIT_REC = $0f;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_REL_REC = $10;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_TERMINATE = $11;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_SIMPLE_TAG = $20;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_HEAD_TAG = $21;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_ORDERED_TAG = $22;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_IGN_RESIDUE = $23;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_IDENTIFY = $80;</code>
 +
| &nbsp;
 +
|-
 +
|colspan="2"|&nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_X_MODIFY_DP = $00;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_X_SYNC_REQ = $01;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_X_WIDE_REQ = $03;</code>
 +
| &nbsp;
 +
|-
 +
| <code>SCSI_MESSAGE_X_PPR_REQ = $04;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
  
 
=== Type definitions ===
 
=== Type definitions ===

Revision as of 23:44, 28 November 2016

Return to Unit Reference


Description


To be documented

Constants



SCSI specific constants SCSI_*
SCSI_NAME_PREFIX = 'SCSI'; Name prefix for SCSI Devices
SCSI_HOST_PREFIX = 'SCSIHost'; Name prefix for Host Devices


SCSI device type constants SCSI_TYPE_*
SCSI_TYPE_NONE = 0;  
SCSI_TYPE_HDD = 1;  


SCSI device state constants SCSI_STATE_*
SCSI_STATE_EJECTED = 0;  
SCSI_STATE_INSERTED = 1;  


SCSI device flag constants SCSI_FLAG_*
SCSI_FLAG_NONE = $00000000;  


SCSI protocol message constants SCSI_MESSAGE_*
SCSI_MESSAGE_COMPLETE = $00;  
SCSI_MESSAGE_EXTENDED = $01;  
SCSI_MESSAGE_SAVE_DP = $02;  
SCSI_MESSAGE_RESTORE_DP = $03;  
SCSI_MESSAGE_DISCONNECT = $04;  
SCSI_MESSAGE_ID_ERROR = $05;  
SCSI_MESSAGE_ABORT = $06;  
SCSI_MESSAGE_REJECT = $07;  
SCSI_MESSAGE_NOOP = $08;  
SCSI_MESSAGE_PARITY = $09;  
SCSI_MESSAGE_LCOMPLETE = $0a;  
SCSI_MESSAGE_FCOMPLETE = $0b;  
SCSI_MESSAGE_RESET = $0c;  
SCSI_MESSAGE_ABORT_TAG = $0d;  
SCSI_MESSAGE_CLEAR_QUEUE = $0e;  
SCSI_MESSAGE_INIT_REC = $0f;  
SCSI_MESSAGE_REL_REC = $10;  
SCSI_MESSAGE_TERMINATE = $11;  
SCSI_MESSAGE_SIMPLE_TAG = $20;  
SCSI_MESSAGE_HEAD_TAG = $21;  
SCSI_MESSAGE_ORDERED_TAG = $22;  
SCSI_MESSAGE_IGN_RESIDUE = $23;  
SCSI_MESSAGE_IDENTIFY = $80;  
 
SCSI_MESSAGE_X_MODIFY_DP = $00;  
SCSI_MESSAGE_X_SYNC_REQ = $01;  
SCSI_MESSAGE_X_WIDE_REQ = $03;  
SCSI_MESSAGE_X_PPR_REQ = $04;  


Type definitions


To be documented

Public variables


To be documented

Function declarations


To be documented


Return to Unit Reference