]> mj.ucw.cz Git - pciutils.git/commitdiff
Make MSI-X table size match the spec
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 3 May 2009 07:13:09 +0000 (10:13 +0300)
committerMartin Mares <mj@ucw.cz>
Sun, 3 May 2009 08:31:28 +0000 (10:31 +0200)
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 <mst@redhat.com>
lib/header.h

index ad8bce6f4548bafbb7d54462a22c6e600afa86d6..ec34f44d710ab628e3cb3390bbbbf238187e7e6f 100644 (file)
 /* 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