Patchwork fec: Fix KS8721BL_ICSR phy register offset

login
register
mail settings
Submitter y@pengutronix.de
Date Jan. 27, 2009, 10:24 a.m.
Message ID <1233051848-5994-7-git-send-email-y>
Download mbox | patch
Permalink /patch/20426/
State Superseded
Delegated to: David Miller
Headers show

Comments

y@pengutronix.de - Jan. 27, 2009, 10:24 a.m.
From: Sascha Hauer <s.hauer@pengutronix.de>

According to the datasheet the ICSR register is at offset 27, not 22.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/net/fec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index d7ba07c..f36ee43 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[] = {