]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54f05d57cdb703ef24c0211aed475f87c6cca577
tree4873f2936192a8e04e398f4148e7bf62ac9d87e6
parentd528f785e53175954ffa6b43011d899ebeace2c2
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