[PATCH v3 07/10] net/macb: ethtool interface: add register dump feature

2012-10-30 Thread Nicolas Ferre
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 ---

[PATCH v3 07/10] net/macb: ethtool interface: add register dump feature

2012-10-30 Thread Nicolas Ferre
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.fe...@atmel.com Reviewed-by: Ben Hutchings