Re: [PATCH 2.6.9-rc4-mm1] [m32r] Fix smc91x driver for m32r

From: Hirokazu Takata
Date: Tue Oct 12 2004 - 22:17:20 EST


From: Jeff Garzik <jgarzik@xxxxxxxxx>
Subject: Re: [PATCH 2.6.9-rc4-mm1] [m32r] Fix smc91x driver for m32r
Date: Tue, 12 Oct 2004 22:08:11 -0400
> Hirokazu Takata wrote:
> > Please throw away this patch and retrieve the previous
> > m32r-trivial-fix-of-smc91xh.patch again,
> > if the above patch "[PATCH] net: fix smc91x build for sh/ppc" is applied.
>
>
> Would you be kind enough to send me this patch?
>
> Jeff

OK. I will send you again, Jeff.

This patch has been already applied to 2.6.9-rc4-mm1 kernel and
you can also find it as
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc4/2.6.9-rc4-mm1/broken-out/m32r-trivial-fix-of-smc91xh.patch

Thanks.


To: Andrew Morton <akpm@xxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx, takata@xxxxxxxxxxxxxx
Subject: [PATCH 2.6.9-rc2-mm2] [m32r] Trivial fix of smc91x.h
----
Hello,

Here is a patch to fix smc91x.h for m32r.
Please apply.

Thanks.

* drivers/net/smc91x.h:
Fix LED control.

Signed-off-by: Hayato Fujiwara <fujiwara@xxxxxxxxxxxxxx>
Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
---

smc91x.h | 3 +++
1 files changed, 3 insertions(+)

diff -ruNp a/drivers/net/smc91x.h b/drivers/net/smc91x.h
--- a/drivers/net/smc91x.h 2004-09-23 10:11:08.000000000 +0900
+++ b/drivers/net/smc91x.h 2004-09-23 13:16:42.000000000 +0900
@@ -216,6 +216,9 @@ static inline void SMC_outsw (unsigned l
#define SMC_insw(a, r, p, l) insw((a) + (r) - 0xa0000000, p, l)
#define SMC_outsw(a, r, p, l) outsw((a) + (r) - 0xa0000000, p, l)

+#define RPC_LSA_DEFAULT RPC_LED_TX_RX
+#define RPC_LSB_DEFAULT RPC_LED_100_10
+
#elif defined(CONFIG_MACH_LPD7A400) || defined(CONFIG_MACH_LPD7A404)

#include <asm/arch/constants.h> /* IOBARRIER_VIRT */

--
Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Linux/M32R Project: http://www.linux-m32r.org/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/