bnxt_en: Add support for mdio read/write to external PHY
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Tue, 19 Feb 2019 10:31:15 +0000 (05:31 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2019 18:45:14 +0000 (10:45 -0800)
commit0ca12be99667265ef8100860601d510e78f22cea
tree6189b47d0a4d6de6e96ff2384f69e17e2153045a
parent2a516444434ffa4419e67c5289d5f53272cb9674
bnxt_en: Add support for mdio read/write to external PHY

Add support for SIOCGMIIREG and SIOCSMIIREG ioctls to
mdio read/write to external PHY.

Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c