diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-21 14:18:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-21 14:18:25 -0400 |
commit | 28e4b224955cbe30275b2a7842e729023a4f4b03 (patch) | |
tree | ab4d28fecc06070fc2a2742f4b4550b29de44912 /drivers/scsi/sym53c8xx_2/sym_glue.c | |
parent | 22ae813b85df7c0b0fc7c8d6f336d6a9f566ff97 (diff) | |
parent | 67d59dfdeb21df2c16dcd478b66177e91178ecd0 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (85 commits)
[SCSI] 53c700: remove reliance on deprecated cmnd fields
[SCSI] hptiop: don't use cmnd->bufflen
[SCSI] hptiop: HighPoint RocketRAID 3xxx controller driver
[SCSI] aacraid: small misc. cleanups
[SCSI] aacraid: Update supported product information
[SCSI] aacraid: Fix return code interpretation
[SCSI] scsi_transport_sas: fix panic in sas_free_rphy
[SCSI] remove RQ_SCSI_* flags
[SCSI] remove scsi_request infrastructure
[SCSI] mptfusion: change driver revision to 3.03.10
[SCSI] mptfc: abort of board reset leaves port dead requiring reboot
[SCSI] mptfc: fix fibre channel infinite request/response loop
[SCSI] mptfc: set fibre channel fw target missing timers to one second
[SCSI] mptfusion: move fc event/reset handling to mptfc
[SCSI] spi transport: don't allow dt to be set on SE or HVD buses
[SCSI] aic7xxx: expose the bus setting to sysfs
[SCSI] scsi: remove Documentation/scsi/cpqfc.txt
[SCSI] drivers/scsi: Use ARRAY_SIZE macro
[SCSI] Remove last page_address from dc395x.c
[SCSI] hptiop: HighPoint RocketRAID 3xxx controller driver
...
Fixed up conflicts in drivers/message/fusion/mptbase.c manually (due to
the sparc interrupt cleanups)
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_glue.c')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_glue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index 7677fba2ceb5..ea82d3df63af 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -150,7 +150,7 @@ static void __unmap_scsi_data(struct pci_dev *pdev, struct scsi_cmnd *cmd) | |||
150 | 150 | ||
151 | switch(SYM_UCMD_PTR(cmd)->data_mapped) { | 151 | switch(SYM_UCMD_PTR(cmd)->data_mapped) { |
152 | case 2: | 152 | case 2: |
153 | pci_unmap_sg(pdev, cmd->buffer, cmd->use_sg, dma_dir); | 153 | pci_unmap_sg(pdev, cmd->request_buffer, cmd->use_sg, dma_dir); |
154 | break; | 154 | break; |
155 | case 1: | 155 | case 1: |
156 | pci_unmap_single(pdev, SYM_UCMD_PTR(cmd)->data_mapping, | 156 | pci_unmap_single(pdev, SYM_UCMD_PTR(cmd)->data_mapping, |
@@ -180,7 +180,7 @@ static int __map_scsi_sg_data(struct pci_dev *pdev, struct scsi_cmnd *cmd) | |||
180 | int use_sg; | 180 | int use_sg; |
181 | int dma_dir = cmd->sc_data_direction; | 181 | int dma_dir = cmd->sc_data_direction; |
182 | 182 | ||
183 | use_sg = pci_map_sg(pdev, cmd->buffer, cmd->use_sg, dma_dir); | 183 | use_sg = pci_map_sg(pdev, cmd->request_buffer, cmd->use_sg, dma_dir); |
184 | if (use_sg > 0) { | 184 | if (use_sg > 0) { |
185 | SYM_UCMD_PTR(cmd)->data_mapped = 2; | 185 | SYM_UCMD_PTR(cmd)->data_mapped = 2; |
186 | SYM_UCMD_PTR(cmd)->data_mapping = use_sg; | 186 | SYM_UCMD_PTR(cmd)->data_mapping = use_sg; |
@@ -370,7 +370,7 @@ static int sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd | |||
370 | if (!use_sg) | 370 | if (!use_sg) |
371 | segment = sym_scatter_no_sglist(np, cp, cmd); | 371 | segment = sym_scatter_no_sglist(np, cp, cmd); |
372 | else if ((use_sg = map_scsi_sg_data(np, cmd)) > 0) { | 372 | else if ((use_sg = map_scsi_sg_data(np, cmd)) > 0) { |
373 | struct scatterlist *scatter = (struct scatterlist *)cmd->buffer; | 373 | struct scatterlist *scatter = (struct scatterlist *)cmd->request_buffer; |
374 | struct sym_tcb *tp = &np->target[cp->target]; | 374 | struct sym_tcb *tp = &np->target[cp->target]; |
375 | struct sym_tblmove *data; | 375 | struct sym_tblmove *data; |
376 | 376 | ||