]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31ef74414c4bd5753e0d94917c98a11546b05405
tree17f78d2c446cc1a13f68ca9f13930c0ff8b38047
parent35418bfea68ff9a2fe22e8cd1698d6ad72b331bb
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