switchtec: Add sysfs attributes to the Switchtec driver
Add a few read-only sysfs attributes which provide some device information that is exposed from the devices, primarily component and device names and versions. These are documented in Documentation/ABI/testing/sysfs-class-switchtec. Tested-by: NKrishna Dhulipala <krishnad@fb.com> Signed-off-by: NLogan Gunthorpe <logang@deltatee.com> Signed-off-by: NStephen Bates <stephen.bates@microsemi.com> Signed-off-by: NBjorn Helgaas <bhelgaas@google.com> Reviewed-by: NWei Zhang <wzhang@fb.com> Reviewed-by: NJens Axboe <axboe@fb.com> Reviewed-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录