summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-02-17 21:30:06 +0000
committerBen Hutchings <bhutchings@solarflare.com>2012-06-01 23:20:30 +0100
commit2038e9ecde330cb82eb368725034b21d30de91fc (patch)
tree53f4605a90e8a9da7219b34a73f54e50e4b23550 /internal.h
parentdfacc4a0fa3be71539be94da11f5cd3f47ffcbe5 (diff)
downloadethtool-2038e9ecde330cb82eb368725034b21d30de91fc.tar.gz
Add output file parameter to dump_hex() and make it extern
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 10abe25..b013783 100644
--- a/internal.h
+++ b/internal.h
@@ -144,6 +144,8 @@ int test_fclose(FILE *fh);
int send_ioctl(struct cmd_context *ctx, void *cmd);
+void dump_hex(FILE *f, const u8 *data, int len, int offset);
+
/* National Semiconductor DP83815, DP83816 */
int natsemi_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
int natsemi_dump_eeprom(struct ethtool_drvinfo *info,