aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_ext.h
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2008-06-10 12:21:00 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-12 09:22:26 -0400
commitcc8c282963bd258a5bf49d3aa52675a4ae6d31f6 (patch)
treed0f353c918158b203c71603d9afdf4b71c126f63 /drivers/s390/scsi/zfcp_ext.h
parent85a82392fe6fe7620d8fe0eb694f926cefe62e1f (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.h4
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,
37extern void zfcp_port_dequeue(struct zfcp_port *); 37extern void zfcp_port_dequeue(struct zfcp_port *);
38extern struct zfcp_unit *zfcp_unit_enqueue(struct zfcp_port *, fcp_lun_t); 38extern struct zfcp_unit *zfcp_unit_enqueue(struct zfcp_port *, fcp_lun_t);
39extern void zfcp_unit_dequeue(struct zfcp_unit *); 39extern void zfcp_unit_dequeue(struct zfcp_unit *);
40extern int zfcp_scan_ports(struct zfcp_adapter *);
41extern void _zfcp_scan_ports_later(struct work_struct *work);
40 42
41/******************************* S/390 IO ************************************/ 43/******************************* S/390 IO ************************************/
42extern int zfcp_ccw_register(void); 44extern int zfcp_ccw_register(void);
@@ -97,8 +99,6 @@ extern int zfcp_fc_ns_gid_pn_request(struct zfcp_erp_action *);
97extern void zfcp_fc_plogi_evaluate(struct zfcp_port *, struct fsf_plogi *); 99extern void zfcp_fc_plogi_evaluate(struct zfcp_port *, struct fsf_plogi *);
98extern void zfcp_test_link(struct zfcp_port *); 100extern void zfcp_test_link(struct zfcp_port *);
99 101
100extern int zfcp_nameserver_enqueue(struct zfcp_adapter *);
101
102/******************************* SCSI ****************************************/ 102/******************************* SCSI ****************************************/
103extern int zfcp_adapter_scsi_register(struct zfcp_adapter *); 103extern int zfcp_adapter_scsi_register(struct zfcp_adapter *);
104extern void zfcp_adapter_scsi_unregister(struct zfcp_adapter *); 104extern void zfcp_adapter_scsi_unregister(struct zfcp_adapter *);