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.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/drivers/scsi/pm8001/pm8001_sas.h b/drivers/scsi/pm8001/pm8001_sas.h
index 89dc2273623e..ab30193f235f 100644
--- a/drivers/scsi/pm8001/pm8001_sas.h
+++ b/drivers/scsi/pm8001/pm8001_sas.h
@@ -321,7 +321,9 @@ union main_cfg_table {
321 u32 inbound_queue_offset; 321 u32 inbound_queue_offset;
322 u32 outbound_queue_offset; 322 u32 outbound_queue_offset;
323 u32 inbound_q_nppd_hppd; 323 u32 inbound_q_nppd_hppd;
324 u32 rsvd[10]; 324 u32 rsvd[8];
325 u32 crc_core_dump;
326 u32 rsvd1;
325 u32 upper_event_log_addr; 327 u32 upper_event_log_addr;
326 u32 lower_event_log_addr; 328 u32 lower_event_log_addr;
327 u32 event_log_size; 329 u32 event_log_size;
@@ -493,6 +495,9 @@ struct pm8001_fw_image_header {
493#define FLASH_UPDATE_DNLD_NOT_SUPPORTED 0x10 495#define FLASH_UPDATE_DNLD_NOT_SUPPORTED 0x10
494#define FLASH_UPDATE_DISABLED 0x11 496#define FLASH_UPDATE_DISABLED 0x11
495 497
498#define NCQ_READ_LOG_FLAG 0x80000000
499#define NCQ_ABORT_ALL_FLAG 0x40000000
500#define NCQ_2ND_RLE_FLAG 0x20000000
496/** 501/**
497 * brief param structure for firmware flash update. 502 * brief param structure for firmware flash update.
498 */ 503 */
@@ -567,7 +572,6 @@ int pm8001_mem_alloc(struct pci_dev *pdev, void **virt_addr,
567 dma_addr_t *pphys_addr, u32 *pphys_addr_hi, u32 *pphys_addr_lo, 572 dma_addr_t *pphys_addr, u32 *pphys_addr_hi, u32 *pphys_addr_lo,
568 u32 mem_size, u32 align); 573 u32 mem_size, u32 align);
569 574
570/********** functions common to spc & spcv - begins ************/
571void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha); 575void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha);
572int pm8001_mpi_build_cmd(struct pm8001_hba_info *pm8001_ha, 576int pm8001_mpi_build_cmd(struct pm8001_hba_info *pm8001_ha,
573 struct inbound_queue_table *circularQ, 577 struct inbound_queue_table *circularQ,
@@ -615,7 +619,12 @@ int pm8001_mpi_fw_flash_update_resp(struct pm8001_hba_info *pm8001_ha,
615 void *piomb); 619 void *piomb);
616int pm8001_mpi_general_event(struct pm8001_hba_info *pm8001_ha , void *piomb); 620int pm8001_mpi_general_event(struct pm8001_hba_info *pm8001_ha , void *piomb);
617int pm8001_mpi_task_abort_resp(struct pm8001_hba_info *pm8001_ha, void *piomb); 621int pm8001_mpi_task_abort_resp(struct pm8001_hba_info *pm8001_ha, void *piomb);
618/*********** functions common to spc & spcv - ends ************/ 622struct sas_task *pm8001_alloc_task(void);
623void pm8001_task_done(struct sas_task *task);
624void pm8001_free_task(struct sas_task *task);
625void pm8001_tag_free(struct pm8001_hba_info *pm8001_ha, u32 tag);
626struct pm8001_device *pm8001_find_dev(struct pm8001_hba_info *pm8001_ha,
627 u32 device_id);
619 628
620int pm8001_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shiftValue); 629int pm8001_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shiftValue);
621 630