0001
0002
0003
0004
0005
0006 #ifndef ENA_PCI_ID_TBL_H_
0007 #define ENA_PCI_ID_TBL_H_
0008
0009 #ifndef PCI_VENDOR_ID_AMAZON
0010 #define PCI_VENDOR_ID_AMAZON 0x1d0f
0011 #endif
0012
0013 #ifndef PCI_DEV_ID_ENA_PF
0014 #define PCI_DEV_ID_ENA_PF 0x0ec2
0015 #endif
0016
0017 #ifndef PCI_DEV_ID_ENA_LLQ_PF
0018 #define PCI_DEV_ID_ENA_LLQ_PF 0x1ec2
0019 #endif
0020
0021 #ifndef PCI_DEV_ID_ENA_VF
0022 #define PCI_DEV_ID_ENA_VF 0xec20
0023 #endif
0024
0025 #ifndef PCI_DEV_ID_ENA_LLQ_VF
0026 #define PCI_DEV_ID_ENA_LLQ_VF 0xec21
0027 #endif
0028
0029 #ifndef PCI_DEV_ID_ENA_RESRV0
0030 #define PCI_DEV_ID_ENA_RESRV0 0x0051
0031 #endif
0032
0033 #define ENA_PCI_ID_TABLE_ENTRY(devid) \
0034 {PCI_DEVICE(PCI_VENDOR_ID_AMAZON, devid)},
0035
0036 static const struct pci_device_id ena_pci_tbl[] = {
0037 ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_RESRV0)
0038 ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_PF)
0039 ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_LLQ_PF)
0040 ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_VF)
0041 ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_LLQ_VF)
0042 { }
0043 };
0044
0045 #endif