diff options
Diffstat (limited to 'target/linux/bcm4908/patches-5.10/075-v5.13-0004-net-dsa-bcm_sf2-add-function-finding-RGMII-register.patch')
-rw-r--r-- | target/linux/bcm4908/patches-5.10/075-v5.13-0004-net-dsa-bcm_sf2-add-function-finding-RGMII-register.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/bcm4908/patches-5.10/075-v5.13-0004-net-dsa-bcm_sf2-add-function-finding-RGMII-register.patch b/target/linux/bcm4908/patches-5.10/075-v5.13-0004-net-dsa-bcm_sf2-add-function-finding-RGMII-register.patch index 52387776b5..132a734ac4 100644 --- a/target/linux/bcm4908/patches-5.10/075-v5.13-0004-net-dsa-bcm_sf2-add-function-finding-RGMII-register.patch +++ b/target/linux/bcm4908/patches-5.10/075-v5.13-0004-net-dsa-bcm_sf2-add-function-finding-RGMII-register.patch @@ -57,7 +57,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) { struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); -@@ -693,6 +718,7 @@ static void bcm_sf2_sw_mac_config(struct +@@ -696,6 +721,7 @@ static void bcm_sf2_sw_mac_config(struct { struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); u32 id_mode_dis = 0, port_mode; @@ -65,7 +65,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> u32 reg; if (port == core_readl(priv, CORE_IMP0_PRT_ID)) -@@ -716,10 +742,12 @@ static void bcm_sf2_sw_mac_config(struct +@@ -719,10 +745,12 @@ static void bcm_sf2_sw_mac_config(struct return; } @@ -79,7 +79,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> reg &= ~ID_MODE_DIS; reg &= ~(PORT_MODE_MASK << PORT_MODE_SHIFT); -@@ -727,13 +755,14 @@ static void bcm_sf2_sw_mac_config(struct +@@ -730,13 +758,14 @@ static void bcm_sf2_sw_mac_config(struct if (id_mode_dis) reg |= ID_MODE_DIS; @@ -95,7 +95,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> u32 reg; if (!phy_interface_mode_is_rgmii(interface) && -@@ -741,13 +770,15 @@ static void bcm_sf2_sw_mac_link_set(stru +@@ -744,13 +773,15 @@ static void bcm_sf2_sw_mac_link_set(stru interface != PHY_INTERFACE_MODE_REVMII) return; @@ -113,7 +113,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> } static void bcm_sf2_sw_mac_link_down(struct dsa_switch *ds, int port, -@@ -781,11 +812,15 @@ static void bcm_sf2_sw_mac_link_up(struc +@@ -784,11 +815,15 @@ static void bcm_sf2_sw_mac_link_up(struc { struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); struct ethtool_eee *p = &priv->dev->ports[port].eee; @@ -130,7 +130,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> if (priv->type == BCM4908_DEVICE_ID || priv->type == BCM7445_DEVICE_ID) offset = CORE_STS_OVERRIDE_GMIIP_PORT(port); -@@ -796,7 +831,7 @@ static void bcm_sf2_sw_mac_link_up(struc +@@ -799,7 +834,7 @@ static void bcm_sf2_sw_mac_link_up(struc interface == PHY_INTERFACE_MODE_RGMII_TXID || interface == PHY_INTERFACE_MODE_MII || interface == PHY_INTERFACE_MODE_REVMII) { @@ -139,7 +139,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> reg &= ~(RX_PAUSE_EN | TX_PAUSE_EN); if (tx_pause) -@@ -804,7 +839,7 @@ static void bcm_sf2_sw_mac_link_up(struc +@@ -807,7 +842,7 @@ static void bcm_sf2_sw_mac_link_up(struc if (rx_pause) reg |= RX_PAUSE_EN; |