diff options
Diffstat (limited to 'drivers/scsi/isci/isci.h')
-rw-r--r-- | drivers/scsi/isci/isci.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/drivers/scsi/isci/isci.h b/drivers/scsi/isci/isci.h index b3f63f1a46cf..83422d43c1d3 100644 --- a/drivers/scsi/isci/isci.h +++ b/drivers/scsi/isci/isci.h | |||
@@ -61,7 +61,6 @@ | |||
61 | #include <linux/types.h> | 61 | #include <linux/types.h> |
62 | #include <linux/spinlock.h> | 62 | #include <linux/spinlock.h> |
63 | #include <linux/interrupt.h> | 63 | #include <linux/interrupt.h> |
64 | #include <linux/firmware.h> | ||
65 | #include <linux/bug.h> | 64 | #include <linux/bug.h> |
66 | #include <scsi/libsas.h> | 65 | #include <scsi/libsas.h> |
67 | #include <scsi/scsi.h> | 66 | #include <scsi/scsi.h> |
@@ -76,34 +75,6 @@ | |||
76 | #include "task.h" | 75 | #include "task.h" |
77 | #include "sata.h" | 76 | #include "sata.h" |
78 | 77 | ||
79 | extern struct isci_firmware *isci_firmware; | ||
80 | |||
81 | #define ISCI_FW_NAME "isci/isci_firmware.bin" | ||
82 | |||
83 | #define ISCI_FIRMWARE_MIN_SIZE 149 | ||
84 | |||
85 | #define ISCI_FW_IDSIZE 12 | ||
86 | #define ISCI_FW_VER_OFS ISCI_FW_IDSIZE | ||
87 | #define ISCI_FW_SUBVER_OFS ISCI_FW_VER_OFS + 1 | ||
88 | #define ISCI_FW_DATA_OFS ISCI_FW_SUBVER_OFS + 1 | ||
89 | |||
90 | #define ISCI_FW_HDR_PHYMASK 0x1 | ||
91 | #define ISCI_FW_HDR_PHYGEN 0x2 | ||
92 | #define ISCI_FW_HDR_SASADDR 0x3 | ||
93 | #define ISCI_FW_HDR_EOF 0xff | ||
94 | |||
95 | struct isci_firmware { | ||
96 | const u8 *id; | ||
97 | u8 version; | ||
98 | u8 subversion; | ||
99 | const u32 *phy_masks; | ||
100 | u8 phy_masks_size; | ||
101 | const u32 *phy_gens; | ||
102 | u8 phy_gens_size; | ||
103 | const u64 *sas_addrs; | ||
104 | u8 sas_addrs_size; | ||
105 | }; | ||
106 | |||
107 | irqreturn_t isci_msix_isr(int vec, void *data); | 78 | irqreturn_t isci_msix_isr(int vec, void *data); |
108 | irqreturn_t isci_intx_isr(int vec, void *data); | 79 | irqreturn_t isci_intx_isr(int vec, void *data); |
109 | irqreturn_t isci_error_isr(int vec, void *data); | 80 | irqreturn_t isci_error_isr(int vec, void *data); |
@@ -113,14 +84,4 @@ void scic_sds_controller_completion_handler(struct scic_sds_controller *scic); | |||
113 | bool scic_sds_controller_error_isr(struct scic_sds_controller *scic); | 84 | bool scic_sds_controller_error_isr(struct scic_sds_controller *scic); |
114 | void scic_sds_controller_error_handler(struct scic_sds_controller *scic); | 85 | void scic_sds_controller_error_handler(struct scic_sds_controller *scic); |
115 | 86 | ||
116 | enum sci_status isci_parse_oem_parameters( | ||
117 | union scic_oem_parameters *oem_params, | ||
118 | int scu_index, | ||
119 | struct isci_firmware *fw); | ||
120 | |||
121 | enum sci_status isci_parse_user_parameters( | ||
122 | union scic_user_parameters *user_params, | ||
123 | int scu_index, | ||
124 | struct isci_firmware *fw); | ||
125 | |||
126 | #endif /* __ISCI_H__ */ | 87 | #endif /* __ISCI_H__ */ |