lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <TYCPR01MB843714CF627B46DFA06E471B98732@TYCPR01MB8437.jpnprd01.prod.outlook.com>
Date: Sun, 6 Oct 2024 00:04:29 +0800
From: Shengyu Qu <wiagn233@...look.com>
To: linux@...linux.org.uk, andrew@...n.ch, hkallweit1@...il.com,
 davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
 pabeni@...hat.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: wiagn233@...look.com
Subject: [PATCH v1] net: sfp: change quirks for Alcatel Lucent G-010S-P

Seems Alcatel Lucent G-010S-P also have the same problem that it uses
TX_FAULT pin for SOC uart. So apply sfp_fixup_ignore_tx_fault to it.

Signed-off-by: Shengyu Qu <wiagn233@...look.com>
---
   drivers/net/phy/sfp.c | 3 ++-
   1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index a5684ef5884bd..dcec92625cf65 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -466,7 +466,8 @@ static void sfp_quirk_ubnt_uf_instant(const struct sfp_eeprom_id *id,
   static const struct sfp_quirk sfp_quirks[] = {
          // Alcatel Lucent G-010S-P can operate at 2500base-X, but incorrectly
          // report 2500MBd NRZ in their EEPROM
-       SFP_QUIRK_M("ALCATELLUCENT", "G010SP", sfp_quirk_2500basex),
+       SFP_QUIRK("ALCATELLUCENT", "G010SP", sfp_quirk_2500basex,
+                 sfp_fixup_ignore_tx_fault),

          // Alcatel Lucent G-010S-A can operate at 2500base-X, but report 3.2GBd
          // NRZ in their EEPROM
--
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ