miss to add field "ControllerIndex" in drive.py

Changes are from:
f107bd2795 (64105) Fix raid drive parameter

Change-Id: I6097e14e62db83a86e4e31ff9cca8e587f252614
This commit is contained in:
luyf5 2021-09-18 14:38:52 +08:00
parent 14406a15a8
commit 5f58618c3b

View File

@ -43,6 +43,7 @@ drive_fields = (
0x04: "12.0 Gb/s" 0x04: "12.0 Gb/s"
}), }),
inventory.EntryField("SlotNumber", "B"), inventory.EntryField("SlotNumber", "B"),
inventory.EntryField("ControllerIndex", "B"),
inventory.EntryField("DeviceState", "B", mapper={ inventory.EntryField("DeviceState", "B", mapper={
0x00: "active", 0x00: "active",
0x01: "stopped", 0x01: "stopped",