diff options
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index caadc68c3000..a8f617447d22 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -51,6 +51,7 @@ | |||
51 | 51 | ||
52 | #include <linux/kernel.h> | 52 | #include <linux/kernel.h> |
53 | #include <linux/pci.h> | 53 | #include <linux/pci.h> |
54 | #include <linux/mutex.h> | ||
54 | 55 | ||
55 | #include "lsi/mpi_type.h" | 56 | #include "lsi/mpi_type.h" |
56 | #include "lsi/mpi.h" /* Fusion MPI(nterface) basic defs */ | 57 | #include "lsi/mpi.h" /* Fusion MPI(nterface) basic defs */ |
@@ -531,7 +532,7 @@ struct inactive_raid_component_info { | |||
531 | typedef struct _RaidCfgData { | 532 | typedef struct _RaidCfgData { |
532 | IOCPage2_t *pIocPg2; /* table of Raid Volumes */ | 533 | IOCPage2_t *pIocPg2; /* table of Raid Volumes */ |
533 | IOCPage3_t *pIocPg3; /* table of physical disks */ | 534 | IOCPage3_t *pIocPg3; /* table of physical disks */ |
534 | struct semaphore inactive_list_mutex; | 535 | struct mutex inactive_list_mutex; |
535 | struct list_head inactive_list; /* link list for physical | 536 | struct list_head inactive_list; /* link list for physical |
536 | disk that belong in | 537 | disk that belong in |
537 | inactive volumes */ | 538 | inactive volumes */ |
@@ -630,6 +631,7 @@ typedef struct _MPT_ADAPTER | |||
630 | int mtrr_reg; | 631 | int mtrr_reg; |
631 | struct pci_dev *pcidev; /* struct pci_dev pointer */ | 632 | struct pci_dev *pcidev; /* struct pci_dev pointer */ |
632 | int bars; /* bitmask of BAR's that must be configured */ | 633 | int bars; /* bitmask of BAR's that must be configured */ |
634 | int msi_enable; | ||
633 | u8 __iomem *memmap; /* mmap address */ | 635 | u8 __iomem *memmap; /* mmap address */ |
634 | struct Scsi_Host *sh; /* Scsi Host pointer */ | 636 | struct Scsi_Host *sh; /* Scsi Host pointer */ |
635 | SpiCfgData spi_data; /* Scsi config. data */ | 637 | SpiCfgData spi_data; /* Scsi config. data */ |
@@ -693,7 +695,6 @@ typedef struct _MPT_ADAPTER | |||
693 | struct mutex sas_discovery_mutex; | 695 | struct mutex sas_discovery_mutex; |
694 | u8 sas_discovery_runtime; | 696 | u8 sas_discovery_runtime; |
695 | u8 sas_discovery_ignore_events; | 697 | u8 sas_discovery_ignore_events; |
696 | u16 handle; | ||
697 | int sas_index; /* index refrencing */ | 698 | int sas_index; /* index refrencing */ |
698 | MPT_SAS_MGMT sas_mgmt; | 699 | MPT_SAS_MGMT sas_mgmt; |
699 | struct work_struct sas_persist_task; | 700 | struct work_struct sas_persist_task; |