All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix broken RBTX4927 support in ne.c
@ 2007-02-28 16:22 Atsushi Nemoto
  2007-02-28 18:57 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2007-02-28 16:22 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf, sshtylyov, netdev

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

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
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)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix broken RBTX4927 support in ne.c
  2007-02-28 16:22 [PATCH] Fix broken RBTX4927 support in ne.c Atsushi Nemoto
@ 2007-02-28 18:57 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-02-28 18:57 UTC (permalink / raw)
  To: Atsushi Nemoto; +Cc: linux-mips, sshtylyov, netdev

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 <ralf@linux-mips.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-28 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-28 16:22 [PATCH] Fix broken RBTX4927 support in ne.c Atsushi Nemoto
2007-02-28 18:57 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.