commit | 63c3a66fe6c827a731dcbdee181158b295626f83 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Tue Apr 26 08:12:10 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 28 13:42:24 2011 -0700 |
tree | adbc4309dca03b6146ced0f1c57694ac59f56427 | |
parent | fa2bd7ff9247f4218dfc907db14d000cd7edd862 [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>