Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Vladimir A. Barinov" <vbarinov@ru.mvista.com>
To: linux-mips@linux-mips.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] Ethernet for TX4927(37) platform
Date: Wed, 14 Sep 2005 16:55:31 +0400	[thread overview]
Message-ID: <43281DC3.8010602@ru.mvista.com> (raw)
In-Reply-To: <17191.61757.80884.8289@mips.com>

[-- Attachment #1: Type: text/plain, Size: 128 bytes --]

Hello All!

This as a patch to add ethernet support for TX4927 platform.
Does it makes sence to push it in?

Regards,
Vladimir


[-- Attachment #2: pro_mips_tx4927_ethernet.patch --]
[-- Type: text/plain, Size: 1105 bytes --]

 Signed-off-by: Vladimir Barinov <vbarinov@ru.mvista.com>
 Description:
        Ethernet support for TX4927/37 platform in 2.6.
                                                                                                                                                             
Index: linux-2.6.10/drivers/net/ne.c
===================================================================
--- linux-2.6.10.orig/drivers/net/ne.c
+++ linux-2.6.10/drivers/net/ne.c
@@ -54,7 +54,9 @@ 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_RBTX4927)
+#include <asm/tx4927/toshiba_rbtx4927.h>
+#elif defined(CONFIG_TOSHIBA_RBTX4938)
 #include <asm/tx4938/rbtx4938.h>
 #endif
 
@@ -237,6 +239,10 @@ struct net_device * __init ne_probe(int 
 	dev->base_addr = 0x07f20280;
 	dev->irq = RBTX4938_RTL_8019_IRQ;
 #endif
+#ifdef CONFIG_TOSHIBA_RBTX4927
+	dev->base_addr = RBTX4927_RTL_8019_BASE;
+	dev->irq = RBTX4927_RTL_8019_IRQ;
+#endif
 	err = do_ne_probe(dev);
 	if (err)
 		goto out;

  reply	other threads:[~2005-09-14 12:55 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-13 12:45 Git Ralf Baechle
2005-09-13 12:15 ` Git sjhill
2005-09-13 13:21   ` Git Ralf Baechle
2005-09-13 13:34   ` Git Jan-Benedict Glaw
2005-09-13 14:50     ` Git Thiemo Seufer
2005-09-13 13:31 ` Git Jan-Benedict Glaw
2005-09-13 15:20   ` Git Ralf Baechle
2005-09-14  9:45     ` Git Dominic Sweetman
2005-09-14 12:55       ` Vladimir A. Barinov [this message]
2005-09-14 13:02         ` [PATCH] RTC for TX4927(37) platform Vladimir A. Barinov
2005-09-14 13:04           ` [PATCH] Remove compile warnings " Vladimir A. Barinov
2005-09-14 13:08             ` [PATCH] Fix module insertion fail for TX4927/TX4938 platforms Vladimir A. Barinov
2005-09-14 15:17         ` [PATCH] Ethernet for TX4927(37) platform Jan-Benedict Glaw
2005-09-14  9:58     ` Git Jan-Benedict Glaw
2005-09-14 11:23       ` Git Geert Uytterhoeven
2005-09-14 11:46         ` Git Jan-Benedict Glaw
2005-09-14 12:37       ` Git Ralf Baechle
2005-09-14 13:01         ` Git Thiemo Seufer
2005-09-14 15:21         ` Git Jan-Benedict Glaw
2005-09-14 15:27           ` Git Nigel Stephens
2005-09-14 15:44             ` Git Jan-Benedict Glaw
2005-09-13 18:43   ` Git Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43281DC3.8010602@ru.mvista.com \
    --to=vbarinov@ru.mvista.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox