Skip to content

Commit 451e5b9

Browse files
frank-wtabrisnet
authored andcommitted
1 parent 15ffad0 commit 451e5b9

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

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
{
@@ -517,7 +524,7 @@ static const struct sfp_quirk sfp_quirks[] = {
517524
// Huawei MA5671A can operate at 2500base-X, but report 1.2GBd NRZ in
518525
// their EEPROM
519526
SFP_QUIRK("HUAWEI", "MA5671A", sfp_quirk_2500basex,
520-
sfp_fixup_ignore_tx_fault),
527+
sfp_fixup_huawei),
521528

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

0 commit comments

Comments
 (0)