aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h36
1 files changed, 17 insertions, 19 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index b455c31405e4..7096945ea234 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -1,22 +1,9 @@
1/******************************************************************************** 1/*
2* QLOGIC LINUX SOFTWARE 2 * QLogic Fibre Channel HBA Driver
3* 3 * Copyright (c) 2003-2005 QLogic Corporation
4* QLogic ISP2x00 device driver for Linux 2.6.x 4 *
5* Copyright (C) 2003-2005 QLogic Corporation 5 * See LICENSE.qla2xxx for copyright and licensing details.
6* (www.qlogic.com) 6 */
7*
8* This program is free software; you can redistribute it and/or modify it
9* under the terms of the GNU General Public License as published by the
10* Free Software Foundation; either version 2, or (at your option) any
11* later version.
12*
13* This program is distributed in the hope that it will be useful, but
14* WITHOUT ANY WARRANTY; without even the implied warranty of
15* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16* General Public License for more details.
17**
18******************************************************************************/
19
20#ifndef __QLA_DEF_H 7#ifndef __QLA_DEF_H
21#define __QLA_DEF_H 8#define __QLA_DEF_H
22 9
@@ -34,6 +21,7 @@
34#include <linux/spinlock.h> 21#include <linux/spinlock.h>
35#include <linux/completion.h> 22#include <linux/completion.h>
36#include <linux/interrupt.h> 23#include <linux/interrupt.h>
24#include <linux/workqueue.h>
37#include <asm/semaphore.h> 25#include <asm/semaphore.h>
38 26
39#include <scsi/scsi.h> 27#include <scsi/scsi.h>
@@ -823,6 +811,11 @@ typedef struct {
823#define PD_STATE_WAIT_PORT_LOGOUT_ACK 11 811#define PD_STATE_WAIT_PORT_LOGOUT_ACK 11
824 812
825 813
814#define QLA_ZIO_MODE_5 (BIT_2 | BIT_0)
815#define QLA_ZIO_MODE_6 (BIT_2 | BIT_1)
816#define QLA_ZIO_DISABLED 0
817#define QLA_ZIO_DEFAULT_TIMER 2
818
826/* 819/*
827 * ISP Initialization Control Block. 820 * ISP Initialization Control Block.
828 * Little endian except where noted. 821 * Little endian except where noted.
@@ -1673,6 +1666,8 @@ typedef struct fc_port {
1673 1666
1674 struct fc_rport *rport; 1667 struct fc_rport *rport;
1675 u32 supported_classes; 1668 u32 supported_classes;
1669 struct work_struct rport_add_work;
1670 struct work_struct rport_del_work;
1676} fc_port_t; 1671} fc_port_t;
1677 1672
1678/* 1673/*
@@ -2470,6 +2465,9 @@ typedef struct scsi_qla_host {
2470 /* Needed for BEACON */ 2465 /* Needed for BEACON */
2471 uint16_t beacon_blink_led; 2466 uint16_t beacon_blink_led;
2472 uint16_t beacon_green_on; 2467 uint16_t beacon_green_on;
2468
2469 uint16_t zio_mode;
2470 uint16_t zio_timer;
2473} scsi_qla_host_t; 2471} scsi_qla_host_t;
2474 2472
2475 2473