aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/qla4xxx/ql4_iocb.c
diff options
context:
space:
mode:
authorDavid C Somayajulu <david.somayajulu@qlogic.com>2007-05-23 18:14:34 -0700
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-05-26 11:47:40 -0500
commite08c182cba87180d7c1e7530dd690a5f6894c412 (patch)
treee1c1c92c2875a679f2d2f71ed9cb49b9131997ca /drivers/scsi/qla4xxx/ql4_iocb.c
parent92b7273608da2c681f54fd36d182a582673ed260 (diff)
[SCSI] qla4xxx: update rev num and misc cleanup
Clean up and update version number Signed-off-by: David Somayajulu <david.somayajulu@qlogic.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_iocb.c')
-rw-r--r--drivers/scsi/qla4xxx/ql4_iocb.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_iocb.c b/drivers/scsi/qla4xxx/ql4_iocb.c
index a216a1781af..6e3c8c81def 100644
--- a/drivers/scsi/qla4xxx/ql4_iocb.c
+++ b/drivers/scsi/qla4xxx/ql4_iocb.c
@@ -6,6 +6,10 @@
*/
#include "ql4_def.h"
+#include "ql4_glbl.h"
+#include "ql4_dbg.h"
+#include "ql4_inline.h"
+
#include <scsi/scsi_tcq.h>
@@ -243,8 +247,8 @@ int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb)
dma_addr_t req_dma;
req_dma = pci_map_single(ha->pdev, cmd->request_buffer,
- cmd->request_bufflen,
- cmd->sc_data_direction);
+ cmd->request_bufflen,
+ cmd->sc_data_direction);
if (dma_mapping_error(req_dma))
goto queuing_error;