aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi/ibmvfc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvfc.h')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvfc.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.h b/drivers/scsi/ibmvscsi/ibmvfc.h
index f0c0212a7460..526bca743c81 100644
--- a/drivers/scsi/ibmvscsi/ibmvfc.h
+++ b/drivers/scsi/ibmvscsi/ibmvfc.h
@@ -523,10 +523,10 @@ enum ibmvfc_async_event {
523}; 523};
524 524
525struct ibmvfc_crq { 525struct ibmvfc_crq {
526 u8 valid; 526 volatile u8 valid;
527 u8 format; 527 volatile u8 format;
528 u8 reserved[6]; 528 u8 reserved[6];
529 u64 ioba; 529 volatile u64 ioba;
530}__attribute__((packed, aligned (8))); 530}__attribute__((packed, aligned (8)));
531 531
532struct ibmvfc_crq_queue { 532struct ibmvfc_crq_queue {
@@ -536,13 +536,13 @@ struct ibmvfc_crq_queue {
536}; 536};
537 537
538struct ibmvfc_async_crq { 538struct ibmvfc_async_crq {
539 u8 valid; 539 volatile u8 valid;
540 u8 pad[3]; 540 u8 pad[3];
541 u32 pad2; 541 u32 pad2;
542 u64 event; 542 volatile u64 event;
543 u64 scsi_id; 543 volatile u64 scsi_id;
544 u64 wwpn; 544 volatile u64 wwpn;
545 u64 node_name; 545 volatile u64 node_name;
546 u64 reserved; 546 u64 reserved;
547}__attribute__((packed, aligned (8))); 547}__attribute__((packed, aligned (8)));
548 548