netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Yusuke.Goda" <goda.yusuke@renesas.com>
To: netdev@vger.kernel.org
Cc: linux-sh@vger.kernel.org
Subject: smc911x: Add AP325RXA board support
Date: Wed, 04 Jun 2008 19:54:03 +0900	[thread overview]
Message-ID: <4846744B.4000407@renesas.com> (raw)

This patch adds AP325RXA board support to scc911x driver.

Signed-off-by: Yusuke Goda <goda.yusuke@renesas.com>
---
 drivers/net/Kconfig   |    2 +-
 drivers/net/smc911x.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index dd0ec9e..b618d8e 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -955,7 +955,7 @@ config SMC911X
 	tristate "SMSC LAN911[5678] support"
 	select CRC32
 	select MII
-	depends on ARCH_PXA || SH_MAGIC_PANEL_R2
+	depends on ARCH_PXA || SH_MAGIC_PANEL_R2 || SH_AP325RXA
 	help
 	  This is a driver for SMSC's LAN911x series of Ethernet chipsets
 	  including the new LAN9115, LAN9116, LAN9117, and LAN9118.
diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h
index 7defa63..d45be9c 100644
--- a/drivers/net/smc911x.h
+++ b/drivers/net/smc911x.h
@@ -37,7 +37,7 @@
   #define SMC_USE_16BIT		0
   #define SMC_USE_32BIT		1
   #define SMC_IRQ_SENSE		IRQF_TRIGGER_FALLING
-#elif defined(CONFIG_SH_MAGIC_PANEL_R2)
+#elif defined(CONFIG_SH_MAGIC_PANEL_R2) || defined(CONFIG_SH_AP325RXA)
   #define SMC_USE_SH_DMA	0
   #define SMC_USE_16BIT		0
   #define SMC_USE_32BIT		1
-- 
1.5.4.5


             reply	other threads:[~2008-06-04 10:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04 10:54 Yusuke.Goda [this message]
     [not found] ` <aec7e5c30806041855j604311b8xad79d9050897d0f1@mail.gmail.com>
2008-06-05  3:00   ` smc911x: Add AP325RXA board support Yusuke.Goda

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=4846744B.4000407@renesas.com \
    --to=goda.yusuke@renesas.com \
    --cc=linux-sh@vger.kernel.org \
    --cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).