linux_dsm_epyc7002/drivers/net/ethernet/hisilicon
Dongpo Li 8cd1f70f20 net: ethernet: hip04: Call SET_NETDEV_DEV()
The hip04 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")
Signed-off-by: Dongpo Li <lidongpo@hisilicon.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-16 13:29:35 -05:00
..
hns net: hns: Fix to conditionally convey RX checksum flag to stack 2016-12-06 11:41:57 -05:00
hip04_eth.c net: ethernet: hip04: Call SET_NETDEV_DEV() 2016-12-16 13:29:35 -05:00
hisi_femac.c net: ethernet: hisi_femac: Call SET_NETDEV_DEV() 2016-12-16 13:29:35 -05:00
hix5hd2_gmac.c net: hix5hd2_gmac: add reset control and clock signals 2016-12-06 10:21:01 -05:00
hns_mdio.c net: hisilicon: Fix hns_mdio module autoload for OF registration 2016-10-17 13:03:03 -04:00
Kconfig net: hisilicon: Add Fast Ethernet MAC driver 2016-07-16 21:32:58 -07:00
Makefile net: hisilicon: Add Fast Ethernet MAC driver 2016-07-16 21:32:58 -07:00