Skip to content

Commit

Permalink
sunhme: fix up GREG_STAT and GREG_IMASK register offsets
Browse files Browse the repository at this point in the history
Update the values to match those from the STP2002QFP documentation.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
mcayland authored and davem330 committed Jul 31, 2017
1 parent 9975a54 commit 96a734b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/ethernet/sun/sunhme.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
/* Happy Meal global registers. */
#define GREG_SWRESET 0x000UL /* Software Reset */
#define GREG_CFG 0x004UL /* Config Register */
#define GREG_STAT 0x108UL /* Status */
#define GREG_IMASK 0x10cUL /* Interrupt Mask */
#define GREG_REG_SIZE 0x110UL
#define GREG_STAT 0x100UL /* Status */
#define GREG_IMASK 0x104UL /* Interrupt Mask */
#define GREG_REG_SIZE 0x108UL

/* Global reset register. */
#define GREG_RESET_ETX 0x01
Expand Down

0 comments on commit 96a734b

Please sign in to comment.