1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved.
6 #ifndef ENA_PCI_ID_TBL_H_
7 #define ENA_PCI_ID_TBL_H_
9 #ifndef PCI_VENDOR_ID_AMAZON
10 #define PCI_VENDOR_ID_AMAZON 0x1d0f
13 #ifndef PCI_DEV_ID_ENA_PF
14 #define PCI_DEV_ID_ENA_PF 0x0ec2
17 #ifndef PCI_DEV_ID_ENA_LLQ_PF
18 #define PCI_DEV_ID_ENA_LLQ_PF 0x1ec2
21 #ifndef PCI_DEV_ID_ENA_VF
22 #define PCI_DEV_ID_ENA_VF 0xec20
25 #ifndef PCI_DEV_ID_ENA_LLQ_VF
26 #define PCI_DEV_ID_ENA_LLQ_VF 0xec21
29 #ifndef PCI_DEV_ID_ENA_RESRV0
30 #define PCI_DEV_ID_ENA_RESRV0 0x0051
33 #define ENA_PCI_ID_TABLE_ENTRY(devid) \
34 {PCI_DEVICE(PCI_VENDOR_ID_AMAZON, devid)},
36 static const struct pci_device_id ena_pci_tbl
[] = {
37 ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_RESRV0
)
38 ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_PF
)
39 ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_LLQ_PF
)
40 ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_VF
)
41 ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_LLQ_VF
)
45 #endif /* ENA_PCI_ID_TBL_H_ */