linux/drivers/net/ethernet/hisilicon
Kejian Yan 1d1afa2ebf net: hns: register phy device in each mac initial sequence
In ACPI case, there is no interface to register phy device to mdio-bus.
Phy device has to be registered itself to mdio-bus, and then enet can
get the phy device's info so that it can config the phy-device to help
to trasmit and receive data.
HNS hardware topology is as below. The MDIO controller may control several
PHY-devices, and each PHY-device connects to a MAC device. PHY-devices
will register when each mac find PHY device in initial sequence.

                       cpu
                        |
                        |
     -------------------------------------------
    |                   |                       |
    |                   |                       |
    |                  dsaf                     |
   MDIO                 |                      MDIO
    |      ---------------------------          |
    |     |         |         |       |         |
    |     |         |         |       |         |
    |    MAC       MAC       MAC     MAC        |
    |     |         |         |       |         |
     ---- |-------- |-------- |       | --------
         ||        ||        ||       ||
         PHY       PHY       PHY     PHY

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-04 21:32:41 -04:00
..
hns net: hns: register phy device in each mac initial sequence 2016-06-04 21:32:41 -04:00
hip04_eth.c hip04_eth: fix missing error handle for build_skb failed 2016-01-13 15:48:14 -05:00
hix5hd2_gmac.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
hns_mdio.c net: hisilicon: add support of acpi for hns-mdio 2016-06-04 21:32:40 -04:00
Kconfig net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM 2016-03-07 14:45:07 -05:00
Makefile net: add Hisilicon Network Subsystem hnae framework support 2015-09-20 21:42:57 -07:00