diff options
author | Xiangliang Yu <yuxiangl@marvell.com> | 2011-05-24 10:33:11 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-26 02:34:13 -0400 |
commit | 8882f081329a82737b7471b97e59ce8c407f6655 (patch) | |
tree | d65c5653d4d033c65c6c837002dba4463ef90de1 /drivers/scsi/mvsas/mv_sas.h | |
parent | 83c7b61cf49c2659829050fec240601415c7f9d9 (diff) |
[SCSI] mvsas: fix 94xx hotplug issue
Fix 94xx A0/B0 revision hotplug issue.
Remove unused macro: DISABLE_HOTPLUG_DMA_FIX
Signed-off-by: Xiangliang Yu <yuxiangl@marvell.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mvsas/mv_sas.h')
-rw-r--r-- | drivers/scsi/mvsas/mv_sas.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/scsi/mvsas/mv_sas.h b/drivers/scsi/mvsas/mv_sas.h index 089ef1ef3865..5cfa4cc18f2d 100644 --- a/drivers/scsi/mvsas/mv_sas.h +++ b/drivers/scsi/mvsas/mv_sas.h | |||
@@ -168,9 +168,8 @@ struct mvs_dispatch { | |||
168 | ); | 168 | ); |
169 | int (*spi_issuecmd)(struct mvs_info *mvi, u32 cmd); | 169 | int (*spi_issuecmd)(struct mvs_info *mvi, u32 cmd); |
170 | int (*spi_waitdataready)(struct mvs_info *mvi, u32 timeout); | 170 | int (*spi_waitdataready)(struct mvs_info *mvi, u32 timeout); |
171 | #ifndef DISABLE_HOTPLUG_DMA_FIX | 171 | void (*dma_fix)(struct mvs_info *mvi, u32 phy_mask, |
172 | void (*dma_fix)(dma_addr_t buf_dma, int buf_len, int from, void *prd); | 172 | int buf_len, int from, void *prd); |
173 | #endif | ||
174 | void (*tune_interrupt)(struct mvs_info *mvi, u32 time); | 173 | void (*tune_interrupt)(struct mvs_info *mvi, u32 time); |
175 | void (*non_spec_ncq_error)(struct mvs_info *mvi); | 174 | void (*non_spec_ncq_error)(struct mvs_info *mvi); |
176 | 175 | ||
@@ -409,11 +408,11 @@ struct mvs_info { | |||
409 | void *addon; | 408 | void *addon; |
410 | struct hba_info_page hba_info_param; | 409 | struct hba_info_page hba_info_param; |
411 | struct mvs_device devices[MVS_MAX_DEVICES]; | 410 | struct mvs_device devices[MVS_MAX_DEVICES]; |
412 | #ifndef DISABLE_HOTPLUG_DMA_FIX | ||
413 | void *bulk_buffer; | 411 | void *bulk_buffer; |
414 | dma_addr_t bulk_buffer_dma; | 412 | dma_addr_t bulk_buffer_dma; |
413 | void *bulk_buffer1; | ||
414 | dma_addr_t bulk_buffer_dma1; | ||
415 | #define TRASH_BUCKET_SIZE 0x20000 | 415 | #define TRASH_BUCKET_SIZE 0x20000 |
416 | #endif | ||
417 | void *dma_pool; | 416 | void *dma_pool; |
418 | struct mvs_slot_info slot_info[0]; | 417 | struct mvs_slot_info slot_info[0]; |
419 | }; | 418 | }; |