aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r--drivers/s390/scsi/zfcp_def.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h
index 7ac830c39098..d69d280359da 100644
--- a/drivers/s390/scsi/zfcp_def.h
+++ b/drivers/s390/scsi/zfcp_def.h
@@ -730,13 +730,6 @@ struct zfcp_data {
730 struct kmem_cache *gid_pn_cache; 730 struct kmem_cache *gid_pn_cache;
731}; 731};
732 732
733/* number of elements for various memory pools */
734#define ZFCP_POOL_FSF_REQ_ERP_NR 1
735#define ZFCP_POOL_FSF_REQ_SCSI_NR 1
736#define ZFCP_POOL_FSF_REQ_ABORT_NR 1
737#define ZFCP_POOL_STATUS_READ_NR FSF_STATUS_READS_RECOM
738#define ZFCP_POOL_DATA_GID_PN_NR 1
739
740/* struct used by memory pools for fsf_requests */ 733/* struct used by memory pools for fsf_requests */
741struct zfcp_fsf_req_qtcb { 734struct zfcp_fsf_req_qtcb {
742 struct zfcp_fsf_req fsf_req; 735 struct zfcp_fsf_req fsf_req;
@@ -757,12 +750,6 @@ struct zfcp_fsf_req_qtcb {
757 ((atomic_read(target) & mask) == mask) 750 ((atomic_read(target) & mask) == mask)
758#endif 751#endif
759 752
760extern void _zfcp_hex_dump(char *, int);
761#define ZFCP_HEX_DUMP(level, addr, count) \
762 if (ZFCP_LOG_CHECK(level)) { \
763 _zfcp_hex_dump(addr, count); \
764 }
765
766#define zfcp_get_busid_by_adapter(adapter) (adapter->ccw_device->dev.bus_id) 753#define zfcp_get_busid_by_adapter(adapter) (adapter->ccw_device->dev.bus_id)
767#define zfcp_get_busid_by_port(port) (zfcp_get_busid_by_adapter(port->adapter)) 754#define zfcp_get_busid_by_port(port) (zfcp_get_busid_by_adapter(port->adapter))
768#define zfcp_get_busid_by_unit(unit) (zfcp_get_busid_by_port(unit->port)) 755#define zfcp_get_busid_by_unit(unit) (zfcp_get_busid_by_port(unit->port))