mtk_sgmii: enable PCS polling to allow SFP work
authorAlexander Couzens <lynxis@fe80.eu>
Wed, 1 Feb 2023 18:23:31 +0000 (19:23 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Feb 2023 19:55:53 +0000 (11:55 -0800)
commit3337a6e04ddf2923a1bdcf3d31b3b52412bf82dd
treed0667dab3567b9e3e4adecf54f324c20d005df5d
parent9d32637122de88f1ef614c29703f0e050cad342e
mtk_sgmii: enable PCS polling to allow SFP work

Currently there is no IRQ handling (even the SGMII supports it).
Enable polling to support SFP ports.

Fixes: 14a44ab0330d ("net: mtk_eth_soc: partially convert to phylink_pcs")
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
[ bmork: changed "1" => "true" ]
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Daniel Golle <daniel@makrotopia.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_sgmii.c