diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-03-31 15:02:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-31 16:51:17 -0400 |
commit | 7c39994fc1e2b6a1bb5cb207a88e88a6b1ac1694 (patch) | |
tree | 4873f2936192a8e04e398f4148e7bf62ac9d87e6 /drivers/net/ethernet/cadence/macb.h | |
parent | c69618b3e4f220f4990b91596d40ea3c4cdc938a (diff) | |
download | lwn-7c39994fc1e2b6a1bb5cb207a88e88a6b1ac1694.tar.gz lwn-7c39994fc1e2b6a1bb5cb207a88e88a6b1ac1694.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.h')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h index 5f9950e84c5e..fd0a22157a88 100644 --- a/drivers/net/ethernet/cadence/macb.h +++ b/drivers/net/ethernet/cadence/macb.h @@ -11,7 +11,7 @@ #define _MACB_H #define MACB_GREGS_NBR 16 -#define MACB_GREGS_VERSION 1 +#define MACB_GREGS_VERSION 2 #define MACB_MAX_QUEUES 8 /* MACB register offsets */ |