]> git.baikalelectronics.ru Git - kernel.git/commit
[BNX2]: Fix link interrupt problem.
authorMichael Chan <mchan@broadcom.com>
Wed, 28 Mar 2007 21:17:36 +0000 (14:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 29 Mar 2007 03:23:52 +0000 (20:23 -0700)
commita239fc20af81057d7c6579e4a6c2a62a504f9d82
treee10289596ad86477e5911ce4efba6bc677e466ce
parent83bbaedefee5710e8105ef34a184f1fdfa470e9d
[BNX2]: Fix link interrupt problem.

bnx2_has_work()'s logic is flawed and can cause the driver to miss
a link event.  The fix is to compare the status block's attn_bits
and attn_bits_ack to determine if there is a link event.

Update version to 1.5.6.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c