]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: target: add device vendor id, product id and revision configfs attributes
authorAlan Adamson <alan.adamson@oracle.com>
Fri, 29 Mar 2019 18:01:30 +0000 (11:01 -0700)
committerBrian Maly <brian.maly@oracle.com>
Tue, 9 Apr 2019 22:22:22 +0000 (18:22 -0400)
commit94b45cfa32067d37e034e23c79eaabf886dde1c0
treee15dccc31a881b890868cdd2202a35ae7eece874
parentd85e31b03db1b914e30d56e991e8a276998f6e67
scsi: target: add device vendor id, product id and revision configfs attributes

The vendor_id, 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/vendor_id
target/core/$backstore/$name/wwn/product_id
target/core/$backstore/$name/wwn/revision

Orabug: 29344862

Signed-off-by: Alan Adamson <alan.adamson@oracle.com>
Reviewed-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/target/target_core_configfs.c