Skip to content

Commit d5a85eb

Browse files
committed
1 parent 2ddea1c commit d5a85eb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

drivers/net/phy/sfp.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,13 @@ static void sfp_fixup_nokia(struct sfp *sfp)
378378
sfp_fixup_ignore_los(sfp);
379379
}
380380

381+
static void sfp_fixup_huawei(struct sfp *sfp)
382+
{
383+
sfp_fixup_ignore_tx_fault(sfp);
384+
sfp_fixup_long_startup(sfp);
385+
sfp_fixup_ignore_los(sfp);
386+
}
387+
381388
// For 10GBASE-T short-reach modules
382389
static void sfp_fixup_10gbaset_30m(struct sfp *sfp)
383390
{
@@ -515,7 +522,7 @@ static const struct sfp_quirk sfp_quirks[] = {
515522
// Huawei MA5671A can operate at 2500base-X, but report 1.2GBd NRZ in
516523
// their EEPROM
517524
SFP_QUIRK("HUAWEI", "MA5671A", sfp_quirk_2500basex,
518-
sfp_fixup_ignore_tx_fault),
525+
sfp_fixup_huawei),
519526

520527
// Lantech 8330-262D-E can operate at 2500base-X, but incorrectly report
521528
// 2500MBd NRZ in their EEPROM

0 commit comments

Comments
 (0)