tg3: Restrict large prod ring cap devices
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 21 Nov 2011 15:01:19 +0000 (15:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Nov 2011 21:01:34 +0000 (16:01 -0500)
commitfa6b2aae6ab5ae1ce4b65c1872477c4b794d338e
tree17f78d2c446cc1a13f68ca9f13930c0ff8b38047
parent513aa6ea39adfc9daf5b4bc33b49008733c3eb51
tg3: Restrict large prod ring cap devices

Future devices may or may not be capable of supporting larger rx
producer rings.  This patch changes the code so that this flag is set on
an ASIC rev to ASIC rev basis.  Also, this patch changes a place where
the LRG_PROD_RING_CAP flag was not controlling how the rx standard
producer ring size was set.

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