[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091129.234758.147268701.davem@davemloft.net>
Date: Sun, 29 Nov 2009 23:47:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.y.miao@...il.com
Cc: linux@....linux.org.uk, nico@...xnic.net, netdev@...r.kernel.org
Subject: Re: [PATCH] NET: smc91x: Fix irq flags
From: Eric Miao <eric.y.miao@...il.com>
Date: Sat, 28 Nov 2009 23:15:13 +0800
> On Sat, Nov 28, 2009 at 6:13 PM, Russell King - ARM Linux
> <linux@....linux.org.uk> wrote:
>> smc91x.h defines SMC_IRQ_FLAGS to be -1 when it wants the interrupt
>> flags to be taken from the resource structure. .,A .(BHowever, d280ead
>> changed this to checking for non-zero resource flags.
>>
>> Unfortunately, this means that on some platforms, we end up passing
>> '-1' to request_irq rather than the desired result. .,A .(BCombine the two
>> conditions into one so that the IRQ flags are taken from the resource
>> if either SMC_IRQ_FLAGS is -1 or the resource flags specify an
>> interrupt trigger.
>>
>> This restores network on at least the Versatile platform.
>>
>> Signed-off-by: Russell King <rmk+kernel@....linux.org.uk>
>
> Acked-by: Eric Miao <eric.y.miao@...il.com>
Applied and queued up for -stable, thanks.
--
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