projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9975a54
)
sunhme: fix up GREG_STAT and GREG_IMASK register offsets
author
Mark Cave-Ayland
<
[email protected]
>
Thu, 27 Jul 2017 16:26:00 +0000
(17:26 +0100)
committer
David S. Miller
<
[email protected]
>
Mon, 31 Jul 2017 23:23:05 +0000
(16:23 -0700)
Update the values to match those from the STP2002QFP documentation.
Signed-off-by: Mark Cave-Ayland <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/sun/sunhme.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sun/sunhme.h
b/drivers/net/ethernet/sun/sunhme.h
index 3af540adb3c58e83b4265c77fa436d7d44da06c7..fca1bca7f69d1c4c1307c1cc7e2a11f80d6ec866 100644
(file)
--- a/
drivers/net/ethernet/sun/sunhme.h
+++ b/
drivers/net/ethernet/sun/sunhme.h
@@
-13,9
+13,9
@@
/* Happy Meal global registers. */
#define GREG_SWRESET 0x000UL /* Software Reset */
#define GREG_CFG 0x004UL /* Config Register */
-#define GREG_STAT 0x10
8
UL /* Status */
-#define GREG_IMASK 0x10
c
UL /* Interrupt Mask */
-#define GREG_REG_SIZE 0x1
10
UL
+#define GREG_STAT 0x10
0
UL /* Status */
+#define GREG_IMASK 0x10
4
UL /* Interrupt Mask */
+#define GREG_REG_SIZE 0x1
08
UL
/* Global reset register. */
#define GREG_RESET_ETX 0x01