path: root/internal.h
diff options
authorStuart Hodgson <>2012-05-18 15:58:45 +0100
committerBen Hutchings <>2012-05-23 00:59:51 +0100
commit2edf56749abe006f6a68c9c21a2a249d29345a01 (patch)
tree2cfa7c4ff2a4c3658251bc031ad72703f41cd81a /internal.h
parent0d53f25de6f4f4499da2736805b652c0f2b51f99 (diff)
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 <> Signed-off-by: Ben Hutchings <>
Diffstat (limited to 'internal.h')
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__ */