From: Michael S. Tsirkin Date: Sun, 3 May 2009 07:13:09 +0000 (+0300) Subject: Make MSI-X table size match the spec X-Git-Tag: v3.1.3~15 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=ab12e4bedabac94df97f8be36acdc909b27f056a;p=pciutils.git Make MSI-X table size match the spec MSI-X table size is 11 bits, not 10. See also PCI_MSIX_FLAGS_QSIZE in linux/pci_regs.h. Make PCI_MSIX_TABSIZE match that. Signed-off-by: Michael S. Tsirkin --- diff --git a/lib/header.h b/lib/header.h index ad8bce6..ec34f44 100644 --- a/lib/header.h +++ b/lib/header.h @@ -862,7 +862,7 @@ /* MSI-X */ #define PCI_MSIX_ENABLE 0x8000 #define PCI_MSIX_MASK 0x4000 -#define PCI_MSIX_TABSIZE 0x03ff +#define PCI_MSIX_TABSIZE 0x07ff #define PCI_MSIX_TABLE 4 #define PCI_MSIX_PBA 8 #define PCI_MSIX_BIR 0x7