diff options
author | Joe Perches <joe@perches.com> | 2011-04-26 10:12:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-28 22:42:24 +0200 |
commit | 63c3a66fe6c827a731dcbdee181158b295626f83 (patch) | |
tree | adbc4309dca03b6146ced0f1c57694ac59f56427 /drivers/net/qlcnic | |
parent | net: allow user to change NETIF_F_HIGHDMA (diff) | |
download | linux-63c3a66fe6c827a731dcbdee181158b295626f83.tar.xz linux-63c3a66fe6c827a731dcbdee181158b295626f83.zip |
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 'drivers/net/qlcnic')
0 files changed, 0 insertions, 0 deletions