summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2012-12-06 06:23:58 +0000
committerRobert Love <robert.w.love@intel.com>2012-12-14 10:38:55 -0800
commit03702689fcc985e9cb45b57099ebd5066f674739 (patch)
tree10079124d57a604c30ccfbda79ac697e362391e2 /include/scsi
parent66524ec9d0aeaa8bc59077c7c5f78d09ec9eeb9d (diff)
downloadlinux-03702689fcc985e9cb45b57099ebd5066f674739.tar.gz
linux-03702689fcc985e9cb45b57099ebd5066f674739.tar.bz2
linux-03702689fcc985e9cb45b57099ebd5066f674739.zip
libfcoe, fcoe: move fcoe_link_speed_update() to libfcoe and export it
With the previous patch, fcoe_link_speed_update() can be moved into libfcoe and exported to used by fcoe, bnx2fc, and etc. Signed-off-by: Yi Zou <yi.zou@intel.com> Cc: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Tested-by: Marcus Dennis <marcusx.e.dennis@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/libfcoe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h
index 746bc587ae34..6c59ba7af28a 100644
--- a/include/scsi/libfcoe.h
+++ b/include/scsi/libfcoe.h
@@ -260,6 +260,7 @@ void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb,
struct net_device *netdev);
void fcoe_wwn_to_str(u64 wwn, char *buf, int len);
int fcoe_validate_vport_create(struct fc_vport *vport);
+int fcoe_link_speed_update(struct fc_lport *);
/**
* is_fip_mode() - returns true if FIP mode selected.