diff options
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_hipd.h')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_hipd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.h b/drivers/scsi/sym53c8xx_2/sym_hipd.h index 61d28fcfffbf..1588c90518d4 100644 --- a/drivers/scsi/sym53c8xx_2/sym_hipd.h +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.h | |||
@@ -1096,7 +1096,7 @@ do { \ | |||
1096 | #elif SYM_CONF_DMA_ADDRESSING_MODE == 2 | 1096 | #elif SYM_CONF_DMA_ADDRESSING_MODE == 2 |
1097 | #define DMA_DAC_MASK DMA_64BIT_MASK | 1097 | #define DMA_DAC_MASK DMA_64BIT_MASK |
1098 | int sym_lookup_dmap(struct sym_hcb *np, u32 h, int s); | 1098 | int sym_lookup_dmap(struct sym_hcb *np, u32 h, int s); |
1099 | static __inline void | 1099 | static inline void |
1100 | sym_build_sge(struct sym_hcb *np, struct sym_tblmove *data, u64 badd, int len) | 1100 | sym_build_sge(struct sym_hcb *np, struct sym_tblmove *data, u64 badd, int len) |
1101 | { | 1101 | { |
1102 | u32 h = (badd>>32); | 1102 | u32 h = (badd>>32); |
@@ -1201,7 +1201,7 @@ dma_addr_t __vtobus(m_pool_ident_t dev_dmat, void *m); | |||
1201 | 1201 | ||
1202 | #define sym_m_pool_match(mp_id1, mp_id2) (mp_id1 == mp_id2) | 1202 | #define sym_m_pool_match(mp_id1, mp_id2) (mp_id1 == mp_id2) |
1203 | 1203 | ||
1204 | static __inline void *sym_m_get_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) | 1204 | static inline void *sym_m_get_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) |
1205 | { | 1205 | { |
1206 | void *vaddr = NULL; | 1206 | void *vaddr = NULL; |
1207 | dma_addr_t baddr = 0; | 1207 | dma_addr_t baddr = 0; |
@@ -1215,7 +1215,7 @@ static __inline void *sym_m_get_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) | |||
1215 | return vaddr; | 1215 | return vaddr; |
1216 | } | 1216 | } |
1217 | 1217 | ||
1218 | static __inline void sym_m_free_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) | 1218 | static inline void sym_m_free_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) |
1219 | { | 1219 | { |
1220 | dma_free_coherent(mp->dev_dmat, SYM_MEM_CLUSTER_SIZE, vbp->vaddr, | 1220 | dma_free_coherent(mp->dev_dmat, SYM_MEM_CLUSTER_SIZE, vbp->vaddr, |
1221 | vbp->baddr); | 1221 | vbp->baddr); |