|
|
@@ -13,7 +13,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]>
|
|
|
|
|
|
--- a/drivers/net/dsa/b53/b53_common.c
|
|
|
+++ b/drivers/net/dsa/b53/b53_common.c
|
|
|
-@@ -1140,6 +1140,36 @@ static void b53_force_port_config(struct
|
|
|
+@@ -1155,6 +1155,36 @@ static void b53_force_port_config(struct
|
|
|
b53_write8(dev, B53_CTRL_PAGE, off, reg);
|
|
|
}
|
|
|
|
|
|
@@ -50,7 +50,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]>
|
|
|
static void b53_adjust_link(struct dsa_switch *ds, int port,
|
|
|
struct phy_device *phydev)
|
|
|
{
|
|
|
-@@ -1166,6 +1196,9 @@ static void b53_adjust_link(struct dsa_s
|
|
|
+@@ -1181,6 +1211,9 @@ static void b53_adjust_link(struct dsa_s
|
|
|
tx_pause, rx_pause);
|
|
|
b53_force_link(dev, port, phydev->link);
|
|
|
|
|
|
@@ -60,7 +60,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]>
|
|
|
if (is531x5(dev) && phy_interface_is_rgmii(phydev)) {
|
|
|
if (port == 8)
|
|
|
off = B53_RGMII_CTRL_IMP;
|
|
|
-@@ -1358,6 +1391,9 @@ void b53_phylink_mac_link_up(struct dsa_
|
|
|
+@@ -1373,6 +1406,9 @@ void b53_phylink_mac_link_up(struct dsa_
|
|
|
{
|
|
|
struct b53_device *dev = ds->priv;
|
|
|
|