Skip to content
Snippets Groups Projects
Commit 3cee1388 authored by Codrin Ciubotariu's avatar Codrin Ciubotariu Committed by Joe Hershberger
Browse files

net: phy: realtek: Disable interrupt on Realtek Ethernet PHY drivers


Some Realtek Ethernet PHYs, like RTL8211D(G/N) and RTL8211E(G), have
interrupts enabled by default. If the interrupt is not treated later by
the OS and the PHY's interrupt line is enabled and shared with other
interrupts, the system will get an interrupt storm. This patch disables
the interrupt for PHY devices that use one of the current Realtek
Ethernet PHY drivers. Some of Realtek Ethernet PHYs, such as RTL8211B(L)
have the interrupt masked. In this case, the functionality of the PHY
should not be afected since this patch brings INER and INSR registers to
their default values.

Signed-off-by: default avatarCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 1733259d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment