]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
fec: Fix KS8721BL_ICSR phy register offset
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 28 Jan 2009 23:03:08 +0000 (23:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Feb 2009 08:58:24 +0000 (00:58 -0800)
According to the datasheet the ICSR register is at offset 27, not 22.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec.c

index 46a441a9c644c885a967ee67aa1a51b3334e4fe7..cab07eced06eb894aac9de9a8b42143503ec876b 100644 (file)
@@ -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[] = {