Log insertion/removal of all Hard Disk Drives

Insertion and removal events were only being logged for NVMe
drives. The D-Bus event system could only be enabled for NVMe
drives. The D-Bus method allowed the NVMe serial number to be added to
the insertion/removal event. SAS/SATA insertion/removal was not
detected. The only time SAS/SATA drives were detected was during HSPB
power on.

The changes here log the insertion and removal of all drives.

Tested:
Created an in code temporary test that toggled the Drive 1 Present bit
during every UpdateDrives call. This was done because physically
inserting/removing the drive is impractical.
Confirmed after each toggle there was a journal event for "Iventory
Added" and "Inventory Removed", and that the extended data included
the drive number.

Change-Id: I48ce1e0dc15cf8a42a498bf8dbe93a88ebd30a58
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
1 file changed
tree: b65bd11bc30bea43f70a58c640792770819d88ff
  1. callback-manager/
  2. hsbp-manager/
  3. .gitignore
  4. CMakeLists.txt
  5. LICENSE
  6. MAINTAINERS
  7. README.md
README.md

s2600wf-misc