diff options
| author | Kejian Yan <yankejian@huawei.com> | 2016-06-03 05:55:19 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-06-05 04:32:41 +0300 |
| commit | 1d1afa2ebf8234cbeafd719cf964d7d4f4d6ac96 (patch) | |
| tree | 49b2296c1f46f85524c7b670a617d87afa2ebe14 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 8413b3be4d77dae0d0203cc8b6f2b928dda66e7e (diff) | |
| download | linux-1d1afa2ebf8234cbeafd719cf964d7d4f4d6ac96.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
