net: macb: add support for C45 MDIO read/write
authorMilind Parab <mparab@cadence.com>
Thu, 9 Jan 2020 08:36:46 +0000 (08:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jan 2020 18:48:29 +0000 (10:48 -0800)
commit43ad352dc8207015972bfc91f5d23ea4307f8ff1
tree10b2e8ef71fb16773f38f439e658c7f70430ec1b
parent4a4a52d49d11f5c4a0df8b9806c8c5563801f753
net: macb: add support for C45 MDIO read/write

This patch modify MDIO read/write functions to support
communication with C45 PHY.

Signed-off-by: Milind Parab <mparab@cadence.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_main.c