Allow FDMI attributes to be exposed via the fc_host
class object for the fcoe driver.

Signed-off-by: Neerav Parikh <neerav.par...@intel.com>
Tested-by: Ross Brattain <ross.b.bratt...@intel.com>
Acked-by: Robert Love <robert.w.l...@intel.com>
---
 drivers/scsi/fcoe/fcoe.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
index b222e2d..5e77f23 100644
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -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,

_______________________________________________
devel mailing list
devel@open-fcoe.org
https://lists.open-fcoe.org/mailman/listinfo/devel

Reply via email to