[SCSI] ibmvfc: Show host maxframe_size
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 20 Mar 2009 20:44:38 +0000 (15:44 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Apr 2009 14:22:43 +0000 (09:22 -0500)
Set show_host_maxframe_size so that maxframe_size gets exported in
sysfs for the host.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ibmvscsi/ibmvfc.c

index f0bf102..0ac2ded 100644 (file)
@@ -4195,6 +4195,7 @@ static struct fc_function_template ibmvfc_transport_functions = {
        .show_host_supported_classes = 1,
        .show_host_port_type = 1,
        .show_host_port_id = 1,
+       .show_host_maxframe_size = 1,
 
        .get_host_port_state = ibmvfc_get_host_port_state,
        .show_host_port_state = 1,