diff options
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.h')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas.h | 53 |
1 files changed, 34 insertions, 19 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h index d6d166c0663f..89639f0c38ef 100644 --- a/drivers/scsi/megaraid/megaraid_sas.h +++ b/drivers/scsi/megaraid/megaraid_sas.h | |||
@@ -18,9 +18,9 @@ | |||
18 | /** | 18 | /** |
19 | * MegaRAID SAS Driver meta data | 19 | * MegaRAID SAS Driver meta data |
20 | */ | 20 | */ |
21 | #define MEGASAS_VERSION "00.00.02.02" | 21 | #define MEGASAS_VERSION "00.00.02.04" |
22 | #define MEGASAS_RELDATE "Jan 23, 2006" | 22 | #define MEGASAS_RELDATE "Feb 03, 2006" |
23 | #define MEGASAS_EXT_VERSION "Mon Jan 23 14:09:01 PST 2006" | 23 | #define MEGASAS_EXT_VERSION "Fri Feb 03 14:31:44 PST 2006" |
24 | /* | 24 | /* |
25 | * ===================================== | 25 | * ===================================== |
26 | * MegaRAID SAS MFI firmware definitions | 26 | * MegaRAID SAS MFI firmware definitions |
@@ -553,31 +553,46 @@ struct megasas_ctrl_info { | |||
553 | #define MFI_OB_INTR_STATUS_MASK 0x00000002 | 553 | #define MFI_OB_INTR_STATUS_MASK 0x00000002 |
554 | #define MFI_POLL_TIMEOUT_SECS 10 | 554 | #define MFI_POLL_TIMEOUT_SECS 10 |
555 | 555 | ||
556 | #define MFI_REPLY_1078_MESSAGE_INTERRUPT 0x80000000 | ||
557 | #define PCI_DEVICE_ID_LSI_SAS1078R 0x00000060 | ||
558 | |||
556 | struct megasas_register_set { | 559 | struct megasas_register_set { |
560 | u32 reserved_0[4]; /*0000h*/ | ||
557 | 561 | ||
558 | u32 reserved_0[4]; /*0000h */ | 562 | u32 inbound_msg_0; /*0010h*/ |
563 | u32 inbound_msg_1; /*0014h*/ | ||
564 | u32 outbound_msg_0; /*0018h*/ | ||
565 | u32 outbound_msg_1; /*001Ch*/ | ||
559 | 566 | ||
560 | u32 inbound_msg_0; /*0010h */ | 567 | u32 inbound_doorbell; /*0020h*/ |
561 | u32 inbound_msg_1; /*0014h */ | 568 | u32 inbound_intr_status; /*0024h*/ |
562 | u32 outbound_msg_0; /*0018h */ | 569 | u32 inbound_intr_mask; /*0028h*/ |
563 | u32 outbound_msg_1; /*001Ch */ | ||
564 | 570 | ||
565 | u32 inbound_doorbell; /*0020h */ | 571 | u32 outbound_doorbell; /*002Ch*/ |
566 | u32 inbound_intr_status; /*0024h */ | 572 | u32 outbound_intr_status; /*0030h*/ |
567 | u32 inbound_intr_mask; /*0028h */ | 573 | u32 outbound_intr_mask; /*0034h*/ |
568 | 574 | ||
569 | u32 outbound_doorbell; /*002Ch */ | 575 | u32 reserved_1[2]; /*0038h*/ |
570 | u32 outbound_intr_status; /*0030h */ | ||
571 | u32 outbound_intr_mask; /*0034h */ | ||
572 | 576 | ||
573 | u32 reserved_1[2]; /*0038h */ | 577 | u32 inbound_queue_port; /*0040h*/ |
578 | u32 outbound_queue_port; /*0044h*/ | ||
574 | 579 | ||
575 | u32 inbound_queue_port; /*0040h */ | 580 | u32 reserved_2[22]; /*0048h*/ |
576 | u32 outbound_queue_port; /*0044h */ | ||
577 | 581 | ||
578 | u32 reserved_2; /*004Ch */ | 582 | u32 outbound_doorbell_clear; /*00A0h*/ |
579 | 583 | ||
580 | u32 index_registers[1004]; /*0050h */ | 584 | u32 reserved_3[3]; /*00A4h*/ |
585 | |||
586 | u32 outbound_scratch_pad ; /*00B0h*/ | ||
587 | |||
588 | u32 reserved_4[3]; /*00B4h*/ | ||
589 | |||
590 | u32 inbound_low_queue_port ; /*00C0h*/ | ||
591 | |||
592 | u32 inbound_high_queue_port ; /*00C4h*/ | ||
593 | |||
594 | u32 reserved_5; /*00C8h*/ | ||
595 | u32 index_registers[820]; /*00CCh*/ | ||
581 | 596 | ||
582 | } __attribute__ ((packed)); | 597 | } __attribute__ ((packed)); |
583 | 598 | ||