linux/drivers/net/ethernet/apm
Thomas Bogendoerfer 0db01097ca xgene: Don't fail probe, if there is no clk resource for SGMII interfaces
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: 9aea7779b7 ("drivers: net: xgene: Fix crash on DT systems")
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-13 09:21:15 -07:00
..
xgene xgene: Don't fail probe, if there is no clk resource for SGMII interfaces 2017-07-13 09:21:15 -07:00
xgene-v2 net: phy: Make phy_ethtool_ksettings_get return void 2017-06-13 12:59:06 -04:00
Kconfig drivers: net: xgene-v2: Add transmit and receive 2017-03-09 13:25:04 -08:00
Makefile drivers: net: xgene-v2: Add transmit and receive 2017-03-09 13:25:04 -08:00