diff options
| author | Murthy Bhat <[email protected]> | 2021-03-11 14:17:37 -0600 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-04-05 23:02:32 -0400 |
| commit | d0cba99fd7a3781a78f751cfd4f4e3ff4d0b1ea3 (patch) | |
| tree | 1e0f136212680a93512f631895df496e6720dde3 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 18ff5f0877be9bf45079691939d2ff7af6e437ae (diff) | |
scsi: smartpqi: Update enclosure identifier in sysfs
Update enclosure identifier field corresponding to physical devices in
lsscsi/sysfs.
During device add the SCSI devtype is filled in during slave_configure().
However, when pqi_scsi_update_device() runs (REGNEWD) the firmware returns
zero for the SCSI devtype field, and valid devtype is overwritten by
zero. Due to this, lsscsi output shows wrong values.
Link: https://lore.kernel.org/r/161549385708.25025.17234953506918043750.stgit@brunhilda
Reviewed-by: Scott Benesh <[email protected]>
Reviewed-by: Mike McGowen <[email protected]>
Reviewed-by: Scott Teel <[email protected]>
Reviewed-by: Kevin Barnett <[email protected]>
Signed-off-by: Murthy Bhat <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions