aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001/pm8001_sas.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_sas.h')
-rw-r--r--drivers/scsi/pm8001/pm8001_sas.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_sas.h b/drivers/scsi/pm8001/pm8001_sas.h
index e2e97db38ae8..6628cc38316c 100644
--- a/drivers/scsi/pm8001/pm8001_sas.h
+++ b/drivers/scsi/pm8001/pm8001_sas.h
@@ -106,7 +106,9 @@ do { \
106#define DEV_IS_EXPANDER(type) ((type == SAS_EDGE_EXPANDER_DEVICE) || (type == SAS_FANOUT_EXPANDER_DEVICE)) 106#define DEV_IS_EXPANDER(type) ((type == SAS_EDGE_EXPANDER_DEVICE) || (type == SAS_FANOUT_EXPANDER_DEVICE))
107#define IS_SPCV_12G(dev) ((dev->device == 0X8074) \ 107#define IS_SPCV_12G(dev) ((dev->device == 0X8074) \
108 || (dev->device == 0X8076) \ 108 || (dev->device == 0X8076) \
109 || (dev->device == 0X8077)) 109 || (dev->device == 0X8077) \
110 || (dev->device == 0X8070) \
111 || (dev->device == 0X8072))
110 112
111#define PM8001_NAME_LENGTH 32/* generic length of strings */ 113#define PM8001_NAME_LENGTH 32/* generic length of strings */
112extern struct list_head hba_list; 114extern struct list_head hba_list;
@@ -708,6 +710,8 @@ int pm80xx_set_thermal_config(struct pm8001_hba_info *pm8001_ha);
708int pm8001_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shiftValue); 710int pm8001_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shiftValue);
709void pm8001_set_phy_profile(struct pm8001_hba_info *pm8001_ha, 711void pm8001_set_phy_profile(struct pm8001_hba_info *pm8001_ha,
710 u32 length, u8 *buf); 712 u32 length, u8 *buf);
713void pm8001_set_phy_profile_single(struct pm8001_hba_info *pm8001_ha,
714 u32 phy, u32 length, u32 *buf);
711int pm80xx_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shiftValue); 715int pm80xx_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shiftValue);
712ssize_t pm80xx_get_fatal_dump(struct device *cdev, 716ssize_t pm80xx_get_fatal_dump(struct device *cdev,
713 struct device_attribute *attr, char *buf); 717 struct device_attribute *attr, char *buf);