diff options
author | David S. Miller <davem@davemloft.net> | 2016-04-26 07:09:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-26 07:09:18 +0200 |
commit | 218afa10d82d7809c9a7d14f1c769be8d7d6e2b8 (patch) | |
tree | 2b387b90aa43ace8c180dd61305da98ba0cd3889 /drivers/net/ethernet/tundra | |
parent | Merge branch 'pskb_extract' (diff) | |
parent | dts: hisi: update hns dst for separating dsaf dev support (diff) | |
download | linux-218afa10d82d7809c9a7d14f1c769be8d7d6e2b8.tar.xz linux-218afa10d82d7809c9a7d14f1c769be8d7d6e2b8.zip |
Merge branch 'hns-debug-dsaf'
Yisen Zhuang says:
====================
net: hns: add support of debug dsaf device
There are two kinds of dsaf device in hns, one is for service ports,
contains crossbar in it, can work under different mode. Another is for
debug port, only can work under single port mode. The current code only
declares a dsaf device for both service ports and debug ports.It is not so
readability. This patch separates it to three platform devices to make the
code more simple and readability.
The diagram of all port in one platform device(old):
CPU
|
| DSAF(one platform device)
-------------------------------------------------------------- /
| | | | | /
| PPE PPE PPE | /
| | | | | /
| | | | | /
| crossbar | | | /
| | | | |/
| ----------------------------------- | | |
| | | | | | | | | |
| | | | | | | | | |
| MAC MAC MAC MAC MAC MAC MAC MAC |
| | | | | | | | | |
--------------------------------------------------------------
| | | | | | | |
PHY PHY PHY PHY PHY PHY PHY PHY
The diagram of separating ports to three platform(new):
CPU
|
-----------------------------------
| | |
---------------------------------------------- --------- ---------
| | | | | | | |
| PPE | | PPE | | PPE |
| | | | | | | | |
| | | | | | | | |
| crossbar | | | | | | |
| | | | | | | | |
| ---------------------------------- | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| MAC MAC MAC MAC MAC MAC | | MAC | | MAC |
| | | | | | | | | | | | | |
---------------------------------------------- --------- ---------
| | | | | | \ / | / |
PHY PHY PHY PHY PHY PHY \ / PHY / PHY
\ / /
\ / /
DSAF(three platform device)
We take the compatibility into consideration, and it works well by using the
old dts file(tested on d02 board).
For more details, please see individual patches.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/tundra')
0 files changed, 0 insertions, 0 deletions