diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2009-05-15 07:18:21 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-05-23 16:44:16 -0400 |
commit | 6fcf41d1d8796f41b893754324704e23971c2ea1 (patch) | |
tree | ba3ba8c6bb0d4620be81859653b08d9128d77f56 /drivers/s390/scsi/zfcp_def.h | |
parent | ea460a81919f2b3410e7fb30183c0256d068d87a (diff) |
[SCSI] zfcp: Keep ccw device and model id in zfcp_ccw.c
Keep the information about the device and model id in zfcp_ccw. This
requires an additional helper function to check for the privileged
cfdc subchannel, but it allows the removal of the redundant defines
from the zfcp_def header file.
Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index 4c362a9069f0..2074d45dbf6c 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -47,13 +47,6 @@ | |||
47 | 47 | ||
48 | /********************* CIO/QDIO SPECIFIC DEFINES *****************************/ | 48 | /********************* CIO/QDIO SPECIFIC DEFINES *****************************/ |
49 | 49 | ||
50 | /* Adapter Identification Parameters */ | ||
51 | #define ZFCP_CONTROL_UNIT_TYPE 0x1731 | ||
52 | #define ZFCP_CONTROL_UNIT_MODEL 0x03 | ||
53 | #define ZFCP_DEVICE_TYPE 0x1732 | ||
54 | #define ZFCP_DEVICE_MODEL 0x03 | ||
55 | #define ZFCP_DEVICE_MODEL_PRIV 0x04 | ||
56 | |||
57 | /* DMQ bug workaround: don't use last SBALE */ | 50 | /* DMQ bug workaround: don't use last SBALE */ |
58 | #define ZFCP_MAX_SBALES_PER_SBAL (QDIO_MAX_ELEMENTS_PER_BUFFER - 1) | 51 | #define ZFCP_MAX_SBALES_PER_SBAL (QDIO_MAX_ELEMENTS_PER_BUFFER - 1) |
59 | 52 | ||