gianfar: Add change_carrier() for Fixed PHYs
authorJoakim Tjernlund <joakim.tjernlund@infinera.com>
Fri, 14 Dec 2018 14:17:07 +0000 (15:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Dec 2018 19:24:32 +0000 (11:24 -0800)
commit6211d46713c5dc62bb87dff208134b253ff5e128
treeb4482d3c08475559e436294155b9e7cc2fee5f71
parent6e8b0ff1ba4cc145a8fb13a3212de0f75d5f043c
gianfar: Add change_carrier() for Fixed PHYs

This allows to control carrier from /sys/class/net/ethX/carrier
for Fixed PHYs.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c