b44: add 64 bit stats

Add support for 64 bit stats to Broadcom b44 ethernet driver.

Signed-off-by: Kevin Groeneveld <kgroeneveld@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Kevin Groeneveld
2012-07-17 17:46:01 +00:00
committed by David S. Miller
parent 2e177a5c6c
commit eeda858552
2 changed files with 56 additions and 39 deletions

View File

@ -338,9 +338,10 @@ struct ring_info {
* the layout
*/
struct b44_hw_stats {
#define _B44(x) u32 x;
#define _B44(x) u64 x;
B44_STAT_REG_DECLARE
#undef _B44
struct u64_stats_sync syncp;
};
struct ssb_device;