diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-10-02 13:02:25 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-02 13:02:25 -0400 |
commit | 0e3a64e2162f971180bf1fdd91c263dbdfcfd385 (patch) | |
tree | 094b9c00b2b2f79a90aff52dd7aeaef979ae74de /drivers/net/arm | |
parent | b620cc2cd80393b9a0f9a76806cb7f9e91671dac (diff) |
[ARM] Fix EBSA110 network driver link detection
EBSA110 link detection didn't read the register - it wrote it. Oops.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/net/arm')
-rw-r--r-- | drivers/net/arm/am79c961a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/arm/am79c961a.c b/drivers/net/arm/am79c961a.c index 9b659e3c8d67..9f6eb39cf492 100644 --- 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) | |||
85 | u_short v; | 85 | u_short v; |
86 | __asm__( | 86 | __asm__( |
87 | "str%?h %1, [%2] @ NAT_RAP\n\t" | 87 | "str%?h %1, [%2] @ NAT_RAP\n\t" |
88 | "str%?h %0, [%2, #8] @ NET_IDP\n\t" | 88 | "ldr%?h %0, [%2, #8] @ NET_IDP\n\t" |
89 | : "=r" (v) | 89 | : "=r" (v) |
90 | : "r" (reg), "r" (ISAIO_BASE + 0x0464)); | 90 | : "r" (reg), "r" (ISAIO_BASE + 0x0464)); |
91 | return v; | 91 | return v; |