linux-sg2042/drivers/staging/octeon
Florian Fainelli e7c9a3d9e4 staging: octeon: Call SET_NETDEV_DEV()
The Octeon driver calls into PHYLIB which now checks for
net_device->dev.parent, so make sure we do set it before calling into
any MDIO/PHYLIB related function.

Fixes: ec988ad78e ("phy: Don't increment MDIO bus refcount unless it's a different owner")
Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: stable <stable@vger.kernel.org>  # 4.9+
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-03 17:11:50 +01:00
..
Kconfig
Makefile staging: octeon-ethernet: move cvm_oct_xaui_open() 2015-10-17 20:56:10 -07:00
ethernet-defines.h staging: octeon: Add space around '+' 2015-11-15 20:02:47 -08:00
ethernet-mdio.c Staging: octeon: Add missing of_node_put after calling of_parse_phandle. 2016-09-20 13:51:24 +02:00
ethernet-mdio.h staging: octeon: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
ethernet-mem.c staging: octeon: Remove comparison to NULL 2016-03-11 22:09:09 -08:00
ethernet-mem.h
ethernet-rgmii.c staging: octeon: stop using cvmx_helper_link_autoconf() 2016-09-12 13:21:48 +02:00
ethernet-rx.c Staging: octeon: ethernet-rx: fixed three redundant blank line style issues 2016-09-18 09:13:35 +02:00
ethernet-rx.h staging: octeon: Fix alignment with open parenthesis 2016-03-28 07:30:36 -07:00
ethernet-sgmii.c staging: octeon-ethernet: drop poll_now parameter from cvm_oct_common_open 2015-10-17 20:56:10 -07:00
ethernet-spi.c staging: octeon: Remove blank lines after open brace 2016-03-11 22:09:09 -08:00
ethernet-tx.c staging: octeon: Fix alignment with open parenthesis 2016-03-28 07:30:36 -07:00
ethernet-tx.h
ethernet-util.h staging: octeon: check for pow0 before calling interface helper 2016-08-21 18:02:32 +02:00
ethernet.c staging: octeon: Call SET_NETDEV_DEV() 2017-01-03 17:11:50 +01:00
octeon-ethernet.h staging: octeon: support enabling multiple rx groups 2016-09-02 14:46:53 +02:00