commit | a494ed8e25759f05f5a419d675f198e4359ef6fc | [log] [tgz] |
---|---|---|
author | Jamie Iles <jamie@jamieiles.com> | Wed Mar 09 16:26:35 2011 +0000 |
committer | Jamie Iles <jamie@jamieiles.com> | Tue Nov 22 15:21:19 2011 +0000 |
tree | 2eea29ca18468e7e7c4d25abd6d40117ecd7a98e | |
parent | 70c9f3d4372ffa90775603e9c4e055a26a9b83e1 [diff] |
macb: support statistics for GEM devices GEM devices have a different number of statistics registers and they are at a different offset to MACB devices. Make the statistics collection method dependent on device type. Signed-off-by: Jamie Iles <jamie@jamieiles.com> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Tested-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>