]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Fix return ring size breakage
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 11 Sep 2009 23:50:16 +0000 (16:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Sep 2009 23:50:16 +0000 (16:50 -0700)
commitf18f0c9168d77a48f54391054b090ec62547ad0b
tree0e8808b8d747dd237316ce050fe3fceb7bb32cd3
parent0b63c30574774f714a0d89832e9a8754ff016b32
tg3: Fix return ring size breakage

Commit 83226863377b446d067b65a640c00fd747458c42, "tg3: Add 5717 asic
rev" changed how the rx return ring size operations are done.  It
effectively inverts the sense of the previous test, but it failed to
also invert the resulting sizes.  This patch corrects that error.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c