diff options
author | Francesco Ruggeri <fruggeri@arista.com> | 2014-09-24 13:12:41 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-24 13:52:09 -0400 |
commit | 94e57fea62020dbf6e5d0093eabcd28366e86044 (patch) | |
tree | a1e34adb05df56c48397a5ec5de7cf4a5f3088f8 /drivers/net | |
parent | 63ddc0b8fe5ebbac88e2ac84b489470bf3a22965 (diff) |
PCI: Move PCI_VENDOR_ID_VMWARE to pci_ids.h
Move PCI_VENDOR_ID_VMWARE from device-specific files to pci_ids.h.
It is useful to always have access to it, especially when accessing
subsystem_vendor_id on emulated devices.
[bhelgaas: keep pci_ids.h sorted and use lower-case hex]
Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/vmxnet3/vmxnet3_int.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_int.h b/drivers/net/vmxnet3/vmxnet3_int.h index 29ee77f2c97f..c388ef509d66 100644 --- a/drivers/net/vmxnet3/vmxnet3_int.h +++ b/drivers/net/vmxnet3/vmxnet3_int.h | |||
@@ -117,7 +117,6 @@ enum { | |||
117 | /* | 117 | /* |
118 | * PCI vendor and device IDs. | 118 | * PCI vendor and device IDs. |
119 | */ | 119 | */ |
120 | #define PCI_VENDOR_ID_VMWARE 0x15AD | ||
121 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0 | 120 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0 |
122 | #define MAX_ETHERNET_CARDS 10 | 121 | #define MAX_ETHERNET_CARDS 10 |
123 | #define MAX_PCI_PASSTHRU_DEVICE 6 | 122 | #define MAX_PCI_PASSTHRU_DEVICE 6 |