Re: [PATCH] tg3: Convert u32 flag,flg2,flg3 uses to bitmap

David Miller
2011-04-26T19:50:10Z

From: Joe Perches <joe@perches.com>
Date: Tue, 26 Apr 2011 11:12:10 -0700

> 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>

I like this, Broadcom folks please review.