diff options
| author | Michael Brown | 2010-11-27 15:37:53 +0100 |
|---|---|---|
| committer | Michael Brown | 2010-11-27 15:37:53 +0100 |
| commit | 1415ec9c9a51ff7cbbb9413b712f768514212980 (patch) | |
| tree | 1647163c9c67a667149337c18bf71656b6a46507 /src/include | |
| parent | [fcoe] Create Fibre Channel port only when we have selected an FCF (diff) | |
| download | ipxe-1415ec9c9a51ff7cbbb9413b712f768514212980.tar.gz ipxe-1415ec9c9a51ff7cbbb9413b712f768514212980.tar.xz ipxe-1415ec9c9a51ff7cbbb9413b712f768514212980.zip | |
[fc] Allow Fibre Channel ports to be explicitly named
Use the network interface name as the Fibre Channel port name.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ipxe/fc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ipxe/fc.h b/src/include/ipxe/fc.h index 3a80d56c9..ab6b5bae7 100644 --- a/src/include/ipxe/fc.h +++ b/src/include/ipxe/fc.h @@ -325,7 +325,8 @@ extern int fc_port_login ( struct fc_port *port, struct fc_port_id *port_id, extern void fc_port_logout ( struct fc_port *port, int rc ); extern int fc_port_open ( struct interface *transport, const struct fc_name *node_wwn, - const struct fc_name *port_wwn ); + const struct fc_name *port_wwn, + const char *name ); extern struct fc_port * fc_port_find ( const char *name ); /****************************************************************************** |
