summaryrefslogtreecommitdiff
path: root/include/linux/switchtec.h
diff options
context:
space:
mode:
authorKelvin Cao <kelvin.cao@microchip.com>2023-06-24 03:00:03 +0300
committerBjorn Helgaas <bhelgaas@google.com>2023-08-09 22:16:44 +0300
commit0fb53e64705ae0fabd9593102e0f0e6812968802 (patch)
tree8747ff6b15a552f14e521d23153df84c5d27ed89 /include/linux/switchtec.h
parent846691f5483d61259db2f4d6a3dce8b98d518794 (diff)
downloadlinux-0fb53e64705ae0fabd9593102e0f0e6812968802.tar.xz
PCI: switchtec: Add support for PCIe Gen5 devices
Advertise support of Gen5 devices in the driver's device ID table and add the same IDs for the switchtec quirks. Also update driver code to accommodate them. Link: https://lore.kernel.org/r/20230624000003.2315364-3-kelvin.cao@microchip.com Signed-off-by: Kelvin Cao <kelvin.cao@microchip.com> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/switchtec.h b/include/linux/switchtec.h
index 48fabe36509e..8d8fac1626bd 100644
--- a/include/linux/switchtec.h
+++ b/include/linux/switchtec.h
@@ -41,6 +41,7 @@ enum {
enum switchtec_gen {
SWITCHTEC_GEN3,
SWITCHTEC_GEN4,
+ SWITCHTEC_GEN5,
};
struct mrpc_regs {