diff options
author | John Crispin <blogic@openwrt.org> | 2018-03-15 07:22:36 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-19 19:56:02 +0100 |
commit | f079b640634853419809104907e07365ad9fd272 (patch) | |
tree | 3ddbd50b7ee9c9595229a9f5e40df38d56c8e000 /drivers/staging/mt7621-eth/TODO | |
parent | e3cbf478f846374537941895182cd1aaf16dcb91 (diff) |
staging: mt7621-eth: add gigabit switch driver (GSW)
The GSW is found in all of the 1000mbit SoCs. it has 5 external ports,
1-2 cpu ports and 1 further port that the internal HW offloading engine
connects to. The switch core used is a MT7530, which also exists as a
standalone chip. Although these SoCs (mt7620/1/3) share the same switch
core, the bring up of these is slightly different. One of the reasons is
that on mt7620 the switch core is mmio mapped while MT7621/3 talks to the
switch via MDIO addr 0x1f. Additionally, the SoCs have different MAC types
and some of them have TRGMII support. MT7621 can do 1,2gbit and MT7623 is
able to do 2,6gbit. The support for the TRGMII bring up is not part of this
series as the code is based on the SDK driver and has between 1500 and 2000
magic values that still need to be converted to defines.
Because of these differences we have 3 separate drivers for these 3 SoCs.
These drivers are very basic and only provides basic init and irq support.
The SoC and switch core both have support for a special tag making DSA
support possible.
NeilBrown:
- added setting to mt7621_hw_init to match working code from libreCMC
This needs to be converted to use switchdev.
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-eth/TODO')
-rw-r--r-- | drivers/staging/mt7621-eth/TODO | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/mt7621-eth/TODO b/drivers/staging/mt7621-eth/TODO index 25c550e8df8c..1ab0530131ae 100644 --- a/drivers/staging/mt7621-eth/TODO +++ b/drivers/staging/mt7621-eth/TODO @@ -3,5 +3,6 @@ - fix ethtool - currently doesn't return valid data. - general code review and clean up - add support for second MAC on mt7621 +- convert gsw code to use switchdev interfaces Cc: NeilBrown <neil@brown.name> |