net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC
authorSalil <salil.mehta@huawei.com>
Wed, 2 Aug 2017 15:59:50 +0000 (16:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 22:08:17 +0000 (15:08 -0700)
commit256727da73951b0cbb97105db921bd9e8221aec9
treec484f9e20c76373f01a185618fa8c83fb9ea2694
parent848440544b41fbe21f36072ee7dc7c3c59ce62e2
net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

This patch adds the support of MDIO bus interface for HNS3 driver.
Code provides various interfaces to start and stop the PHY layer
and to read and write the MDIO bus or PHY.

Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h [new file with mode: 0644]