net-next: mediatek: fix gigabit and flow control advertisement
authorJohn Crispin <john@phrozen.org>
Fri, 3 Jun 2016 08:17:07 +0000 (10:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Jun 2016 23:54:16 +0000 (19:54 -0400)
commit08ef55c6f257acf3bdc6940813f80e8f0f5d90ec
tree4e096b652208eb5894d8575df140efd1df4e8404
parent207bdf1844286d2ba94523d30528f82aaf33d52b
net-next: mediatek: fix gigabit and flow control advertisement

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 <keyhaede@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c