WSL2-Linux-Kernel/drivers/net/ethernet/apm/xgene
Russell King 04d53b20fe net: fix phy refcounting in a bunch of drivers
of_phy_find_device() increments the phy struct device refcount, which
we need to properly balance.  Add code to network drivers using this
function to ensure that the struct device refcount is correctly
balanced.

For xgene, looking back in the history, we should be able to use
of_phy_connect() with a zero flags argument for the DT case as this is
how the driver used to operate prior to de7b5b3d79 ("net: eth: xgene:
change APM X-Gene SoC platform ethernet to support ACPI").

This leaves the Cavium Thunder BGX unfixed; fixing this driver is a
complicated task, one which the maintainers need to be involved with.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-24 23:04:53 -07:00
..
Kconfig net: xgene_enet: Set hardware dependency 2015-05-09 16:24:15 -04:00
Makefile drivers: net: xgene: Add ring manager v2 functions 2015-04-30 16:03:13 -04:00
xgene_enet_ethtool.c drivers: net: xgene: Add SGMII based 1GbE ethtool support 2014-10-14 16:09:22 -04:00
xgene_enet_hw.c net: fix phy refcounting in a bunch of drivers 2015-09-24 23:04:53 -07:00
xgene_enet_hw.h drivers: net: xgene: Adding support for TSO 2015-08-27 13:51:38 -07:00
xgene_enet_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-08-27 21:45:31 -07:00
xgene_enet_main.h drivers: net: xgene: Adding support for TSO 2015-08-27 13:51:38 -07:00
xgene_enet_ring2.c drivers: net: xgene: Add ring manager v2 functions 2015-04-30 16:03:13 -04:00
xgene_enet_ring2.h drivers: net: xgene: Add ring manager v2 functions 2015-04-30 16:03:13 -04:00
xgene_enet_sgmac.c drivers: net: xgene: Check for IS_ERR rather than NULL for clock. 2015-06-23 07:19:21 -07:00
xgene_enet_sgmac.h drivers: net: xgene: Add SGMII based 1GbE support 2014-10-14 16:09:21 -04:00
xgene_enet_xgmac.c drivers: net: xgene: Adding support for TSO 2015-08-27 13:51:38 -07:00
xgene_enet_xgmac.h drivers: net: xgene: Adding support for TSO 2015-08-27 13:51:38 -07:00