diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-12-06 08:28:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-06 11:03:47 -0800 |
commit | a6b68dab169e2a51e59f43504f1279cbc2afcde8 (patch) | |
tree | 82f050a3cc08db4a0dc4be03f9d3660e5dccbb29 /drivers/net/tg3.h | |
parent | 699c019385fcb13498a5a3a8bd368f04f1d4a223 (diff) |
tg3: Minor EEE code tweaks
The first hunk of this patch makes sure that the driver checks for the
appropriate preconditions before checking if EEE negotiation succeeded.
More specifically the link needs to be full duplex for EEE to be
enabled.
The second and third hunks of this patch fix a bug where the eee
advertisement register would be programmed with extra bits set.
The fourth hunk of this patch makes sure the EEE capability flag is not
set for 5718 A0 devices and that the device is not a serdes device.
None of these modifications are strictly necessary. The driver /
hardware still does the right thing. They are submitted primarily for
correctness.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
0 files changed, 0 insertions, 0 deletions