Skip to content

Commit 866032a

Browse files
akiyanodavem330
authored andcommitted
net: ena: add reserved PCI device ID
Add a reserved PCI device ID to the driver's table Used for internal testing purposes. Signed-off-by: Arthur Kiyanovski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 1e5ae35 commit 866032a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/net/ethernet/amazon/ena/ena_pci_id_tbl.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,15 @@
5353
#define PCI_DEV_ID_ENA_LLQ_VF 0xec21
5454
#endif
5555

56+
#ifndef PCI_DEV_ID_ENA_RESRV0
57+
#define PCI_DEV_ID_ENA_RESRV0 0x0051
58+
#endif
59+
5660
#define ENA_PCI_ID_TABLE_ENTRY(devid) \
5761
{PCI_DEVICE(PCI_VENDOR_ID_AMAZON, devid)},
5862

5963
static const struct pci_device_id ena_pci_tbl[] = {
64+
ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_RESRV0)
6065
ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_PF)
6166
ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_LLQ_PF)
6267
ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_VF)

0 commit comments

Comments
 (0)