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:
b620cc2
)
[ARM] Fix EBSA110 network driver link detection
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sun, 2 Oct 2005 17:02:25 +0000
(18:02 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 2 Oct 2005 17:02:25 +0000
(18:02 +0100)
EBSA110 link detection didn't read the register - it wrote it. Oops.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/net/arm/am79c961a.c
patch
|
blob
|
history
diff --git
a/drivers/net/arm/am79c961a.c
b/drivers/net/arm/am79c961a.c
index 9b659e3c8d674280bc283dd99f7a872c7b2b7d0d..9f6eb39cf492b59f984f7d69767430ed4e48dbed 100644
(file)
--- a/
drivers/net/arm/am79c961a.c
+++ b/
drivers/net/arm/am79c961a.c
@@
-85,7
+85,7
@@
static inline unsigned short read_ireg(u_long base_addr, u_int reg)
u_short v;
__asm__(
"str%?h %1, [%2] @ NAT_RAP\n\t"
- "
st
r%?h %0, [%2, #8] @ NET_IDP\n\t"
+ "
ld
r%?h %0, [%2, #8] @ NET_IDP\n\t"
: "=r" (v)
: "r" (reg), "r" (ISAIO_BASE + 0x0464));
return v;