From: Yu Zhao Date: Tue, 1 Jan 2002 19:31:58 +0000 (+0800) Subject: Fix ATS capability error in lspci X-Git-Tag: v3.1-alpha3~4 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c32a6d2d4ef1f9b9b599bd64789a7f57c5c0cb34;p=pciutils.git Fix ATS capability error in lspci Fix the wrong position of the ATS enable bit. Signed-off-by: Yu Zhao --- diff --git a/lib/header.h b/lib/header.h index 23e0a80..24b569e 100644 --- a/lib/header.h +++ b/lib/header.h @@ -966,7 +966,7 @@ #define PCI_ATS_CAP_IQD(x) ((x) & 0x1f) /* Invalidate Queue Depth */ #define PCI_ATS_CTRL 0x06 /* ATS Control Register */ #define PCI_ATS_CTRL_STU(x) ((x) & 0x1f) /* Smallest Translation Unit */ -#define PCI_ATS_CTRL_ENABLE 0x80 /* ATS Enable */ +#define PCI_ATS_CTRL_ENABLE 0x8000 /* ATS Enable */ /* Single Root I/O Virtualization */ #define PCI_IOV_CAP 0x04 /* SR-IOV Capability Register */