From fb2fedc0ed603054296778ab5f7b63deb4f33940 Mon Sep 17 00:00:00 2001 From: BenReed161 Date: Wed, 26 Aug 2026 15:25:04 -0700 Subject: [PATCH] Add Gen7 Device Ids Added support for the following switchtec device IDs: 0x7464 PM74064 Switchtec PSX 64xG7 Programmable PCIe Switch 0x7460 PM74160 Switchtec PSX 160xG7 Programmable PCIe Switch 0x7448 PM74048 Switchtec PSX 48xG7 Programmable PCIe Switch 0x7444 PM74144 Switchtec PSX 144xG7 Programmable PCIe Switch 0x7264 PM72064 Switchtec PFX 64xG7 Fanout PCIe Switch 0x7260 PM72160 Switchtec PFX 160xG7 Fanout PCIe Switch 0x7248 PM72048 Switchtec PFX 48xG7 Fanout PCIe Switch 0x7244 PM72144 Switchtec PFX 144xG7 Fanout PCIe Switch 0x7164 PM71064 Switchtec PSXs 64xG7 Secure-capable Programmable PCIe Switch 0x7160 PM71160 Switchtec PSXs 160xG7 Secure-capable Programmable PCIe Switch 0x7148 PM71048 Switchtec PSXs 48xG7 Secure-capable Programmable PCIe Switch 0x7144 PM71144 Switchtec PSXs 144xG7 Secure-capable Programmable PCIe Switch 0x7064 PM70064 Switchtec PFXs 64xG7 Secure-capable Fanout PCIe Switch 0x7060 PM70160 Switchtec PFXs 160xG7 Secure-capable Fanout PCIe Switch 0x7048 PM70048 Switchtec PFXs 48xG7 Secure-capable Fanout PCIe Switch 0x7044 PM70144 Switchtec PFXs 144xG7 Secure-capable Fanout PCIe Switch --- linux/switchtec.h | 1 + switchtec.c | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/linux/switchtec.h b/linux/switchtec.h index bd03e2c..c367fb0 100644 --- a/linux/switchtec.h +++ b/linux/switchtec.h @@ -52,6 +52,7 @@ enum switchtec_gen { SWITCHTEC_GEN4, SWITCHTEC_GEN5, SWITCHTEC_GEN6, + SWITCHTEC_GEN7, }; struct mrpc_regs { diff --git a/switchtec.c b/switchtec.c index 3acf8f0..76c382c 100644 --- a/switchtec.c +++ b/switchtec.c @@ -1991,6 +1991,22 @@ static const struct pci_device_id switchtec_pci_tbl[] = { SWITCHTEC_PCI_DEVICE(0x6364, SWITCHTEC_GEN6), /* PSX 64XG6 */ SWITCHTEC_PCI_DEVICE(0x6344, SWITCHTEC_GEN6), /* PSX 144XG6 */ SWITCHTEC_PCI_DEVICE(0x6360, SWITCHTEC_GEN6), /* PSX 160XG6 */ + SWITCHTEC_PCI_DEVICE(0x7048, SWITCHTEC_GEN7), /* PFXs 48XG7 */ + SWITCHTEC_PCI_DEVICE(0x7064, SWITCHTEC_GEN7), /* PFXs 64XG7 */ + SWITCHTEC_PCI_DEVICE(0x7044, SWITCHTEC_GEN7), /* PFXs 144XG7 */ + SWITCHTEC_PCI_DEVICE(0x7060, SWITCHTEC_GEN7), /* PFXs 160XG7 */ + SWITCHTEC_PCI_DEVICE(0x7148, SWITCHTEC_GEN7), /* PSXs 48XG7 */ + SWITCHTEC_PCI_DEVICE(0x7164, SWITCHTEC_GEN7), /* PSXs 64XG7 */ + SWITCHTEC_PCI_DEVICE(0x7144, SWITCHTEC_GEN7), /* PSXs 144XG7 */ + SWITCHTEC_PCI_DEVICE(0x7160, SWITCHTEC_GEN7), /* PSXs 160XG7 */ + SWITCHTEC_PCI_DEVICE(0x7248, SWITCHTEC_GEN7), /* PFX 48XG7 */ + SWITCHTEC_PCI_DEVICE(0x7264, SWITCHTEC_GEN7), /* PFX 64XG7 */ + SWITCHTEC_PCI_DEVICE(0x7244, SWITCHTEC_GEN7), /* PFX 144XG7 */ + SWITCHTEC_PCI_DEVICE(0x7260, SWITCHTEC_GEN7), /* PFX 160XG7 */ + SWITCHTEC_PCI_DEVICE(0x7448, SWITCHTEC_GEN7), /* PSX 48XG7 */ + SWITCHTEC_PCI_DEVICE(0x7464, SWITCHTEC_GEN7), /* PFX 64XG7 */ + SWITCHTEC_PCI_DEVICE(0x7444, SWITCHTEC_GEN7), /* PFX 144XG7 */ + SWITCHTEC_PCI_DEVICE(0x7460, SWITCHTEC_GEN7), /* PFX 160XG7 */ SWITCHTEC_PCI100X_DEVICE(0x1001, SWITCHTEC_GEN4), /* PCI1001 16XG4 */ SWITCHTEC_PCI100X_DEVICE(0x1002, SWITCHTEC_GEN4), /* PCI1002 12XG4 */ SWITCHTEC_PCI100X_DEVICE(0x1003, SWITCHTEC_GEN4), /* PCI1003 16XG4 */