aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2010-10-15 01:06:08 +0100
committerMichael Brown <mcb30@ipxe.org>2010-10-15 01:54:48 +0100
commit60b690141eaa8c736ab06500e6adfc9413c9b7f7 (patch)
treec17abac475867c7b34360f8c4786b059d9c3c63f /src/include
parenta9c799250faacd79e482be72f9f5bb0f8d4847d3 (diff)
downloadipxe-60b690141eaa8c736ab06500e6adfc9413c9b7f7.tar.gz
[fc] Use port WWN rather than node WWN as the primary Fibre Channel name
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/fc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/ipxe/fc.h b/src/include/ipxe/fc.h
index a907c4cb7..8dbc19e7f 100644
--- a/src/include/ipxe/fc.h
+++ b/src/include/ipxe/fc.h
@@ -335,8 +335,8 @@ struct fc_peer {
/** List of all peers */
struct list_head list;
- /** Node name */
- struct fc_name node_wwn;
+ /** Port name */
+ struct fc_name port_wwn;
/** Link state monitor */
struct fc_link_state link;
@@ -377,7 +377,7 @@ fc_peer_put ( struct fc_peer *peer ) {
extern struct list_head fc_peers;
-extern struct fc_peer * fc_peer_get_wwn ( const struct fc_name *node_wwn );
+extern struct fc_peer * fc_peer_get_wwn ( const struct fc_name *port_wwn );
extern struct fc_peer *
fc_peer_get_port_id ( struct fc_port *port,
const struct fc_port_id *peer_port_id );
@@ -448,7 +448,7 @@ fc_ulp_put ( struct fc_ulp *ulp ) {
ref_put ( &ulp->refcnt );
}
-extern struct fc_ulp * fc_ulp_get_wwn_type ( const struct fc_name *node_wwn,
+extern struct fc_ulp * fc_ulp_get_wwn_type ( const struct fc_name *port_wwn,
unsigned int type );
extern struct fc_ulp *
fc_ulp_get_port_id_type ( struct fc_port *port,