summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/b44.h
diff options
context:
space:
mode:
authorKevin Groeneveld <kgroeneveld@gmail.com>2012-07-17 19:46:01 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-18 18:29:43 +0200
commiteeda8585522bcc173f91d6254dfa63e871087c54 (patch)
treeeb8c990517cd5df69e2915828d42f25933fb36a2 /drivers/net/ethernet/broadcom/b44.h
parentbe2net: Ignore physical link async event for Lancer (diff)
downloadlinux-eeda8585522bcc173f91d6254dfa63e871087c54.tar.xz
linux-eeda8585522bcc173f91d6254dfa63e871087c54.zip
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/b44.h')
-rw-r--r--drivers/net/ethernet/broadcom/b44.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/b44.h b/drivers/net/ethernet/broadcom/b44.h
index e1905a49279f..8993d72f0420 100644
--- a/drivers/net/ethernet/broadcom/b44.h
+++ b/drivers/net/ethernet/broadcom/b44.h
@@ -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;