Commit 96a734ba authored by Mark Cave-Ayland's avatar Mark Cave-Ayland Committed by David S. Miller

sunhme: fix up GREG_STAT and GREG_IMASK register offsets

Update the values to match those from the STP2002QFP documentation.
Signed-off-by: default avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9975a54b
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
/* Happy Meal global registers. */ /* Happy Meal global registers. */
#define GREG_SWRESET 0x000UL /* Software Reset */ #define GREG_SWRESET 0x000UL /* Software Reset */
#define GREG_CFG 0x004UL /* Config Register */ #define GREG_CFG 0x004UL /* Config Register */
#define GREG_STAT 0x108UL /* Status */ #define GREG_STAT 0x100UL /* Status */
#define GREG_IMASK 0x10cUL /* Interrupt Mask */ #define GREG_IMASK 0x104UL /* Interrupt Mask */
#define GREG_REG_SIZE 0x110UL #define GREG_REG_SIZE 0x108UL
/* Global reset register. */ /* Global reset register. */
#define GREG_RESET_ETX 0x01 #define GREG_RESET_ETX 0x01
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment