projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d87b6
)
RDMA/efa: Add EFA 0xefa1 PCI ID
author
Gal Pressman
<galpress@amazon.com>
Wed, 22 Jul 2020 14:03:12 +0000
(17:03 +0300)
committer
Jason Gunthorpe
<jgg@nvidia.com>
Wed, 29 Jul 2020 12:23:40 +0000
(09:23 -0300)
Add support for 0xefa1 devices.
Link:
https://lore.kernel.org/r/20200722140312.3651-5-galpress@amazon.com
Reviewed-by: Shadi Ammouri <sammouri@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/efa/efa_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/efa/efa_main.c
b/drivers/infiniband/hw/efa/efa_main.c
index 82145574c9286cb7da13a8b7ce99e31b4a4ff6f5..92d7011463203cef205f7f4b7ca2e1bd1ddc6b96 100644
(file)
--- a/
drivers/infiniband/hw/efa/efa_main.c
+++ b/
drivers/infiniband/hw/efa/efa_main.c
@@
-12,10
+12,12
@@
#include "efa.h"
-#define PCI_DEV_ID_EFA_VF 0xefa0
+#define PCI_DEV_ID_EFA0_VF 0xefa0
+#define PCI_DEV_ID_EFA1_VF 0xefa1
static const struct pci_device_id efa_pci_tbl[] = {
- { PCI_VDEVICE(AMAZON, PCI_DEV_ID_EFA_VF) },
+ { PCI_VDEVICE(AMAZON, PCI_DEV_ID_EFA0_VF) },
+ { PCI_VDEVICE(AMAZON, PCI_DEV_ID_EFA1_VF) },
{ }
};