2
0
mirror of https://opendev.org/x/pyghmi synced 2026-08-28 09:36:43 +00:00

set pci vendorid presence to true

the change is from:
https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/dc5176ec0ffbb88743939faa8ee1a51e7a561665 fix the bug 47217 and issue #10

Change-Id: I2a68e1579a4d32bf11a0193e5b6e76292570f053
This commit is contained in:
luyf5
2021-09-02 13:56:19 +08:00
parent 4febfff5b8
commit 9a7cd7cf97
+1 -1
View File
@@ -30,7 +30,7 @@ pci_fields = (
}),
inventory.EntryField("BusNumber", "B"),
inventory.EntryField("DeviceFunction", "B"),
inventory.EntryField("VendorID", "<H"),
inventory.EntryField("VendorID", "<H", presence=True),
inventory.EntryField("DeviceID", "<H"),
inventory.EntryField("SubSystemVendorID", "<H"),
inventory.EntryField("SubSystemID", "<H"),