ql4_os.c (37418cc61d0d71fc576bb49694d978c8e94e6e23) ql4_os.c (a083e8bc839db0098301ebc483b83ff241e4fcdb)
1/*
2 * QLogic iSCSI HBA Driver
3 * Copyright (c) 2003-2013 QLogic Corporation
4 *
5 * See LICENSE.qla4xxx for copyright and licensing details.
6 */
7#include <linux/moduleparam.h>
8#include <linux/slab.h>

--- 4358 unchanged lines hidden (view full) ---

4367 *
4368 * Context: Interrupt
4369 **/
4370void qla4_8xxx_watchdog(struct scsi_qla_host *ha)
4371{
4372 uint32_t dev_state;
4373 uint32_t idc_ctrl;
4374
1/*
2 * QLogic iSCSI HBA Driver
3 * Copyright (c) 2003-2013 QLogic Corporation
4 *
5 * See LICENSE.qla4xxx for copyright and licensing details.
6 */
7#include <linux/moduleparam.h>
8#include <linux/slab.h>

--- 4358 unchanged lines hidden (view full) ---

4367 *
4368 * Context: Interrupt
4369 **/
4370void qla4_8xxx_watchdog(struct scsi_qla_host *ha)
4371{
4372 uint32_t dev_state;
4373 uint32_t idc_ctrl;
4374
4375 if (is_qla8032(ha) &&
4376 (qla4_83xx_is_detached(ha) == QLA_SUCCESS))
4377 WARN_ONCE(1, "%s: iSCSI function %d marked invisible\n",
4378 __func__, ha->func_num);
4379
4375 /* don't poll if reset is going on */
4376 if (!(test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) ||
4377 test_bit(DPC_RESET_HA, &ha->dpc_flags) ||
4378 test_bit(DPC_RETRY_RESET_HA, &ha->dpc_flags))) {
4379 dev_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DEV_STATE);
4380
4381 if (qla4_8xxx_check_temp(ha)) {
4382 if (is_qla8022(ha)) {

--- 5470 unchanged lines hidden ---
4380 /* don't poll if reset is going on */
4381 if (!(test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) ||
4382 test_bit(DPC_RESET_HA, &ha->dpc_flags) ||
4383 test_bit(DPC_RETRY_RESET_HA, &ha->dpc_flags))) {
4384 dev_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DEV_STATE);
4385
4386 if (qla4_8xxx_check_temp(ha)) {
4387 if (is_qla8022(ha)) {

--- 5470 unchanged lines hidden ---