mirror of https://gitee.com/openkylin/linux.git
0db01097ca
This change fixes following problem
[ 1.827940] xgene-enet: probe of 1f210030.ethernet failed with error -2
which leads to a missing ethernet interface (reproducable at least on
Gigabyte MP30-AR0 and APM Mustang systems).
The check for a valid clk resource fails, because DT doesn't provide a
clock for sgenet1. But the driver doesn't use this clk, if the ethernet
port is connected via SGMII. Therefore this patch avoids probing for clk
on SGMII interfaces.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
xgene_enet_cle.c | ||
xgene_enet_cle.h | ||
xgene_enet_ethtool.c | ||
xgene_enet_hw.c | ||
xgene_enet_hw.h | ||
xgene_enet_main.c | ||
xgene_enet_main.h | ||
xgene_enet_ring2.c | ||
xgene_enet_ring2.h | ||
xgene_enet_sgmac.c | ||
xgene_enet_sgmac.h | ||
xgene_enet_xgmac.c | ||
xgene_enet_xgmac.h |