diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 1fa010448666..de5d0ae19d83 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -1648,16 +1648,16 @@ typedef struct { | |||
1648 | */ | 1648 | */ |
1649 | struct crc_context { | 1649 | struct crc_context { |
1650 | uint32_t handle; /* System handle. */ | 1650 | uint32_t handle; /* System handle. */ |
1651 | uint32_t ref_tag; | 1651 | __le32 ref_tag; |
1652 | uint16_t app_tag; | 1652 | __le16 app_tag; |
1653 | uint8_t ref_tag_mask[4]; /* Validation/Replacement Mask*/ | 1653 | uint8_t ref_tag_mask[4]; /* Validation/Replacement Mask*/ |
1654 | uint8_t app_tag_mask[2]; /* Validation/Replacement Mask*/ | 1654 | uint8_t app_tag_mask[2]; /* Validation/Replacement Mask*/ |
1655 | uint16_t guard_seed; /* Initial Guard Seed */ | 1655 | __le16 guard_seed; /* Initial Guard Seed */ |
1656 | uint16_t prot_opts; /* Requested Data Protection Mode */ | 1656 | __le16 prot_opts; /* Requested Data Protection Mode */ |
1657 | uint16_t blk_size; /* Data size in bytes */ | 1657 | __le16 blk_size; /* Data size in bytes */ |
1658 | uint16_t runt_blk_guard; /* Guard value for runt block (tape | 1658 | uint16_t runt_blk_guard; /* Guard value for runt block (tape |
1659 | * only) */ | 1659 | * only) */ |
1660 | uint32_t byte_count; /* Total byte count/ total data | 1660 | __le32 byte_count; /* Total byte count/ total data |
1661 | * transfer count */ | 1661 | * transfer count */ |
1662 | union { | 1662 | union { |
1663 | struct { | 1663 | struct { |
@@ -1671,10 +1671,10 @@ struct crc_context { | |||
1671 | uint32_t reserved_6; | 1671 | uint32_t reserved_6; |
1672 | } nobundling; | 1672 | } nobundling; |
1673 | struct { | 1673 | struct { |
1674 | uint32_t dif_byte_count; /* Total DIF byte | 1674 | __le32 dif_byte_count; /* Total DIF byte |
1675 | * count */ | 1675 | * count */ |
1676 | uint16_t reserved_1; | 1676 | uint16_t reserved_1; |
1677 | uint16_t dseg_count; /* Data segment count */ | 1677 | __le16 dseg_count; /* Data segment count */ |
1678 | uint32_t reserved_2; | 1678 | uint32_t reserved_2; |
1679 | uint32_t data_address[2]; | 1679 | uint32_t data_address[2]; |
1680 | uint32_t data_length; | 1680 | uint32_t data_length; |