[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)
commitdb8b22550d4b83f0910d27a34d05aa16f7f7159f
treee10289596ad86477e5911ce4efba6bc677e466ce
parent190a4408ecb577391ea5fbd1f90148a6992a5756
[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