net: phy: icplus: add MDI/MDIX support for IP101A/G
authorMichael Walle <michael@walle.cc>
Thu, 11 Feb 2021 07:47:50 +0000 (08:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 21:53:26 +0000 (13:53 -0800)
commit32ab60e5392066e5c5f71a93e37ea36ab726a526
tree2ec3fb2666687bb4e029df31fa8fe32884b54cc9
parenta0750d42e95192fa8d57796f35ca7189bd231bb4
net: phy: icplus: add MDI/MDIX support for IP101A/G

Implement the operations to set desired mode and retrieve the current
mode.

This feature was tested with an IP101G.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/icplus.c