[PATCH V4 2/4] net-next: mediatek: fix gigabit and flow control advertisement

2016-06-03 Thread John Crispin
The current code will not setup the PHYs advertisement features correctly. Fix this and properly advertise Gigabit features and properly handle asymmetric pause frames. Signed-off-by: Sean Wang Signed-off-by: John Crispin --- Changes in V4 * set

[PATCH V4 2/4] net-next: mediatek: fix gigabit and flow control advertisement

2016-06-03 Thread John Crispin
The current code will not setup the PHYs advertisement features correctly. Fix this and properly advertise Gigabit features and properly handle asymmetric pause frames. Signed-off-by: Sean Wang Signed-off-by: John Crispin --- Changes in V4 * set SUPPORTED_Asym_Pause rather than clearing it *