]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: target: Add device product id and revision configfs attributes
authorAlan Adamson <alan.adamson@oracle.com>
Fri, 1 Mar 2019 22:44:20 +0000 (14:44 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 18 Mar 2019 21:01:10 +0000 (17:01 -0400)
commit439ea85f4b6cd40b48dd2bd346e1aca5ee64eb6f
tree3627e89e0f384946bff363767ec4c3c903d7f7df
parent9ba3925b20a448d9cde1758846f764b6893fb502
scsi: target: Add device product id and revision configfs attributes

The product_id and revision attributes will allow for the modification of
the T10 Model and Revision strings returned in inquiry responses.  Its
value can be viewed and modified via the ConfigFS path at:

target/core/$backstore/$name/wwn/product_id
target/core/$backstore/$name/wwn/revision

[mkp: dropped parentheses as requested by Bart]

Signed-off-by: Alan Adamson <alan.adamson@oracle.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_configfs.c