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)
commit5ea1c50662d447de344812054175d7151783ea25
tree0e8808b8d747dd237316ce050fe3fceb7bb32cd3
parent9feae56c0de65fdd8b1f64f376bb6578417d2b79
tg3: Fix return ring size breakage

Commit f6eb9b1fc1411d22c073f5264e5630a541d0f7df, "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