]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
net: ena: add reserved PCI device ID
authorArthur Kiyanovski <akiyano@amazon.com>
Tue, 21 Jul 2020 13:38:05 +0000 (16:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 22:59:04 +0000 (15:59 -0700)
Add a reserved PCI device ID to the driver's table
Used for internal testing purposes.

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_pci_id_tbl.h

index f80d2a47fa94a54e73b6e9a9bc13ff183d719080..426e57e10a7f0317164bfc2bb4efc79a83cdc0b4 100644 (file)
 #define PCI_DEV_ID_ENA_LLQ_VF  0xec21
 #endif
 
+#ifndef PCI_DEV_ID_ENA_RESRV0
+#define PCI_DEV_ID_ENA_RESRV0  0x0051
+#endif
+
 #define ENA_PCI_ID_TABLE_ENTRY(devid) \
        {PCI_DEVICE(PCI_VENDOR_ID_AMAZON, devid)},
 
 static const struct pci_device_id ena_pci_tbl[] = {
+       ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_RESRV0)
        ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_PF)
        ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_LLQ_PF)
        ENA_PCI_ID_TABLE_ENTRY(PCI_DEV_ID_ENA_VF)