Some of the attributes handling routines in fc_lport.c
do not have header comments like the other routines.
This patch is to add the header comments to those routines.
Signed-off-by: Steve Ma <[EMAIL PROTECTED]>
---
drivers/scsi/libfc/fc_lport.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c
index d6136ee..7264b9b 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -180,6 +180,10 @@ static void fc_lport_ptp_setup(struct fc_lport *lport,
fc_lport_enter_ready(lport);
}
+/**
+ * fc_get_host_port_type - supports fc_function_template
+ * @shost: The host whose port type should be returned
+ */
void fc_get_host_port_type(struct Scsi_Host *shost)
{
/* TODO - currently just NPORT */
@@ -202,6 +206,10 @@ void fc_get_host_port_state(struct Scsi_Host *shost)
}
EXPORT_SYMBOL(fc_get_host_port_state);
+/**
+ * fc_get_host_speed - supports fc_function_template
+ * @shost: The host whose port speed should be returned
+ */
void fc_get_host_speed(struct Scsi_Host *shost)
{
struct fc_lport *lport = shost_priv(shost);
@@ -210,6 +218,11 @@ void fc_get_host_speed(struct Scsi_Host *shost)
}
EXPORT_SYMBOL(fc_get_host_speed);
+/**
+ * fc_get_host_stats - supports fc_function_template
+ * @shost: The host whose port statistics and
+ * fc4 statistics should be returned
+ */
struct fc_host_statistics *fc_get_host_stats(struct Scsi_Host *shost)
{
int i;
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel