summaryrefslogtreecommitdiffstats
path: root/Documentation/spinlocks.txt
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2009-11-28 01:13:23 +0100
committerDavid S. Miller <davem@davemloft.net>2009-11-30 08:47:14 +0100
commitd5ccd67bb77ced5249067d05171992a7d5020393 (patch)
tree647c1354244a1a29816ed1c1d463d2f6db056600 /Documentation/spinlocks.txt
parentsmsc9420: prevent BUG() if ethtool is called with interface down (diff)
downloadlinux-d5ccd67bb77ced5249067d05171992a7d5020393.tar.xz
linux-d5ccd67bb77ced5249067d05171992a7d5020393.zip
NET: smc91x: Fix irq flags
smc91x.h defines SMC_IRQ_FLAGS to be -1 when it wants the interrupt flags to be taken from the resource structure. However, 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. Combine 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@arm.linux.org.uk> Acked-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/spinlocks.txt')
0 files changed, 0 insertions, 0 deletions