|
| ZFCP_DEFINE_A_ATTR (status,"0x%08x\n", atomic_read(&adapter->status)) |
|
| ZFCP_DEFINE_A_ATTR (peer_wwnn,"0x%016llx\n",(unsigned long long) adapter->peer_wwnn) |
|
| ZFCP_DEFINE_A_ATTR (peer_wwpn,"0x%016llx\n",(unsigned long long) adapter->peer_wwpn) |
|
| ZFCP_DEFINE_A_ATTR (peer_d_id,"0x%06x\n", adapter->peer_d_id) |
|
| ZFCP_DEFINE_A_ATTR (card_version,"0x%04x\n", adapter->hydra_version) |
|
| ZFCP_DEFINE_A_ATTR (lic_version,"0x%08x\n", adapter->fsf_lic_version) |
|
| ZFCP_DEFINE_A_ATTR (hardware_version,"0x%08x\n", adapter->hardware_version) |
|
| ZFCP_DEFINE_A_ATTR (in_recovery,"%d\n",(atomic_read(&adapter->status)&ZFCP_STATUS_COMMON_ERP_INUSE)!=0) |
|
| ZFCP_DEFINE_ATTR (zfcp_port, port, status,"0x%08x\n", atomic_read(&port->status)) |
|
| ZFCP_DEFINE_ATTR (zfcp_port, port, in_recovery,"%d\n",(atomic_read(&port->status)&ZFCP_STATUS_COMMON_ERP_INUSE)!=0) |
|
| ZFCP_DEFINE_ATTR (zfcp_port, port, access_denied,"%d\n",(atomic_read(&port->status)&ZFCP_STATUS_COMMON_ACCESS_DENIED)!=0) |
|
| ZFCP_DEFINE_ATTR (zfcp_unit, unit, status,"0x%08x\n", zfcp_unit_sdev_status(unit)) |
|
| ZFCP_DEFINE_ATTR (zfcp_unit, unit, in_recovery,"%d\n",(zfcp_unit_sdev_status(unit)&ZFCP_STATUS_COMMON_ERP_INUSE)!=0) |
|
| ZFCP_DEFINE_ATTR (zfcp_unit, unit, access_denied,"%d\n",(zfcp_unit_sdev_status(unit)&ZFCP_STATUS_COMMON_ACCESS_DENIED)!=0) |
|
| ZFCP_DEFINE_ATTR (zfcp_unit, unit, access_shared,"%d\n",(zfcp_unit_sdev_status(unit)&ZFCP_STATUS_LUN_SHARED)!=0) |
|
| ZFCP_DEFINE_ATTR (zfcp_unit, unit, access_readonly,"%d\n",(zfcp_unit_sdev_status(unit)&ZFCP_STATUS_LUN_READONLY)!=0) |
|
| DEFINE_MUTEX (zfcp_sysfs_port_units_mutex) |
|
| ZFCP_DEFINE_LATENCY_ATTR (read) |
|
| ZFCP_DEFINE_LATENCY_ATTR (write) |
|
| ZFCP_DEFINE_LATENCY_ATTR (cmd) |
|
| ZFCP_DEFINE_SCSI_ATTR (hba_id,"%s\n", dev_name(&port->adapter->ccw_device->dev)) |
|
| ZFCP_DEFINE_SCSI_ATTR (wwpn,"0x%016llx\n",(unsigned long long) port->wwpn) |
|
| ZFCP_SHOST_ATTR (requests,"%llu %llu %llu\n",(unsigned long long) stat_info.input_req,(unsigned long long) stat_info.output_req,(unsigned long long) stat_info.control_req) |
|
| ZFCP_SHOST_ATTR (megabytes,"%llu %llu\n",(unsigned long long) stat_info.input_mb,(unsigned long long) stat_info.output_mb) |
|
| ZFCP_SHOST_ATTR (seconds_active,"%llu\n",(unsigned long long) stat_info.seconds_act) |
|