提交 0e3a64e2 编写于 作者: R Russell King 提交者: Russell King

[ARM] Fix EBSA110 network driver link detection

EBSA110 link detection didn't read the register - it wrote it.  Oops.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 b620cc2c
...@@ -85,7 +85,7 @@ static inline unsigned short read_ireg(u_long base_addr, u_int reg) ...@@ -85,7 +85,7 @@ static inline unsigned short read_ireg(u_long base_addr, u_int reg)
u_short v; u_short v;
__asm__( __asm__(
"str%?h %1, [%2] @ NAT_RAP\n\t" "str%?h %1, [%2] @ NAT_RAP\n\t"
"str%?h %0, [%2, #8] @ NET_IDP\n\t" "ldr%?h %0, [%2, #8] @ NET_IDP\n\t"
: "=r" (v) : "=r" (v)
: "r" (reg), "r" (ISAIO_BASE + 0x0464)); : "r" (reg), "r" (ISAIO_BASE + 0x0464));
return v; return v;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册