zfcp_def.h (92953c6e0aa77d4febcca6dd691e8192910c8a28) zfcp_def.h (7e418833e68948cb9ed15262889173b7db2960cb)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * zfcp device driver
4 *
5 * Global definitions for the zfcp device driver.
6 *
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * zfcp device driver
4 *
5 * Global definitions for the zfcp device driver.
6 *
7 * Copyright IBM Corp. 2002, 2017
7 * Copyright IBM Corp. 2002, 2018
8 */
9
10#ifndef ZFCP_DEF_H
11#define ZFCP_DEF_H
12
13/*************************** INCLUDES *****************************************/
14
15#include <linux/init.h>

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

193 unsigned long stats_reset;
194 struct delayed_work scan_work;
195 struct work_struct ns_up_work;
196 struct service_level service_level;
197 struct workqueue_struct *work_queue;
198 struct device_dma_parameters dma_parms;
199 struct zfcp_fc_events events;
200 unsigned long next_port_scan;
8 */
9
10#ifndef ZFCP_DEF_H
11#define ZFCP_DEF_H
12
13/*************************** INCLUDES *****************************************/
14
15#include <linux/init.h>

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

193 unsigned long stats_reset;
194 struct delayed_work scan_work;
195 struct work_struct ns_up_work;
196 struct service_level service_level;
197 struct workqueue_struct *work_queue;
198 struct device_dma_parameters dma_parms;
199 struct zfcp_fc_events events;
200 unsigned long next_port_scan;
201 struct zfcp_diag_adapter *diagnostics;
201};
202
203struct zfcp_port {
204 struct device dev;
205 struct fc_rport *rport; /* rport of fc transport class */
206 struct list_head list; /* list of remote ports */
207 struct zfcp_adapter *adapter; /* adapter used to access port */
208 struct list_head unit_list; /* head of logical unit list */

--- 140 unchanged lines hidden ---
202};
203
204struct zfcp_port {
205 struct device dev;
206 struct fc_rport *rport; /* rport of fc transport class */
207 struct list_head list; /* list of remote ports */
208 struct zfcp_adapter *adapter; /* adapter used to access port */
209 struct list_head unit_list; /* head of logical unit list */

--- 140 unchanged lines hidden ---