diff options
author | Neerav Parikh <neerav.parikh@intel.com> | 2012-02-10 20:18:31 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 10:24:20 -0500 |
commit | 7e5adcfb31c26a68b75a249ef1c7f52fc5ec6e1b (patch) | |
tree | 1e0bbbaf58228f898db7b2d0d460ebed30fe9075 /drivers/scsi/fcoe | |
parent | b99fbf6a4e96ecacadf0f4868942774e0d64a648 (diff) |
[SCSI] fcoe: Allow exposing FDMI attributes via sysfs
Allow FDMI attributes to be exposed via the fc_host
class object for the fcoe driver.
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/fcoe')
-rw-r--r-- | 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 5e77f23423db..67f6685de7fd 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -216,6 +216,14 @@ static struct fc_function_template fcoe_vport_fc_functions = { | |||
216 | .show_host_supported_fc4s = 1, | 216 | .show_host_supported_fc4s = 1, |
217 | .show_host_active_fc4s = 1, | 217 | .show_host_active_fc4s = 1, |
218 | .show_host_maxframe_size = 1, | 218 | .show_host_maxframe_size = 1, |
219 | .show_host_serial_number = 1, | ||
220 | .show_host_manufacturer = 1, | ||
221 | .show_host_model = 1, | ||
222 | .show_host_model_description = 1, | ||
223 | .show_host_hardware_version = 1, | ||
224 | .show_host_driver_version = 1, | ||
225 | .show_host_firmware_version = 1, | ||
226 | .show_host_optionrom_version = 1, | ||
219 | 227 | ||
220 | .show_host_port_id = 1, | 228 | .show_host_port_id = 1, |
221 | .show_host_supported_speeds = 1, | 229 | .show_host_supported_speeds = 1, |