OSDN Git Service

tg3: Fix missed MSI workaround
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 31 Aug 2011 11:44:48 +0000 (11:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2011 19:56:39 +0000 (15:56 -0400)
commit7f23073515c83e8a7261462329b6f26f211126d7
tree49df6789369893bf927c78a609ec5d8116b5cc57
parentb99d2a57b7d9e9e64e9193d70696b77ed035c311
tg3: Fix missed MSI workaround

This patch fixes a minor counter initialization bug and makes the MSI
workaround slightly more efficient by attempting to service pending
interrupts before applying the workaround.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c