mbox series

[RESEND,net-next,0/2] Add support for VSOL V2801F/CarlitoxxPro CPGOS03 GPON module

Message ID 20201209112152.GT1551@shell.armlinux.org.uk
Headers show
Series Add support for VSOL V2801F/CarlitoxxPro CPGOS03 GPON module | expand

Message

Russell King (Oracle) Dec. 9, 2020, 11:21 a.m. UTC
Hi,

This patch set adds support for the V2801F / CarlitoxxPro module. This
requires two changes:

1) the module only supports single byte reads to the ID EEPROM,
   while we need to still permit sequential reads to the diagnostics
   EEPROM for atomicity reasons.

2) we need to relax the encoding check when we have no reported
   capabilities to allow 1000base-X based on the module bitrate.

Thanks to Pali Rohár for responsive testing over the last two days.

(Resending, dropping the utf-8 characters in Pali's name so the patches
 get through vger. Added Andrew's r-b tags.)

 drivers/net/phy/sfp-bus.c | 11 ++++-----
 drivers/net/phy/sfp.c     | 63 +++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 63 insertions(+), 11 deletions(-)

Comments

David Miller Dec. 10, 2020, 3:38 a.m. UTC | #1
From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Date: Wed, 9 Dec 2020 11:21:52 +0000

> Hi,
> 
> This patch set adds support for the V2801F / CarlitoxxPro module. This
> requires two changes:
> 
> 1) the module only supports single byte reads to the ID EEPROM,
>    while we need to still permit sequential reads to the diagnostics
>    EEPROM for atomicity reasons.
> 
> 2) we need to relax the encoding check when we have no reported
>    capabilities to allow 1000base-X based on the module bitrate.
> 
> Thanks to Pali Rohár for responsive testing over the last two days.
> 
> (Resending, dropping the utf-8 characters in Pali's name so the patches
>  get through vger. Added Andrew's r-b tags.)
Series applied, thanks.