Commit e08c182c authored by David C Somayajulu's avatar David C Somayajulu Committed by James Bottomley

[SCSI] qla4xxx: update rev num and misc cleanup

Clean up and update version number
Signed-off-by: default avatarDavid Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 92b72736
...@@ -8,6 +8,9 @@ ...@@ -8,6 +8,9 @@
#ifndef __QLA4x_GBL_H #ifndef __QLA4x_GBL_H
#define __QLA4x_GBL_H #define __QLA4x_GBL_H
struct iscsi_cls_conn;
void qla4xxx_hw_reset(struct scsi_qla_host *ha);
int ql4xxx_lock_drvr_wait(struct scsi_qla_host *a); int ql4xxx_lock_drvr_wait(struct scsi_qla_host *a);
int qla4xxx_send_tgts(struct scsi_qla_host *ha, char *ip, uint16_t port); int qla4xxx_send_tgts(struct scsi_qla_host *ha, char *ip, uint16_t port);
int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb); int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb);
...@@ -58,11 +61,13 @@ int qla4xxx_get_fw_version(struct scsi_qla_host * ha); ...@@ -58,11 +61,13 @@ int qla4xxx_get_fw_version(struct scsi_qla_host * ha);
void qla4xxx_interrupt_service_routine(struct scsi_qla_host * ha, void qla4xxx_interrupt_service_routine(struct scsi_qla_host * ha,
uint32_t intr_status); uint32_t intr_status);
int qla4xxx_init_rings(struct scsi_qla_host * ha); int qla4xxx_init_rings(struct scsi_qla_host * ha);
struct srb * qla4xxx_del_from_active_array(struct scsi_qla_host *ha, uint32_t index); struct srb * qla4xxx_del_from_active_array(struct scsi_qla_host *ha,
uint32_t index);
void qla4xxx_srb_compl(struct scsi_qla_host *ha, struct srb *srb); void qla4xxx_srb_compl(struct scsi_qla_host *ha, struct srb *srb);
int qla4xxx_reinitialize_ddb_list(struct scsi_qla_host * ha); int qla4xxx_reinitialize_ddb_list(struct scsi_qla_host * ha);
int qla4xxx_process_ddb_changed(struct scsi_qla_host * ha, int qla4xxx_process_ddb_changed(struct scsi_qla_host * ha,
uint32_t fw_ddb_index, uint32_t state); uint32_t fw_ddb_index, uint32_t state);
void qla4xxx_dump_buffer(void *b, uint32_t size);
extern int ql4xextended_error_logging; extern int ql4xextended_error_logging;
extern int ql4xdiscoverywait; extern int ql4xdiscoverywait;
......
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
*/ */
#include "ql4_def.h" #include "ql4_def.h"
#include "ql4_glbl.h"
#include "ql4_dbg.h"
#include "ql4_inline.h"
#include <scsi/scsi_tcq.h> #include <scsi/scsi_tcq.h>
...@@ -243,8 +247,8 @@ int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb) ...@@ -243,8 +247,8 @@ int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb)
dma_addr_t req_dma; dma_addr_t req_dma;
req_dma = pci_map_single(ha->pdev, cmd->request_buffer, req_dma = pci_map_single(ha->pdev, cmd->request_buffer,
cmd->request_bufflen, cmd->request_bufflen,
cmd->sc_data_direction); cmd->sc_data_direction);
if (dma_mapping_error(req_dma)) if (dma_mapping_error(req_dma))
goto queuing_error; goto queuing_error;
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
*/ */
#include "ql4_def.h" #include "ql4_def.h"
#include "ql4_glbl.h"
#include "ql4_dbg.h"
#include "ql4_inline.h"
static inline void eeprom_cmd(uint32_t cmd, struct scsi_qla_host *ha) static inline void eeprom_cmd(uint32_t cmd, struct scsi_qla_host *ha)
{ {
......
...@@ -5,4 +5,5 @@ ...@@ -5,4 +5,5 @@
* See LICENSE.qla4xxx for copyright and licensing details. * See LICENSE.qla4xxx for copyright and licensing details.
*/ */
#define QLA4XXX_DRIVER_VERSION "5.00.07-k1" #define QLA4XXX_DRIVER_VERSION "5.01.00-k7"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment