[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aEIceGDOnLsEeoo_@shell.armlinux.org.uk>
Date: Thu, 5 Jun 2025 23:38:48 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Chris Morgan <macroalpha82@...il.com>
Cc: netdev@...r.kernel.org, andrew@...n.ch, hkallweit1@...il.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, Chris Morgan <macromorgan@...mail.com>
Subject: Re: [PATCH] net: sfp: add quirk for Potron SFP+ XGSPON ONU Stick
On Thu, Jun 05, 2025 at 05:17:30PM -0500, Chris Morgan wrote:
> +static void sfp_fixup_potron(struct sfp *sfp)
> +{
> + /*
> + * The TX_FAULT and LOS pins on this device are used for serial
> + * communication, so ignore them. Additionally, provide extra
> + * time for this device to fully start up.
> + */
> +
> + sfp_fixup_long_startup(sfp);
> + sfp->state_hw_mask &= ~(SFP_F_TX_FAULT | SFP_F_LOS);
This should be calling sfp_fixup_ignore_tx_fault(), and possibly
sfp_fixup_ignore_los() as well if the module also reports incorrect
soft LOS state or doesn't support soft LOS state reporting.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists