]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5dff4029486814eebec5839660d8ae560f4d96a
treec484f9e20c76373f01a185618fa8c83fb9ea2694
parentc701070a20f5552efbc4371c807497b15e1759eb
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]