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 <and...@lunn.ch>
---
 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);
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to