[ethtool] 10/24: ethtool: Dump eeprom info for soldered on modules
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Fri Oct 9 03:48:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository ethtool.
commit 0b2a8f107caadb1183825f1068d32eddcca500b4
Author: Andrew Lunn <andrew at lunn.ch>
Date: Sun Aug 16 04:05:18 2015 +0200
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 at lunn.ch>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
sfpid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfpid.c b/sfpid.c
index b1a5044..0b5cd62 100644
--- a/sfpid.c
+++ b/sfpid.c
@@ -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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/ethtool.git
More information about the Kernel-svn-changes
mailing list