summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorStuart Hodgson <smhodgson@solarflare.com>2012-05-18 15:58:45 +0100
committerBen Hutchings <bhutchings@solarflare.com>2012-05-23 00:59:51 +0100
commit2edf56749abe006f6a68c9c21a2a249d29345a01 (patch)
tree2cfa7c4ff2a4c3658251bc031ad72703f41cd81a /internal.h
parent0d53f25de6f4f4499da2736805b652c0f2b51f99 (diff)
downloadethtool-2edf56749abe006f6a68c9c21a2a249d29345a01.tar.gz
ethtool: Addition of -m option to dump module eeprom
The -m option now allows for retrieval of EEPROM information form a plug in module such as SFP+. This shows specific information about the type and capabilities of the module in use The format can be easily extended to support other modules types such as QSFP in future. Raw data dump is also supported. Signed-off-by: Stuart Hodgson <smhodgson@solarflare.com> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index d72cdf5..55f0d8a 100644
--- a/internal.h
+++ b/internal.h
@@ -175,4 +175,7 @@ int rxclass_rule_ins(struct cmd_context *ctx,
struct ethtool_rx_flow_spec *fsp);
int rxclass_rule_del(struct cmd_context *ctx, __u32 loc);
+/* Module EEPROM parsing code */
+void sff8079_show_all(const __u8 *id);
+
#endif /* ETHTOOL_INTERNAL_H__ */