mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 08:48:08 +00:00
kernel: fix DSA B53 BCM63xx RGMII patch
Refreshing the patches for fff07085fb5a moved the b53_adjust_63xx_rgmii() call from b53_phylink_mac_link_up() to b53_phylink_mac_link_down(). In order to properly configure the RGMII ports we need to restore it to its correct place. Fixes: fff07085fb5a ("kernel: add pending bmips patches") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
0eebc6f0dd
commit
f7c1631155
@ -152,7 +152,7 @@ Reviewed-by: Andrew Lunn <andrew@lunn.ch>
|
|||||||
if (is531x5(dev) && phy_interface_is_rgmii(phydev)) {
|
if (is531x5(dev) && phy_interface_is_rgmii(phydev)) {
|
||||||
if (port == dev->imp_port)
|
if (port == dev->imp_port)
|
||||||
off = B53_RGMII_CTRL_IMP;
|
off = B53_RGMII_CTRL_IMP;
|
||||||
@@ -1396,6 +1439,9 @@ void b53_phylink_mac_link_down(struct ds
|
@@ -1419,6 +1462,9 @@ void b53_phylink_mac_link_up(struct dsa_
|
||||||
{
|
{
|
||||||
struct b53_device *dev = ds->priv;
|
struct b53_device *dev = ds->priv;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user