]> git.baikalelectronics.ru Git - kernel.git/commit
bcm63xx_enet: check 1000BASE-T advertisement configuration
authorSimon Arlott <simon@fire.lp0.eu>
Thu, 15 Oct 2015 20:00:22 +0000 (21:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Oct 2015 13:36:38 +0000 (06:36 -0700)
commitb8efe1f061f66da15579532f2562afe5fbf03795
tree874030e252ce5e6e463c9a992da408967c1e69b4
parente0c5f35c3b5c1c5eb1cccbfacc6ed94656075409
bcm63xx_enet: check 1000BASE-T advertisement configuration

If a gigabit ethernet PHY is connected to a fast ethernet MAC,
then it can detect 1000 support from the partner but not use it.

This results in a forced speed of 1000 and RX/TX failure.

Check for 1000BASE-T support and then check the advertisement
configuration before setting the MAC speed to 1000mbit.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c