]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
Fix ATS capability error in lspci
authorYu Zhao <yu.zhao@intel.com>
Tue, 1 Jan 2002 19:31:58 +0000 (03:31 +0800)
committerMartin Mares <mj@ucw.cz>
Fri, 12 Dec 2008 22:49:28 +0000 (23:49 +0100)
Fix the wrong position of the ATS enable bit.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
lib/header.h

index 23e0a80ba787cba520bbd16694037cd0801cb260..24b569e16c3e75deab4baa4a35b564253346cfd8 100644 (file)
 #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 */