From: Wilfred Mallawa Date: Tue, 18 Jul 2023 08:50:28 +0000 (+1000) Subject: lib: fixup DOE status register bit X-Git-Tag: v3.11.0~94^2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=2e05a86bf0c9d3d383f93517581395a1d2f17b6f;p=pciutils.git lib: fixup DOE status register bit The error bit is specified by the 2nd (zero indexed) bit in the status register, so the respective bit value is 4 (PCI Base Spec 6.0.1). Let's fix that up. Signed-off-by: Wilfred Mallawa --- diff --git a/lib/header.h b/lib/header.h index e146a56..5ab606f 100644 --- a/lib/header.h +++ b/lib/header.h @@ -1391,7 +1391,7 @@ #define PCI_DOE_STS 0xC /* DOE Status Register */ #define PCI_DOE_STS_BUSY 0x1 /* DOE Busy */ #define PCI_DOE_STS_INT 0x2 /* DOE Interrupt Status */ -#define PCI_DOE_STS_ERROR 0x3 /* DOE Error */ +#define PCI_DOE_STS_ERROR 0x4 /* DOE Error */ #define PCI_DOE_STS_OBJECT_READY 0x80000000 /* Data Object Ready */ /*