57a59c1ae41136dece09abbb254a06fb026c0b96
[openwrt/staging/jow.git] /
1 From b0c1da315623496404b3a0203c51ae7fc9d3ed88 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 7 Mar 2022 16:18:55 +0000
4 Subject: [PATCH] Revert "net: bcmgenet: Request APD, DLL disable and
5 IDDQ-SR"
6
7 This reverts commit c3a4c69360ab43560f212eed326c9d8bde35b14c, which
8 broke rebooting when network booting.
9
10 See: https://github.com/raspberrypi/rpi-eeprom/issues/417
11
12 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
13 ---
14 drivers/net/ethernet/broadcom/genet/bcmmii.c | 4 +---
15 1 file changed, 1 insertion(+), 3 deletions(-)
16
17 --- a/drivers/net/ethernet/broadcom/genet/bcmmii.c
18 +++ b/drivers/net/ethernet/broadcom/genet/bcmmii.c
19 @@ -303,9 +303,7 @@ int bcmgenet_mii_probe(struct net_device
20 struct device_node *dn = kdev->of_node;
21 phy_interface_t phy_iface = priv->phy_interface;
22 struct phy_device *phydev;
23 - u32 phy_flags = PHY_BRCM_AUTO_PWRDWN_ENABLE |
24 - PHY_BRCM_DIS_TXCRXC_NOENRGY |
25 - PHY_BRCM_IDDQ_SUSPEND;
26 + u32 phy_flags = 0;
27 int ret;
28
29 /* Communicate the integrated PHY revision */