]> git.karo-electronics.de Git - linux-beck.git/commitdiff
PCI: Move PCI_VENDOR_ID_VMWARE to pci_ids.h
authorFrancesco Ruggeri <fruggeri@arista.com>
Wed, 24 Sep 2014 17:12:41 +0000 (10:12 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 24 Sep 2014 17:52:09 +0000 (11:52 -0600)
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>
drivers/gpu/drm/vmwgfx/svga_reg.h
drivers/misc/vmw_vmci/vmci_guest.c
drivers/net/vmxnet3/vmxnet3_int.h
drivers/scsi/vmw_pvscsi.h
include/linux/pci_ids.h

index 11323dd5196f495e5f2dd24b388c1720f3b6c1ce..e4259c2c1accdf7114cff9498b093c7afae0807a 100644 (file)
@@ -35,7 +35,6 @@
 /*
  * PCI device IDs.
  */
-#define PCI_VENDOR_ID_VMWARE            0x15AD
 #define PCI_DEVICE_ID_VMWARE_SVGA2      0x0405
 
 /*
index 248399a881af508f537be12283e999d9e318924a..189b325197488d9ed48f1cecc80ddb06ce05e329 100644 (file)
@@ -35,7 +35,6 @@
 #include "vmci_driver.h"
 #include "vmci_event.h"
 
-#define PCI_VENDOR_ID_VMWARE           0x15AD
 #define PCI_DEVICE_ID_VMWARE_VMCI      0x0740
 
 #define VMCI_UTIL_NUM_RESOURCES 1
index 29ee77f2c97f3cc0e27e2985751297e3fbf01f90..c388ef509d6652a0ec7dffcf30b3046e7ab9b22b 100644 (file)
@@ -117,7 +117,6 @@ enum {
 /*
  * PCI vendor and device IDs.
  */
-#define PCI_VENDOR_ID_VMWARE            0x15AD
 #define PCI_DEVICE_ID_VMWARE_VMXNET3    0x07B0
 #define MAX_ETHERNET_CARDS             10
 #define MAX_PCI_PASSTHRU_DEVICE                6
index ce458885127457ac88653ae47ba9553bfd9ea6c8..ee16f0c5c47d06acb040561859e4fe62e1ed0111 100644 (file)
@@ -32,7 +32,6 @@
 
 #define MASK(n)        ((1 << (n)) - 1)        /* make an n-bit mask */
 
-#define PCI_VENDOR_ID_VMWARE           0x15AD
 #define PCI_DEVICE_ID_VMWARE_PVSCSI    0x07C0
 
 /*
index 6ed0bb73a8645d941be32a368060ad7f11abea57..da9e6f75319643e1e68d8da05eb9ee574fcc76af 100644 (file)
 #define PCI_VENDOR_ID_MORETON          0x15aa
 #define PCI_DEVICE_ID_RASTEL_2PORT     0x2000
 
+#define PCI_VENDOR_ID_VMWARE           0x15ad
+
 #define PCI_VENDOR_ID_ZOLTRIX          0x15b0
 #define PCI_DEVICE_ID_ZOLTRIX_2BD0     0x2bd0