commit | 48fa55a0a5e20b9e2a28a72c66c7027678cae6bb | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Wed Apr 13 11:05:06 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 13 17:10:07 2011 -0700 |
tree | 9f8a3c77bbb17b414f51125003d44fb41bc306dd | |
parent | e64de4e6c660dae6d6370b3acb59d5d5cc9ecf20 [diff] |
tg3: Automatically size stat/test string arrays This patch reimplements the size preprocessor constants of the stats and ethtool test string arrays. The size is calculated at compile time rather than using static constants. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>