From: Nicolas Ferre Date: Wed, 31 Oct 2012 06:04:56 +0000 (+0000) Subject: net/macb: ethtool interface: add register dump feature X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~503 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1d1b53d9d28c8e44a72fadae491702b36e2e1fb;p=pandora-kernel.git 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 Reviewed-by: Ben Hutchings Tested-by: Joachim Eastwood Signed-off-by: David S. Miller --- Reading git-diff-tree failed