aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/switchtec.h
diff options
context:
space:
mode:
authorDoug Meyer <dmeyer@gigaio.com>2018-05-23 13:18:05 -0700
committerBjorn Helgaas <bhelgaas@google.com>2018-06-29 20:16:44 -0500
commitcfdfc14e7fb8ae77290e9d5afaeecc0a234a3846 (patch)
tree31f4479c396f95dea770e8e3992fdc8abaa65342 /include/linux/switchtec.h
parentLinux 4.18-rc1 (diff)
downloadwireguard-linux-cfdfc14e7fb8ae77290e9d5afaeecc0a234a3846.tar.xz
wireguard-linux-cfdfc14e7fb8ae77290e9d5afaeecc0a234a3846.zip
switchtec: Use generic PCI Vendor ID and Class Code
Move the Microsemi Switchtec PCI Vendor ID (same as PCI_VENDOR_ID_PMC_Sierra) to pci_ids.h. Also, replace Microsemi class constants with the standard PCI definitions. Signed-off-by: Doug Meyer <dmeyer@gigaio.com> [bhelgaas: restore SPDX (I assume it was removed by mistake), remove device ID definitions] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Diffstat (limited to 'include/linux/switchtec.h')
-rw-r--r--include/linux/switchtec.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/switchtec.h b/include/linux/switchtec.h
index ec93e93371fa..ab400af6f0ce 100644
--- a/include/linux/switchtec.h
+++ b/include/linux/switchtec.h
@@ -19,10 +19,6 @@
#include <linux/pci.h>
#include <linux/cdev.h>
-#define MICROSEMI_VENDOR_ID 0x11f8
-#define MICROSEMI_NTB_CLASSCODE 0x068000
-#define MICROSEMI_MGMT_CLASSCODE 0x058000
-
#define SWITCHTEC_MRPC_PAYLOAD_SIZE 1024
#define SWITCHTEC_MAX_PFF_CSR 48