]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: dp83822: disable MDI crossover status change interrupt
authorFelix Riemann <felix.riemann@sma.de>
Tue, 18 Oct 2022 10:47:54 +0000 (12:47 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Oct 2022 01:46:17 +0000 (18:46 -0700)
commit651e599e77a36b4f345d4c77205d1ffaaa19edfa
tree0a8af85a8fee149d3b559f78b04325048c185227
parent5490facf78855727dc68044735f876053176c146
net: phy: dp83822: disable MDI crossover status change interrupt

If the cable is disconnected the PHY seems to toggle between MDI and
MDI-X modes. With the MDI crossover status interrupt active this causes
roughly 10 interrupts per second.

As the crossover status isn't checked by the driver, the interrupt can
be disabled to reduce the interrupt load.

Fixes: e8b8b88d5f4a ("net: phy: DP83822 initial driver submission")
Signed-off-by: Felix Riemann <felix.riemann@sma.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20221018104755.30025-1-svc.sw.rte.linux@sma.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/dp83822.c