diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2011-08-04 20:38:49 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-27 10:35:46 -0400 |
commit | d834895c41d34b64a1923fa631e6a64f763ed31c (patch) | |
tree | 94a3311fed06686b4e327c894fdd1dce78b69cd9 /include/scsi | |
parent | 3f8744d147375aca902de7a9f2632a89872565f4 (diff) |
[SCSI] fcoe: Move common functions to fcoe_transport library
Export fcoe_get_wwn, fcoe_validate_vport_create and fcoe_wwn_to_str so that all
LLDs can use these common function.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfcoe.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h index 8c1638b8c28e..0b2f84304f34 100644 --- a/include/scsi/libfcoe.h +++ b/include/scsi/libfcoe.h | |||
@@ -229,6 +229,9 @@ int fcoe_libfc_config(struct fc_lport *, struct fcoe_ctlr *, | |||
229 | const struct libfc_function_template *, int init_fcp); | 229 | const struct libfc_function_template *, int init_fcp); |
230 | u32 fcoe_fc_crc(struct fc_frame *fp); | 230 | u32 fcoe_fc_crc(struct fc_frame *fp); |
231 | int fcoe_start_io(struct sk_buff *skb); | 231 | int fcoe_start_io(struct sk_buff *skb); |
232 | int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type); | ||
233 | void fcoe_wwn_to_str(u64 wwn, char *buf, int len); | ||
234 | int fcoe_validate_vport_create(struct fc_vport *vport); | ||
232 | 235 | ||
233 | /** | 236 | /** |
234 | * is_fip_mode() - returns true if FIP mode selected. | 237 | * is_fip_mode() - returns true if FIP mode selected. |