From: Alessandro Rubini <rubini-list@gnudd.com>
To: netdev@vger.kernel.org
Cc: andrea.gallo@stericsson.com, STEricsson_nomadik_linux@list.st.com
Subject: [PATCH v2] smc91x.h: add config for Nomadik evaluation kit
Date: Thu, 23 Jul 2009 00:49:08 +0200 [thread overview]
Message-ID: <20090722224908.GA13789@mail.gnudd.com> (raw)
Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
---
[sorry for the repost: I used a non-subscribed address and
forgot to Cc: company people, V2 is otherwise the same as V1]
Base support for the Nomadik SoC, by ST-Ericsson, is already
included in the "nomadik" branch of rmk's tree. This one-liner
enables the 16-bit-only configuration for the chip, as the
default are not working for us
drivers/net/smc91x.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h
index f1f773b..57a159f 100644
--- a/drivers/net/smc91x.h
+++ b/drivers/net/smc91x.h
@@ -186,7 +186,8 @@ static inline void SMC_outw(u16 val, void __iomem *ioaddr, int reg)
#define SMC_outsb(a, r, p, l) writesb((a) + (r), p, (l))
#define SMC_IRQ_FLAGS (-1) /* from resource */
-#elif defined(CONFIG_MACH_LOGICPD_PXA270)
+#elif defined(CONFIG_MACH_LOGICPD_PXA270) \
+ || defined(CONFIG_MACH_NOMADIK_8815NHK)
#define SMC_CAN_USE_8BIT 0
#define SMC_CAN_USE_16BIT 1
--
1.6.0.2
next reply other threads:[~2009-07-22 22:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-22 22:49 Alessandro Rubini [this message]
2009-07-27 2:15 ` [PATCH v2] smc91x.h: add config for Nomadik evaluation kit David Miller
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=20090722224908.GA13789@mail.gnudd.com \
--to=rubini-list@gnudd.com \
--cc=STEricsson_nomadik_linux@list.st.com \
--cc=andrea.gallo@stericsson.com \
--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).