]> 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)
commitc05506b048217c4ff9ef01007c8d1c6bae17c112
tree17f78d2c446cc1a13f68ca9f13930c0ff8b38047
parent20b7d1436818e06adc32e098f118f377be6af257
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