diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2008-06-10 12:21:00 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 09:22:26 -0400 |
commit | cc8c282963bd258a5bf49d3aa52675a4ae6d31f6 (patch) | |
tree | d0f353c918158b203c71603d9afdf4b71c126f63 /drivers/s390/scsi/zfcp_ext.h | |
parent | 85a82392fe6fe7620d8fe0eb694f926cefe62e1f (diff) |
[SCSI] zfcp: Automatically attach remote ports
Automatically attach the remote ports in zfcp when the adapter is set
online. This is done by querying all available ports from the FC
namesever. The scan for remote ports is also triggered by RSCNs and
can be triggered manually with the sysfs attribute 'port_rescan'.
Signed-off-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_ext.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_ext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index 9aa412bd6637..c3b51338abfa 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -37,6 +37,8 @@ extern struct zfcp_port *zfcp_port_enqueue(struct zfcp_adapter *, wwn_t, | |||
37 | extern void zfcp_port_dequeue(struct zfcp_port *); | 37 | extern void zfcp_port_dequeue(struct zfcp_port *); |
38 | extern struct zfcp_unit *zfcp_unit_enqueue(struct zfcp_port *, fcp_lun_t); | 38 | extern struct zfcp_unit *zfcp_unit_enqueue(struct zfcp_port *, fcp_lun_t); |
39 | extern void zfcp_unit_dequeue(struct zfcp_unit *); | 39 | extern void zfcp_unit_dequeue(struct zfcp_unit *); |
40 | extern int zfcp_scan_ports(struct zfcp_adapter *); | ||
41 | extern void _zfcp_scan_ports_later(struct work_struct *work); | ||
40 | 42 | ||
41 | /******************************* S/390 IO ************************************/ | 43 | /******************************* S/390 IO ************************************/ |
42 | extern int zfcp_ccw_register(void); | 44 | extern int zfcp_ccw_register(void); |
@@ -97,8 +99,6 @@ extern int zfcp_fc_ns_gid_pn_request(struct zfcp_erp_action *); | |||
97 | extern void zfcp_fc_plogi_evaluate(struct zfcp_port *, struct fsf_plogi *); | 99 | extern void zfcp_fc_plogi_evaluate(struct zfcp_port *, struct fsf_plogi *); |
98 | extern void zfcp_test_link(struct zfcp_port *); | 100 | extern void zfcp_test_link(struct zfcp_port *); |
99 | 101 | ||
100 | extern int zfcp_nameserver_enqueue(struct zfcp_adapter *); | ||
101 | |||
102 | /******************************* SCSI ****************************************/ | 102 | /******************************* SCSI ****************************************/ |
103 | extern int zfcp_adapter_scsi_register(struct zfcp_adapter *); | 103 | extern int zfcp_adapter_scsi_register(struct zfcp_adapter *); |
104 | extern void zfcp_adapter_scsi_unregister(struct zfcp_adapter *); | 104 | extern void zfcp_adapter_scsi_unregister(struct zfcp_adapter *); |