diff options
| author | 2011-04-26 08:12:10 +0000 | |
|---|---|---|
| committer | 2011-04-28 13:42:24 -0700 | |
| commit | 63c3a66fe6c827a731dcbdee181158b295626f83 (patch) | |
| tree | adbc4309dca03b6146ced0f1c57694ac59f56427 /tools/perf/scripts/python | |
| parent | net: allow user to change NETIF_F_HIGHDMA (diff) | |
tg3: Convert u32 flag,flg2,flg3 uses to bitmap
Using a bitmap instead of separate u32 flags allows a consistent, simpler
and more extensible mechanism to determine capabilities.
Convert bitmasks to enum.
Add tg3_flag, tg3_flag_clear and tg3_flag_set.
Convert the flag & bitmask tests.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
