netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sfp module DFP-34X-2C2 at 2500
@ 2024-01-04 13:10 Sergio Palumbo
  2024-01-04 14:15 ` Andrew Lunn
  2024-01-04 14:53 ` Daniel Golle
  0 siblings, 2 replies; 4+ messages in thread
From: Sergio Palumbo @ 2024-01-04 13:10 UTC (permalink / raw)
  To: netdev

diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 2abc155dc5cf8..a14f61bab256f 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -495,6 +495,9 @@ static const struct sfp_quirk sfp_quirks[] = {
        // 2500MBd NRZ in their EEPROM
        SFP_QUIRK_M("Lantech", "8330-262D-E", sfp_quirk_2500basex),
 
+       // DFP-34X-2C2 GPON ONU supports 2500base-X
+       SFP_QUIRK_M("OEM", "DFP-34X-2C2", sfp_quirk_2500basex),
+
        SFP_QUIRK_M("UBNT", "UF-INSTANT", sfp_quirk_ubnt_uf_instant),
 
        // Walsun HXSX-ATR[CI]-1 don't identify as copper, and use the

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: sfp module DFP-34X-2C2 at 2500
  2024-01-04 13:10 sfp module DFP-34X-2C2 at 2500 Sergio Palumbo
@ 2024-01-04 14:15 ` Andrew Lunn
  2024-01-04 14:23   ` Russell King (Oracle)
  2024-01-04 14:53 ` Daniel Golle
  1 sibling, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2024-01-04 14:15 UTC (permalink / raw)
  To: Sergio Palumbo; +Cc: netdev, Russell King

On Thu, Jan 04, 2024 at 02:10:43PM +0100, Sergio Palumbo wrote:
> diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
> index 2abc155dc5cf8..a14f61bab256f 100644
> --- a/drivers/net/phy/sfp.c
> +++ b/drivers/net/phy/sfp.c
> @@ -495,6 +495,9 @@ static const struct sfp_quirk sfp_quirks[] = {
>         // 2500MBd NRZ in their EEPROM
>         SFP_QUIRK_M("Lantech", "8330-262D-E", sfp_quirk_2500basex),
>  
> +       // DFP-34X-2C2 GPON ONU supports 2500base-X
> +       SFP_QUIRK_M("OEM", "DFP-34X-2C2", sfp_quirk_2500basex),
> +
>         SFP_QUIRK_M("UBNT", "UF-INSTANT", sfp_quirk_ubnt_uf_instant),
>  
>         // Walsun HXSX-ATR[CI]-1 don't identify as copper, and use the
> 

Hi Sergio

Please read:

https://docs.kernel.org/process/submitting-patches.html

and

https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

There is a formal process you need to go thought when submitting
patches, which these two documents describe.


    Andrew

---
pw-bot: cr

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sfp module DFP-34X-2C2 at 2500
  2024-01-04 14:15 ` Andrew Lunn
@ 2024-01-04 14:23   ` Russell King (Oracle)
  0 siblings, 0 replies; 4+ messages in thread
From: Russell King (Oracle) @ 2024-01-04 14:23 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: Sergio Palumbo, netdev

On Thu, Jan 04, 2024 at 03:15:17PM +0100, Andrew Lunn wrote:
> On Thu, Jan 04, 2024 at 02:10:43PM +0100, Sergio Palumbo wrote:
> > diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
> > index 2abc155dc5cf8..a14f61bab256f 100644
> > --- a/drivers/net/phy/sfp.c
> > +++ b/drivers/net/phy/sfp.c
> > @@ -495,6 +495,9 @@ static const struct sfp_quirk sfp_quirks[] = {
> >         // 2500MBd NRZ in their EEPROM
> >         SFP_QUIRK_M("Lantech", "8330-262D-E", sfp_quirk_2500basex),
> >  
> > +       // DFP-34X-2C2 GPON ONU supports 2500base-X
> > +       SFP_QUIRK_M("OEM", "DFP-34X-2C2", sfp_quirk_2500basex),
> > +
> >         SFP_QUIRK_M("UBNT", "UF-INSTANT", sfp_quirk_ubnt_uf_instant),
> >  
> >         // Walsun HXSX-ATR[CI]-1 don't identify as copper, and use the
> > 
> 
> Hi Sergio
> 
> Please read:
> 
> https://docs.kernel.org/process/submitting-patches.html
> 
> and
> 
> https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
> 
> There is a formal process you need to go thought when submitting
> patches, which these two documents describe.

Indeed. I assume the original didn't have any commit message, sign-off,
and obviously wasn't Cc'd to the appropriate maintainers...

It is worth noting that:

https://hack-gpon.org/ont-odi-realtek-dfp-34x-2c2/

gives a table of the possible host interface modes, which appears to
includes 2500base-X _with_ AN.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sfp module DFP-34X-2C2 at 2500
  2024-01-04 13:10 sfp module DFP-34X-2C2 at 2500 Sergio Palumbo
  2024-01-04 14:15 ` Andrew Lunn
@ 2024-01-04 14:53 ` Daniel Golle
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Golle @ 2024-01-04 14:53 UTC (permalink / raw)
  To: Sergio Palumbo; +Cc: netdev

On Thu, Jan 04, 2024 at 02:10:43PM +0100, Sergio Palumbo wrote:
>

Please use `git format-patch` and send your patch to all receipients
listed by `scripts/get_maintainer.pl`. Please also write a meaningful
patch description and patch title prefixed similar to other commits
adding similar changes to the kernel.


> diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
> index 2abc155dc5cf8..a14f61bab256f 100644
> --- a/drivers/net/phy/sfp.c
> +++ b/drivers/net/phy/sfp.c
> @@ -495,6 +495,9 @@ static const struct sfp_quirk sfp_quirks[] = {
>         // 2500MBd NRZ in their EEPROM
>         SFP_QUIRK_M("Lantech", "8330-262D-E", sfp_quirk_2500basex),
>  
> +       // DFP-34X-2C2 GPON ONU supports 2500base-X
> +       SFP_QUIRK_M("OEM", "DFP-34X-2C2", sfp_quirk_2500basex),
> +
>         SFP_QUIRK_M("UBNT", "UF-INSTANT", sfp_quirk_ubnt_uf_instant),
>  
>         // Walsun HXSX-ATR[CI]-1 don't identify as copper, and use the
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-04 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-04 13:10 sfp module DFP-34X-2C2 at 2500 Sergio Palumbo
2024-01-04 14:15 ` Andrew Lunn
2024-01-04 14:23   ` Russell King (Oracle)
2024-01-04 14:53 ` Daniel Golle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).