]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
vmxnet3: Move PCI Id to pci_ids.h
authorAdit Ranadive <aditr@vmware.com>
Mon, 3 Oct 2016 02:10:21 +0000 (19:10 -0700)
committerDoug Ledford <dledford@redhat.com>
Sat, 3 Dec 2016 20:38:24 +0000 (15:38 -0500)
The VMXNet3 PCI Id will be shared with our paravirtual RDMA driver.
Moved it to the shared location in pci_ids.h.

Suggested-by: Leon Romanovsky <leon@kernel.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/vmxnet3/vmxnet3_int.h
include/linux/pci_ids.h

index 7dc37a090549f7ff949e7e5c4a8275128689b980..59e077be88290e5ffbd470850f98d1bb762c3f04 100644 (file)
@@ -119,9 +119,8 @@ enum {
 };
 
 /*
- * PCI vendor and device IDs.
+ * Maximum devices supported.
  */
-#define PCI_DEVICE_ID_VMWARE_VMXNET3    0x07B0
 #define MAX_ETHERNET_CARDS             10
 #define MAX_PCI_PASSTHRU_DEVICE                6
 
index c58752fe16c43110b736a0e21fe9a702459d8a34..98bb455302cf768f3efc17ba296a4dd15942d1b0 100644 (file)
 #define PCI_DEVICE_ID_RASTEL_2PORT     0x2000
 
 #define PCI_VENDOR_ID_VMWARE           0x15ad
+#define PCI_DEVICE_ID_VMWARE_VMXNET3   0x07b0
 
 #define PCI_VENDOR_ID_ZOLTRIX          0x15b0
 #define PCI_DEVICE_ID_ZOLTRIX_2BD0     0x2bd0