From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vps0.lunn.ch ([185.16.172.187]:36699 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751084AbeCTMJi (ORCPT ); Tue, 20 Mar 2018 08:09:38 -0400 Date: Tue, 20 Mar 2018 13:09:36 +0100 From: Andrew Lunn To: Frantisek Rysanek Cc: netdev@vger.kernel.org Subject: Re: HW question: i210 vs. BCM5461S over SGMII: no response from PHY to MDIO requests? Message-ID: <20180320120936.GA19142@lunn.ch> References: <5AAD92D1.16223.367B9940@Frantisek.Rysanek.post.cz> <20180318144053.GA1188@lunn.ch> <5AB0CE14.3307.431B163E@Frantisek.Rysanek.post.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5AB0CE14.3307.431B163E@Frantisek.Rysanek.post.cz> Sender: netdev-owner@vger.kernel.org List-ID: > i2cdetect has found three i2c slaves (identical layout in both SFP's) > at addresses 0x50, 0x51 and 0x56. > What are they? EEPROM, DDM and "MDIO over i2c" ? > The SFP's likely lack a proper SFP MSA data structure. 0x50 and 0x51 are EEPROM like. See drivers/net/phy/sfp.c. The standard at24 EEPROM driver can also read it. And so should the SFP code in the igb driver! > Does this make sense as some sort of proprietary standard > (Cisco, if I should take the vendor's label at face value), > or is this likely some "3rd-party innovation thinko", not worth > implementing? See if drivers/net/phy/mdio-i2c.c is useful. I'm just guessing here. Andrew