pcie: use newly introduced IDs define for MSI/MSI-X

Remove the locally MSI/MSI-X capabilities ID define and use the
newly introduced one from the PCI Code and ID Assignment
Specification Revision 1.11 document header.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2021-08-31 10:03:53 +02:00 committed by Anas Nashif
commit 95315239d8
3 changed files with 10 additions and 15 deletions

View file

@ -109,13 +109,6 @@ extern bool pcie_msi_enable(pcie_bdf_t bdf,
uint8_t n_vector,
unsigned int irq);
/*
* MSI capability IDs in the PCI configuration capability list.
*/
#define PCIE_MSI_CAP_ID 0x05U
#define PCIE_MSIX_CAP_ID 0x11U
/*
* The first word of the MSI capability is shared with the
* capability ID and list link. The high 16 bits are the MCR.