|
| 1 | +From 04b59019d4b356036f196c8728abd17bc6a88e18 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Josua Mayer <josua@solid-run.com> |
| 3 | +Date: Sun, 17 May 2026 17:32:14 +0200 |
| 4 | +Subject: [PATCH 12/15] lx2160acex7: clearfog-cx: switch sfp port macs to |
| 5 | + backplane mode |
| 6 | + |
| 7 | +Mac types for DPC are misleading, what it really tells is how much |
| 8 | +autonomous management is performed by the MC firmware. |
| 9 | + |
| 10 | +Change type for all SFP ports to backplane, to ensure Linux does all the |
| 11 | +management of serdes lanes and pcs. |
| 12 | + |
| 13 | +Signed-off-by: Josua Mayer <josua@solid-run.com> |
| 14 | +--- |
| 15 | + .../LX2160A-CEX7/clearfog-cx-s1_20-s2_0-dpc.dts | 8 ++++---- |
| 16 | + .../LX2160A-CEX7/clearfog-cx-s1_8-s2_0-dpc.dts | 16 ++++++++-------- |
| 17 | + 2 files changed, 12 insertions(+), 12 deletions(-) |
| 18 | + |
| 19 | +diff --git a/config/lx2160a/LX2160A-CEX7/clearfog-cx-s1_20-s2_0-dpc.dts b/config/lx2160a/LX2160A-CEX7/clearfog-cx-s1_20-s2_0-dpc.dts |
| 20 | +index 42394d9..633bbe4 100644 |
| 21 | +--- a/config/lx2160a/LX2160A-CEX7/clearfog-cx-s1_20-s2_0-dpc.dts |
| 22 | ++++ b/config/lx2160a/LX2160A-CEX7/clearfog-cx-s1_20-s2_0-dpc.dts |
| 23 | +@@ -73,19 +73,19 @@ |
| 24 | + }; |
| 25 | + |
| 26 | + mac@7 { |
| 27 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 28 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 29 | + }; |
| 30 | + |
| 31 | + mac@8 { |
| 32 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 33 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 34 | + }; |
| 35 | + |
| 36 | + mac@9 { |
| 37 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 38 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 39 | + }; |
| 40 | + |
| 41 | + mac@10 { |
| 42 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 43 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 44 | + }; |
| 45 | + |
| 46 | + mac@17 { |
| 47 | +diff --git a/config/lx2160a/LX2160A-CEX7/clearfog-cx-s1_8-s2_0-dpc.dts b/config/lx2160a/LX2160A-CEX7/clearfog-cx-s1_8-s2_0-dpc.dts |
| 48 | +index 6b5277b..11b99f3 100644 |
| 49 | +--- a/config/lx2160a/LX2160A-CEX7/clearfog-cx-s1_8-s2_0-dpc.dts |
| 50 | ++++ b/config/lx2160a/LX2160A-CEX7/clearfog-cx-s1_8-s2_0-dpc.dts |
| 51 | +@@ -69,35 +69,35 @@ |
| 52 | + board_info { |
| 53 | + ports { |
| 54 | + mac@3 { |
| 55 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 56 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 57 | + }; |
| 58 | + |
| 59 | + mac@4 { |
| 60 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 61 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 62 | + }; |
| 63 | + |
| 64 | + mac@5 { |
| 65 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 66 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 67 | + }; |
| 68 | + |
| 69 | + mac@6 { |
| 70 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 71 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 72 | + }; |
| 73 | + |
| 74 | + mac@7 { |
| 75 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 76 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 77 | + }; |
| 78 | + |
| 79 | + mac@8 { |
| 80 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 81 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 82 | + }; |
| 83 | + |
| 84 | + mac@9 { |
| 85 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 86 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 87 | + }; |
| 88 | + |
| 89 | + mac@10 { |
| 90 | +- link_type = "MAC_LINK_TYPE_PHY"; |
| 91 | ++ link_type = "MAC_LINK_TYPE_BACKPLANE"; |
| 92 | + }; |
| 93 | + |
| 94 | + mac@17 { |
| 95 | +-- |
| 96 | +2.51.0 |
| 97 | + |
0 commit comments