From: "stanley.miao" <stanley.miao@windriver.com>
To: Steve.Glendinning@smsc.com
Cc: davem@davemloft.net, linux-omap@vger.kernel.org,
netdev@vger.kernel.org, netdev-owner@vger.kernel.org
Subject: Re: [PATCH 1/2] Add SMC_MEM_RESERVED for OMAP platform.
Date: Tue, 18 Nov 2008 09:37:41 +0800 [thread overview]
Message-ID: <1226972261.14497.4.camel@localhost> (raw)
In-Reply-To: <OF1AFB43DD.9BED76B1-ON80257504.00386A7C-80257504.0039CC57@smsc.com>
On Mon, 2008-11-17 at 10:31 +0000, Steve.Glendinning@smsc.com wrote:
> Hi Stanley,
>
> Jeff has merged the smsc911x driver into -next, this is intended to
> replace smc911x moving forward. I'll forward the patchset to you
> off-list, it includes platform_data support for several platforms so
> adding support for omap should be simple.
OK, Thanks.
Stanley.
>
> > diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h
> > index cc7d85b..d1b3b9b 100644
> > --- a/drivers/net/smc911x.h
> > +++ b/drivers/net/smc911x.h
> > @@ -42,6 +42,16 @@
> > #define SMC_USE_16BIT 0
> > #define SMC_USE_32BIT 1
> > #define SMC_IRQ_SENSE IRQF_TRIGGER_LOW
> > +#elif defined(CONFIG_ARCH_OMAP34XX)
> > + #define SMC_USE_16BIT 0
> > + #define SMC_USE_32BIT 1
> > + #define SMC_IRQ_SENSE IRQF_TRIGGER_LOW
> > + #define SMC_MEM_RESERVED 1
> > +#elif defined(CONFIG_ARCH_OMAP24XX)
> > + #define SMC_USE_16BIT 0
> > + #define SMC_USE_32BIT 1
> > + #define SMC_IRQ_SENSE IRQF_TRIGGER_LOW
> > + #define SMC_MEM_RESERVED 1
> > #else
> > /*
> > * Default configuration
>
> nack - this platform-specific configuration shouldn't be in the driver,
> SMC_DYNAMIC_BUS_CONFIG was added so this can be specified in
> platform_data.
>
> Regards,
> --
> Steve Glendinning
> SMSC GmbH
> m: +44 777 933 9124
> e: steve.glendinning@smsc.com
>
next prev parent reply other threads:[~2008-11-18 1:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 9:29 [PATCH 1/2] Add SMC_MEM_RESERVED for OMAP platform Stanley.Miao
2008-11-17 9:29 ` [PATCH 2/2] smc911x: Add support for LAN9211 chips from SMSC Stanley.Miao
2008-11-17 10:31 ` [PATCH 1/2] Add SMC_MEM_RESERVED for OMAP platform Steve.Glendinning
2008-11-18 1:37 ` stanley.miao [this message]
[not found] <OF0160BDDA.D8B59B44-ON8025753D.0059A9A7-8025753D.0059ADBB@smsc.com>
2009-01-14 5:20 ` stanley.miao
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=1226972261.14497.4.camel@localhost \
--to=stanley.miao@windriver.com \
--cc=Steve.Glendinning@smsc.com \
--cc=davem@davemloft.net \
--cc=linux-omap@vger.kernel.org \
--cc=netdev-owner@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).