summaryrefslogtreecommitdiff
path: root/ethtool.c
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2012-10-30 21:57:23 +0000
committerBen Hutchings <bhutchings@solarflare.com>2012-11-08 19:23:54 +0000
commit08f7d492eb1de6f47313c6a9bcb07f32f1695513 (patch)
treeabbea8acf818bdfb9665a8dcf2ce0dfdb55f0a3f /ethtool.c
parent963faa0063e89bfd0d807b3c25fcb0723541a045 (diff)
downloadethtool-08f7d492eb1de6f47313c6a9bcb07f32f1695513.tar.gz
ethtool: Support et131x registers in -d
The et131x register set contains useful details of RX/TX queues for the device. This dumps them with the -d option. Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'ethtool.c')
-rw-r--r--ethtool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethtool.c b/ethtool.c
index 1081576..3db7fec 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -888,6 +888,7 @@ static const struct {
{ "sfc", sfc_dump_regs },
{ "st_mac100", st_mac100_dump_regs },
{ "st_gmac", st_gmac_dump_regs },
+ { "et131x", et131x_dump_regs },
};
void dump_hex(FILE *file, const u8 *data, int len, int offset)