Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here is my answer in a readable form. Please see my comment above for more information.</p> <pre><code>typedef struct scsi_long_lun_t { union { struct { // Method 0 - Peripheral Device Addressing Method (8 bit LUN) // | 7-6 | 5-0 | // +-------------------+---------------------------+ // |Address Method(00b)| Bus Identifier (00h) | // +-----------------------------------------------+ // | Single Level LUN (00h to FFh) | // +-------------------+---------------------------+ byte MethodAndBus; byte Lun8; byte Reserved[6]; } Method0; struct { // Method 1 - Flat Space Addressing Method (14 bit LUN) // | 7-6 | 5-0 | // +-------------------+---------------------------+ // |Address Method(01b)| High Flat Space LUN | // +-----------------------------------------------+ // | Flat Space LUN (0000h to 3FFFh) | // +-------------------+---------------------------+ byte MethodAndHighLun; byte LowLun; byte Reserved[6]; } Method1; struct { // Method 2 - Logical Unit Addressing Method // | 7-6 | 5-0 | // +-------------------+---------------------------+ // |Address Method(10b)| Target | // +-----------------------------------------------+ // | Bus (7-5) | LUN (4-0) | // +-------------------+---------------------------+ byte MethodAndTarget; byte BusAndLun[7]; } Method2; struct { // Method 3 - Extended Logical Unit Addressing // | 7-6 | 5-4 | 3-0 | // +-------------------+----------------------------+ // |Address Method(11b)| Length |Extended Addr Meth| // +------------------------------------------------+ // | Extended address method specific (7 bytes) | // +------------------------------------------------+ byte MethodEtc; byte MethodSpecific[7]; } Method3; } u; } scsi_long_lun_t; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload