Skip to content

Commit b1226c7

Browse files
Adit Ranadivedledford
authored andcommitted
vmxnet3: Move PCI Id to pci_ids.h
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 <[email protected]> Acked-by: Bjorn Helgaas <[email protected]> Reviewed-by: Yuval Shaia <[email protected]> Signed-off-by: Adit Ranadive <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
1 parent e37a79e commit b1226c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/net/vmxnet3/vmxnet3_int.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,8 @@ enum {
119119
};
120120

121121
/*
122-
* PCI vendor and device IDs.
122+
* Maximum devices supported.
123123
*/
124-
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
125124
#define MAX_ETHERNET_CARDS 10
126125
#define MAX_PCI_PASSTHRU_DEVICE 6
127126

include/linux/pci_ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2251,6 +2251,7 @@
22512251
#define PCI_DEVICE_ID_RASTEL_2PORT 0x2000
22522252

22532253
#define PCI_VENDOR_ID_VMWARE 0x15ad
2254+
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
22542255

22552256
#define PCI_VENDOR_ID_ZOLTRIX 0x15b0
22562257
#define PCI_DEVICE_ID_ZOLTRIX_2BD0 0x2bd0

0 commit comments

Comments
 (0)