summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/asix.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-04-26 08:12:10 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-28 13:42:24 -0700
commit63c3a66fe6c827a731dcbdee181158b295626f83 (patch)
treeadbc4309dca03b6146ced0f1c57694ac59f56427 /drivers/net/usb/asix.c
parentfa2bd7ff9247f4218dfc907db14d000cd7edd862 (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 'drivers/net/usb/asix.c')
0 files changed, 0 insertions, 0 deletions