From: David S. Miller Date: Sun, 4 Dec 2016 04:15:01 +0000 (-0500) Subject: Merge branch 'mv88e6390-batch-two' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7a6c5cb960d4bb0207adc8eb0c79193bf98ef463;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'mv88e6390-batch-two' Andrew Lunn says: ==================== MV88E6390 batch two This is the second batch of patches adding support for the MV88e6390. They are not sufficient to make it work properly. The mv88e6390 has a much expanded set of priority maps. Refactor the existing code, and implement basic support for the new device. Similarly, the monitor control register has been reworked. The mv88e6390 has something odd in its EDSA tagging implementation, which means it is not possible to use it. So we need to use DSA tagging. This is the first device with EDSA support where we need to use DSA, and the code does not support this. So two patches refactor the existing code. The two different register definitions are separated out, and using DSA on an EDSA capable device is added. v2: Add port prefix Add helper function for 6390 Add _IEEE_ into #defines Split monitor_ctrl into a number of separate ops. Remove 6390 code which is management, used in a later patch s/EGREES/EGRESS/. Broke up setup_port_dsa() and set_port_dsa() into a number of ops v3: Verify mandatory ops for port setup Don't set ether type for DSA port. ==================== Signed-off-by: David S. Miller --- 7a6c5cb960d4bb0207adc8eb0c79193bf98ef463