diff options
author | Andrew Lunn <andrew@lunn.ch> | 2015-08-16 04:05:18 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-09-05 11:47:54 +0100 |
commit | 0b2a8f107caadb1183825f1068d32eddcca500b4 (patch) | |
tree | ced9359539f276133fbdd0dc645a52315acc8f4e /sfpid.c | |
parent | 3fc124c361bbc047afcbfd54baf4de963699e762 (diff) | |
download | ethtool-0b2a8f107caadb1183825f1068d32eddcca500b4.tar.gz |
ethtool: Dump eeprom info for soldered on modules
Modules which are soldered onto the motherboard may also use the sff8079
EEPROM format. Dump these in the same way as SFP modules.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sfpid.c')
-rw-r--r-- | sfpid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -401,7 +401,7 @@ static void sff8079_show_options(const __u8 *id) void sff8079_show_all(const __u8 *id) { sff8079_show_identifier(id); - if ((id[0] == 0x03) && (id[1] == 0x04)) { + if (((id[0] == 0x02) || (id[0] == 0x03)) && (id[1] == 0x04)) { sff8079_show_ext_identifier(id); sff8079_show_connector(id); sff8079_show_transceiver(id); |