diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index 510662783a6f..a0318630f047 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Global definitions for the zfcp device driver. | 4 | * Global definitions for the zfcp device driver. |
5 | * | 5 | * |
6 | * Copyright IBM Corporation 2002, 2008 | 6 | * Copyright IBM Corporation 2002, 2009 |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #ifndef ZFCP_DEF_H | 9 | #ifndef ZFCP_DEF_H |
@@ -243,9 +243,6 @@ struct zfcp_ls_adisc { | |||
243 | 243 | ||
244 | /* remote port status */ | 244 | /* remote port status */ |
245 | #define ZFCP_STATUS_PORT_PHYS_OPEN 0x00000001 | 245 | #define ZFCP_STATUS_PORT_PHYS_OPEN 0x00000001 |
246 | #define ZFCP_STATUS_PORT_PHYS_CLOSING 0x00000004 | ||
247 | #define ZFCP_STATUS_PORT_NO_WWPN 0x00000008 | ||
248 | #define ZFCP_STATUS_PORT_INVALID_WWPN 0x00000020 | ||
249 | 246 | ||
250 | /* well known address (WKA) port status*/ | 247 | /* well known address (WKA) port status*/ |
251 | enum zfcp_wka_status { | 248 | enum zfcp_wka_status { |
@@ -258,7 +255,6 @@ enum zfcp_wka_status { | |||
258 | /* logical unit status */ | 255 | /* logical unit status */ |
259 | #define ZFCP_STATUS_UNIT_SHARED 0x00000004 | 256 | #define ZFCP_STATUS_UNIT_SHARED 0x00000004 |
260 | #define ZFCP_STATUS_UNIT_READONLY 0x00000008 | 257 | #define ZFCP_STATUS_UNIT_READONLY 0x00000008 |
261 | #define ZFCP_STATUS_UNIT_REGISTERED 0x00000010 | ||
262 | #define ZFCP_STATUS_UNIT_SCSI_WORK_PENDING 0x00000020 | 258 | #define ZFCP_STATUS_UNIT_SCSI_WORK_PENDING 0x00000020 |
263 | 259 | ||
264 | /* FSF request status (this does not have a common part) */ | 260 | /* FSF request status (this does not have a common part) */ |
@@ -447,8 +443,9 @@ struct zfcp_adapter { | |||
447 | spinlock_t req_list_lock; /* request list lock */ | 443 | spinlock_t req_list_lock; /* request list lock */ |
448 | struct zfcp_qdio_queue req_q; /* request queue */ | 444 | struct zfcp_qdio_queue req_q; /* request queue */ |
449 | spinlock_t req_q_lock; /* for operations on queue */ | 445 | spinlock_t req_q_lock; /* for operations on queue */ |
450 | int req_q_pci_batch; /* SBALs since PCI indication | 446 | ktime_t req_q_time; /* time of last fill level change */ |
451 | was last set */ | 447 | u64 req_q_util; /* for accounting */ |
448 | spinlock_t qdio_stat_lock; | ||
452 | u32 fsf_req_seq_no; /* FSF cmnd seq number */ | 449 | u32 fsf_req_seq_no; /* FSF cmnd seq number */ |
453 | wait_queue_head_t request_wq; /* can be used to wait for | 450 | wait_queue_head_t request_wq; /* can be used to wait for |
454 | more avaliable SBALs */ | 451 | more avaliable SBALs */ |
@@ -514,6 +511,9 @@ struct zfcp_port { | |||
514 | u32 maxframe_size; | 511 | u32 maxframe_size; |
515 | u32 supported_classes; | 512 | u32 supported_classes; |
516 | struct work_struct gid_pn_work; | 513 | struct work_struct gid_pn_work; |
514 | struct work_struct test_link_work; | ||
515 | struct work_struct rport_work; | ||
516 | enum { RPORT_NONE, RPORT_ADD, RPORT_DEL } rport_task; | ||
517 | }; | 517 | }; |
518 | 518 | ||
519 | struct zfcp_unit { | 519 | struct zfcp_unit { |
@@ -587,9 +587,6 @@ struct zfcp_fsf_req_qtcb { | |||
587 | 587 | ||
588 | /********************** ZFCP SPECIFIC DEFINES ********************************/ | 588 | /********************** ZFCP SPECIFIC DEFINES ********************************/ |
589 | 589 | ||
590 | #define ZFCP_REQ_AUTO_CLEANUP 0x00000002 | ||
591 | #define ZFCP_REQ_NO_QTCB 0x00000008 | ||
592 | |||
593 | #define ZFCP_SET 0x00000100 | 590 | #define ZFCP_SET 0x00000100 |
594 | #define ZFCP_CLEAR 0x00000200 | 591 | #define ZFCP_CLEAR 0x00000200 |
595 | 592 | ||