[PATCH] Fix broken RBTX4927 support in ne.c

2007-02-28 Thread Atsushi Nemoto
There are some ifdefs for RBTX4927, but need some more bits.

Signed-off-by: Atsushi Nemoto [EMAIL PROTECTED]
---
diff --git a/drivers/net/ne.c b/drivers/net/ne.c
index a5c4199..02cc78b 100644
--- a/drivers/net/ne.c
+++ b/drivers/net/ne.c
@@ -55,8 +55,10 @@ static const char version2[] =
 #include asm/system.h
 #include asm/io.h
 
-#if defined(CONFIG_TOSHIBA_RBTX4927) || defined(CONFIG_TOSHIBA_RBTX4938)
+#if defined(CONFIG_TOSHIBA_RBTX4938)
 #include asm/tx4938/rbtx4938.h
+#elif defined(CONFIG_TOSHIBA_RBTX4927)
+#include asm/tx4927/toshiba_rbtx4927.h
 #endif
 
 #include 8390.h
@@ -229,6 +231,9 @@ struct net_device * __init ne_probe(int unit)
 #ifdef CONFIG_TOSHIBA_RBTX4938
dev-base_addr = RBTX4938_RTL_8019_BASE;
dev-irq = RBTX4938_RTL_8019_IRQ;
+#elif defined(CONFIG_TOSHIBA_RBTX4927)
+   dev-base_addr = RBTX4927_RTL_8019_BASE;
+   dev-irq = RBTX4927_RTL_8019_IRQ;
 #endif
err = do_ne_probe(dev);
if (err)
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Fix broken RBTX4927 support in ne.c

2007-02-28 Thread Ralf Baechle
On Thu, Mar 01, 2007 at 01:22:23AM +0900, Atsushi Nemoto wrote:

 There are some ifdefs for RBTX4927, but need some more bits.

Acked-by: Ralf Baechle [EMAIL PROTECTED]

Longer term I think NE2000 will need to support platform_devices.  It's
been used too widely in too creative ways and we don't want all the
clutter to deal with that in ne.c.

  Ralf
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html