lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 15 Jan 2009 10:45:52 +0800
From:	"stanley.miao" <stanley.miao@...driver.com>
To:	Russell King - ARM Linux <linux@....linux.org.uk>
Cc:	netdev@...r.kernel.org, Steve.Glendinning@...c.com,
	linux-arm-kernel@...ts.arm.linux.org.uk
Subject: Re: [PATCHv2] smsc911x: add irq_flags in smsc911x_platform_config.

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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ