From: "stanley.miao" <stanley.miao@windriver.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: netdev@vger.kernel.org, Steve.Glendinning@smsc.com,
linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: [PATCHv2] smsc911x: add irq_flags in smsc911x_platform_config.
Date: Thu, 15 Jan 2009 10:45:52 +0800 [thread overview]
Message-ID: <1231987552.6810.18.camel@localhost> (raw)
In-Reply-To: <20090114170731.GH22976@n2100.arm.linux.org.uk>
Steve sent another patch to replace this patch.
Stanley.
On Wed, 2009-01-14 at 17:07 +0000, Russell King - ARM Linux wrote:
> On Wed, Jan 14, 2009 at 02:58:00PM +0800, Stanley.Miao wrote:
> > When calling request IRQ it is desirable to allow platforms
> > to specific flags for the call to request_irq. Adding irq_flags
> > to smsc911x_platform_config allows these flags to be passed.
>
> Yay, it's finally come through.
>
> > @@ -1968,8 +1969,9 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
> > smsc911x_reg_write(pdata, INT_EN, 0);
> > smsc911x_reg_write(pdata, INT_STS, 0xFFFFFFFF);
> >
> > - retval = request_irq(dev->irq, smsc911x_irqhandler, IRQF_DISABLED,
> > - dev->name, dev);
> > + irq_flags = IRQF_DISABLED | pdata->config.irq_flags;
> > + retval = request_irq(dev->irq, smsc911x_irqhandler, irq_flags,
> > + dev->name, dev);
>
> Same comments as for the other driver.
prev parent reply other threads:[~2009-01-15 2:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 6:58 [PATCHv2] smsc911x: add irq_flags in smsc911x_platform_config Stanley.Miao
2009-01-14 8:54 ` Steve.Glendinning
2009-01-14 9:30 ` David Miller
2009-01-14 9:52 ` Steve.Glendinning
2009-01-14 10:05 ` Russell King - ARM Linux
2009-01-14 10:11 ` Steve.Glendinning
2009-01-14 10:11 ` David Miller
2009-01-14 10:14 ` Russell King - ARM Linux
2009-01-14 10:22 ` stanley.miao
2009-01-14 10:17 ` Russell King - ARM Linux
2009-01-14 10:19 ` David Miller
2009-01-14 10:22 ` Russell King - ARM Linux
2009-01-14 10:19 ` Russell King - ARM Linux
2009-01-14 17:07 ` Russell King - ARM Linux
2009-01-15 2:45 ` stanley.miao [this message]
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=1231987552.6810.18.camel@localhost \
--to=stanley.miao@windriver.com \
--cc=Steve.Glendinning@smsc.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux@arm.linux.org.uk \
--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).