Re: [PATCH net-next v2 03/13] net: phy: sfp: warn the user when no tx_disable pin is available
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2018-05-05 20:38:41
Also in:
linux-arm-kernel, lkml
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2018-05-05 20:38:41
Also in:
linux-arm-kernel, lkml
On May 4, 2018 10:14:25 AM PDT, Andrew Lunn [off-list ref] wrote:
On Fri, May 04, 2018 at 10:07:53AM -0700, Florian Fainelli wrote:quoted
On 05/04/2018 06:56 AM, Antoine Tenart wrote:quoted
In case no Tx disable pin is available the SFP modules will alwaysbequoted
quoted
emitting. This could be an issue when using modules using laser astheirquoted
quoted
light source as we would have no way to disable it when the fiberisquoted
quoted
removed. This patch adds a warning when registering an SFP cagewhich doquoted
quoted
not have its tx_disable pin wired or available.Is this something that was done in a possibly earlier revision of a given board design and which was finally fixed? Nothing wrong withthequoted
patch, but this seems like a pretty serious board design mistake,thatquoted
needs to be addressed.Hi Florian Zii Devel B is like this. Only the "Signal Detect" pin is wired to a GPIO.
Good point, indeed. BTW what do you think about exposing the SFF's EEPROM and diagnostics through the standard ethtool operations even if we have to keep the description of the SFF as a fixed link in Device Tree because of the unfortunate wiring? -- Florian