diff options
author | Andreas Herrmann <aherrman@de.ibm.com> | 2006-01-12 20:26:11 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2006-01-14 11:54:52 -0500 |
commit | ad757cdfd2a40c9d5310d00f24427525788341cd (patch) | |
tree | 9353d40be65f6834b5e22c59db17273bb10f051e /drivers/s390/scsi/zfcp_sysfs_adapter.c | |
parent | f6cd94b126aa78ebaa21075df3b9577fbf995968 (diff) |
[SCSI] zfcp: transport class adaptations II
Replaced zfcp adapter attributes with fc_host attributes:
fc_topology by port_type, physical_wwpn by permanent_port_name.
Make use of fc_host attribute supported_speeds.
Removed zfcp adapter attribute physical_s_id.
Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_sysfs_adapter.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_sysfs_adapter.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/s390/scsi/zfcp_sysfs_adapter.c b/drivers/s390/scsi/zfcp_sysfs_adapter.c index c85df9c016ae..9f262250043a 100644 --- a/drivers/s390/scsi/zfcp_sysfs_adapter.c +++ b/drivers/s390/scsi/zfcp_sysfs_adapter.c | |||
@@ -33,14 +33,6 @@ | |||
33 | 33 | ||
34 | #define ZFCP_LOG_AREA ZFCP_LOG_AREA_CONFIG | 34 | #define ZFCP_LOG_AREA ZFCP_LOG_AREA_CONFIG |
35 | 35 | ||
36 | static const char fc_topologies[5][25] = { | ||
37 | "<error>", | ||
38 | "point-to-point", | ||
39 | "fabric", | ||
40 | "arbitrated loop", | ||
41 | "fabric (virt. adapter)" | ||
42 | }; | ||
43 | |||
44 | /** | 36 | /** |
45 | * ZFCP_DEFINE_ADAPTER_ATTR | 37 | * ZFCP_DEFINE_ADAPTER_ATTR |
46 | * @_name: name of show attribute | 38 | * @_name: name of show attribute |
@@ -69,8 +61,6 @@ ZFCP_DEFINE_ADAPTER_ATTR(physical_wwpn, "0x%016llx\n", adapter->physical_wwpn); | |||
69 | ZFCP_DEFINE_ADAPTER_ATTR(physical_s_id, "0x%06x\n", adapter->physical_s_id); | 61 | ZFCP_DEFINE_ADAPTER_ATTR(physical_s_id, "0x%06x\n", adapter->physical_s_id); |
70 | ZFCP_DEFINE_ADAPTER_ATTR(card_version, "0x%04x\n", adapter->hydra_version); | 62 | ZFCP_DEFINE_ADAPTER_ATTR(card_version, "0x%04x\n", adapter->hydra_version); |
71 | ZFCP_DEFINE_ADAPTER_ATTR(lic_version, "0x%08x\n", adapter->fsf_lic_version); | 63 | ZFCP_DEFINE_ADAPTER_ATTR(lic_version, "0x%08x\n", adapter->fsf_lic_version); |
72 | ZFCP_DEFINE_ADAPTER_ATTR(fc_topology, "%s\n", | ||
73 | fc_topologies[adapter->fc_topology]); | ||
74 | ZFCP_DEFINE_ADAPTER_ATTR(hardware_version, "0x%08x\n", | 64 | ZFCP_DEFINE_ADAPTER_ATTR(hardware_version, "0x%08x\n", |
75 | adapter->hardware_version); | 65 | adapter->hardware_version); |
76 | ZFCP_DEFINE_ADAPTER_ATTR(in_recovery, "%d\n", atomic_test_mask | 66 | ZFCP_DEFINE_ADAPTER_ATTR(in_recovery, "%d\n", atomic_test_mask |
@@ -257,7 +247,6 @@ static struct attribute *zfcp_adapter_attrs[] = { | |||
257 | &dev_attr_physical_s_id.attr, | 247 | &dev_attr_physical_s_id.attr, |
258 | &dev_attr_card_version.attr, | 248 | &dev_attr_card_version.attr, |
259 | &dev_attr_lic_version.attr, | 249 | &dev_attr_lic_version.attr, |
260 | &dev_attr_fc_topology.attr, | ||
261 | &dev_attr_status.attr, | 250 | &dev_attr_status.attr, |
262 | &dev_attr_hardware_version.attr, | 251 | &dev_attr_hardware_version.attr, |
263 | NULL | 252 | NULL |