[SCSI] fcoe: Allow exposing FDMI attributes via sysfs
authorNeerav Parikh <[email protected]>
Mon, 23 Jan 2012 01:30:16 +0000 (17:30 -0800)
committerJames Bottomley <[email protected]>
Sun, 19 Feb 2012 14:08:58 +0000 (08:08 -0600)
Allow FDMI attributes to be exposed via the fc_host
class object for the fcoe driver.

Signed-off-by: Neerav Parikh <[email protected]>
Tested-by: Ross Brattain <[email protected]>
Acked-by: Robert Love <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
drivers/scsi/fcoe/fcoe.c

index b222e2dd5def5ecfb47af468d7bb094d28843573..5e77f23423db896294e23a0150e94aca886a6d80 100644 (file)
@@ -168,6 +168,14 @@ static struct fc_function_template fcoe_nport_fc_functions = {
        .show_host_supported_fc4s = 1,
        .show_host_active_fc4s = 1,
        .show_host_maxframe_size = 1,
+       .show_host_serial_number = 1,
+       .show_host_manufacturer = 1,
+       .show_host_model = 1,
+       .show_host_model_description = 1,
+       .show_host_hardware_version = 1,
+       .show_host_driver_version = 1,
+       .show_host_firmware_version = 1,
+       .show_host_optionrom_version = 1,
 
        .show_host_port_id = 1,
        .show_host_supported_speeds = 1,