diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-04-05 14:22:43 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-06 18:29:05 (GMT) |
commit | de9f52300d03915846c2baab27332ec462f7f6b0 (patch) | |
tree | bf2e405e7480bd58afe20b58eaee9fdd091da61e /lib/swiotlb.c | |
parent | c6e1a0d12ca7b4f22c58e55a16beacfb7d3d8462 (diff) | |
download | linux-fsl-qoriq-de9f52300d03915846c2baab27332ec462f7f6b0.tar.xz |
tg3: Cleanup extended rx ring size code
Hardcoded values are used in multiple places to describe the maximum rx
ring sizes. This patch replaces those values with preprocessor
constants. This patch also introduces a new TG3_FLG3_LRG_PROD_RING_CAP
to determine if the device is capable of supporting larger ring sizes.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/swiotlb.c')
0 files changed, 0 insertions, 0 deletions