]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitaebd99477f03950fb05b29c7248656167198bf2d
tree874030e252ce5e6e463c9a992da408967c1e69b4
parent1099f86044111e9a7807f09523e42d4c9d0fb781
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