diff options
author | Jian-Hong Pan <jhp@endlessos.org> | 2021-06-23 11:28:03 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-23 13:46:57 -0700 |
commit | b2ac9800cfe0f8da16abc4e74e003440361c112e (patch) | |
tree | 83e4da72f04f84086dcd2fc11c146913d22d8b32 /usr/.gitignore | |
parent | 4d293fe1c69c157c15ac06918a805e5fef036682 (diff) |
net: bcmgenet: Fix attaching to PYH failed on RPi 4B
The Broadcom UniMAC MDIO bus from mdio-bcm-unimac module comes too late.
So, GENET cannot find the ethernet PHY on UniMAC MDIO bus. This leads
GENET fail to attach the PHY as following log:
bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
...
could not attach to PHY
bcmgenet fd580000.ethernet eth0: failed to connect to PHY
uart-pl011 fe201000.serial: no DMA platform data
libphy: bcmgenet MII bus: probed
...
unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
This patch adds the soft dependency to load mdio-bcm-unimac module
before genet module to avoid the issue.
Fixes: 9a4e79697009 ("net: bcmgenet: utilize generic Broadcom UniMAC MDIO controller driver")
Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=213485
Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr/.gitignore')
0 files changed, 0 insertions, 0 deletions