diff options
author | Nithin Sujir <nsujir@broadcom.com> | 2013-03-12 15:32:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-13 09:54:05 -0400 |
commit | 7c6cdead7cc9a99650d15497aae47d7472217eb1 (patch) | |
tree | 38362391265043629b5bc626ec6ceb08dbea923e /crypto | |
parent | 6f08158de9e5a15a2f2b25ed651b5120a2ec7b5b (diff) |
tg3: 5715 does not link up when autoneg off
Commit d13ba512cbba7de5d55d7a3b2aae7d83c8921457 ("tg3: Remove
SPEED_UNKNOWN checks") cleaned up the autoneg advertisement by
removing some dead code. One effect of this change was that the
advertisement register would not be updated if autoneg is turned off.
This exposed a bug on the 5715 device w.r.t linking. The 5715 defaults
to advertise only 10Mb Full duplex. But with autoneg disabled, it needs
the configured speed enabled in the advertisement register to link up.
This patch adds the work around to advertise all speeds on the 5715 when
autoneg is disabled.
Reported-by: Marcin Miotk <marcinmiotk81@gmail.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions