Mario Limonciello
2677ec48be
trivial: scsi: fix a segfault with USB SCSI device plugged in
2022-04-04 13:57:42 -05:00
Richard Hughes
53f75b6ab9
trivial: Fix critical warning when vendor is unset for a SCSI device
2022-03-11 15:25:26 +00:00
Richard Hughes
4080ef637e
trivial: Do not show SATA drives as SCSI devices
...
This fixes a regression in c4ca026294
which meant the 'vendor' sysfs attribute wasn't being stripped before
being used as the vendor ID.
2022-03-11 12:33:23 +00:00
Richard Hughes
c4ca026294
Allow devices to build instance IDs more easily
...
Provide a device instance builder that allows plugins to easily
create multiple instance IDs based on parent attributes.
Also fix a lot of the instance ID orders, so that we add more generic
IDs first, and more specific IDs after.
2022-03-03 09:13:29 +00:00
Richard Hughes
a3efbe51f6
scsi: Add a simple plugin to enumerate SCSI hardware
...
We might want this to tag insecure or broken SAS drives, cough.
2022-02-24 17:21:51 +00:00