diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2007-07-12 04:47:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-12 04:47:55 +0200 |
commit | e8f3f6cad7e423253090887bc4afe7bc844162da (patch) | |
tree | 78ffc0e193200e90685bf0137bc97153651e2009 /drivers/net/tg3.h | |
parent | [TG3]: Fix irq_sync race condition. (diff) | |
download | linux-e8f3f6cad7e423253090887bc4afe7bc844162da.tar.xz linux-e8f3f6cad7e423253090887bc4afe7bc844162da.zip |
[TG3]: Fix the polarity bit.
For most pre-5705 devices, multiple link interrupts were being generated
for a single physical link change. The source of the interrupts was
determined to be unnecessary toggling of the MAC link polarity bit.
This patch changes the way the link polarity bit gets configured. Where
possible, code that dynamically configures the bit in response to link
changes has been replaced by code that configures the bit once during
initialization time and then leaves the bit alone.
For correctness, this patch also limits the use of the bit to those
devices where it is defined, namely devices before the 5705. This patch
also corrects the link polarity configurations for 5700 devices when
paired against a bcm5411 phy.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@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