net/macb: add the user i/o to ethtool register dump
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 31 Mar 2015 13:02:04 +0000 (15:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 20:51:17 +0000 (16:51 -0400)
commit7c39994fc1e2b6a1bb5cb207a88e88a6b1ac1694
tree4873f2936192a8e04e398f4148e7bf62ac9d87e6
parentc69618b3e4f220f4990b91596d40ea3c4cdc938a
net/macb: add the user i/o to ethtool register dump

User i/o register EMAC_USRIO or GMAC_UR can be found on both macb and gem
flavors of the peripheral. By using the proper accessor, we can add it to the
register dump feature of ethtool.
Increment the version of this API so it can be noticed from user space.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h