From e08ffc658519c40cd42187b39fbccf59cad35108 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 12 Feb 2016 10:37:07 +0100 Subject: [PATCH] kernel: enable realtek phy - set interrupt control to 0x0400 instead 0x6400 (upstream for RTL8211E) --- kernel/drivers/net/phy/realtek.c | 2 +- patches/kernel.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/drivers/net/phy/realtek.c b/kernel/drivers/net/phy/realtek.c index 082e900e..55227918 100644 --- a/kernel/drivers/net/phy/realtek.c +++ b/kernel/drivers/net/phy/realtek.c @@ -19,7 +19,7 @@ #define RTL821x_PHYSR_DUPLEX 0x2000 #define RTL821x_PHYSR_SPEED 0xc000 #define RTL821x_INER 0x12 -#define RTL821x_INER_INIT 0x6400 +#define RTL821x_INER_INIT 0x0400 #define RTL821x_INSR 0x13 #define RTL821x_PHYCR 0x10 diff --git a/patches/kernel.config b/patches/kernel.config index ab2665a2..037691c7 100644 --- a/patches/kernel.config +++ b/patches/kernel.config @@ -729,7 +729,7 @@ CONFIG_PHYLIB=y # CONFIG_SMSC_PHY is not set # CONFIG_BROADCOM_PHY is not set # CONFIG_ICPLUS_PHY is not set -# CONFIG_REALTEK_PHY is not set +CONFIG_REALTEK_PHY=y # CONFIG_NATIONAL_PHY is not set # CONFIG_STE10XP is not set # CONFIG_LSI_ET1011C_PHY is not set