WIP FPC-III support
[linux/fpc-iii.git] / drivers / net / ethernet / amazon / ena / ena_pci_id_tbl.h
blob3ecdf29160ca740a40a32aeb57ca98861d7762be
1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /*
3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved.
4 */
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
11 #endif
13 #ifndef PCI_DEV_ID_ENA_PF
14 #define PCI_DEV_ID_ENA_PF 0x0ec2
15 #endif
17 #ifndef PCI_DEV_ID_ENA_LLQ_PF
18 #define PCI_DEV_ID_ENA_LLQ_PF 0x1ec2
19 #endif
21 #ifndef PCI_DEV_ID_ENA_VF
22 #define PCI_DEV_ID_ENA_VF 0xec20
23 #endif
25 #ifndef PCI_DEV_ID_ENA_LLQ_VF
26 #define PCI_DEV_ID_ENA_LLQ_VF 0xec21
27 #endif
29 #ifndef PCI_DEV_ID_ENA_RESRV0
30 #define PCI_DEV_ID_ENA_RESRV0 0x0051
31 #endif
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)
42 { }
45 #endif /* ENA_PCI_ID_TBL_H_ */