From: Sascha Hauer Date: Wed, 28 Jan 2009 23:03:08 +0000 (+0000) Subject: fec: Fix KS8721BL_ICSR phy register offset X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43268dcea7512cc10bc2542f20ce37971ecfeb48;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git fec: Fix KS8721BL_ICSR phy register offset According to the datasheet the ICSR register is at offset 27, not 22. Signed-off-by: Sascha Hauer Acked-by: Greg Ungerer Signed-off-by: David S. Miller --- diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 46a441a9c64..cab07eced06 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -1111,7 +1111,7 @@ static phy_info_t const phy_info_am79c874 = { /* register definitions for the 8721 */ #define MII_KS8721BL_RXERCR 21 -#define MII_KS8721BL_ICSR 22 +#define MII_KS8721BL_ICSR 27 #define MII_KS8721BL_PHYCR 31 static phy_cmd_t const phy_cmd_ks8721bl_config[] = {