commit | d1d1b53d9d28c8e44a72fadae491702b36e2e1fb | [log] [tgz] |
---|---|---|
author | Nicolas Ferre <nicolas.ferre@atmel.com> | Wed Oct 31 06:04:56 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 01 11:45:58 2012 -0400 |
tree | 787fba100363241a9e1a607b8c77978623c74dcf | |
parent | 55054a16a5ecf7202e698b07f00ad8e0dadf7d50 [diff] |
net/macb: ethtool interface: add register dump feature Add macb_get_regs() ethtool function and its helper function: macb_get_regs_len(). The version field is deduced from the IP revision which gives the "MACB or GEM" information. An additional version field is reserved. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Reviewed-by: Ben Hutchings <bhutchings@solarflare.com> Tested-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>