diff options
author | Codrin Ciubotariu <codrin.ciubotariu@freescale.com> | 2015-02-13 14:47:58 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2015-04-20 17:57:11 -0500 |
commit | 3cee1388927015fc96edcd6e3ed707cb3a5fa26b (patch) | |
tree | 543cce278c8d469f9db1660651b20f28e28415c2 /drivers/net/rtl8169.c | |
parent | 1733259d25015c28c47990ec11af99b3f62f811c (diff) | |
download | u-boot-imx-3cee1388927015fc96edcd6e3ed707cb3a5fa26b.zip u-boot-imx-3cee1388927015fc96edcd6e3ed707cb3a5fa26b.tar.gz u-boot-imx-3cee1388927015fc96edcd6e3ed707cb3a5fa26b.tar.bz2 |
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: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/rtl8169.c')
0 files changed, 0 insertions, 0 deletions