summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/spectrum_cs.c
diff options
context:
space:
mode:
authorAlan Cox2008-09-23 14:53:09 +0200
committerJohn W. Linville2008-09-24 22:18:04 +0200
commit47cbb1107e4172f3632713d74dc8651a32ceb294 (patch)
treed631ca41ecc140e594c524f879ea5a7e7cb6e3cd /drivers/net/wireless/spectrum_cs.c
parentwireless: a global static to local static improvement (diff)
downloadkernel-qcow2-linux-47cbb1107e4172f3632713d74dc8651a32ceb294.tar.gz
kernel-qcow2-linux-47cbb1107e4172f3632713d74dc8651a32ceb294.tar.xz
kernel-qcow2-linux-47cbb1107e4172f3632713d74dc8651a32ceb294.zip
pcmcia: Fix up legacy driver IRQs
The PCMCIA layer obsoleted asking for per device private IRQS some years ago and all the drivers by inspection correctly use dev_id and handle shared interrupts [they get em anyway in most PCI bridged PCMCIA/Cardbus] so can be adjusted. This gets rid of the various bugs reported where there is spewage about conflicting irq types and sometimes the driver won't load. (Note I don't have all of these devices to test each one beyond by inspection) Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/spectrum_cs.c')
-rw-r--r--drivers/net/wireless/spectrum_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/spectrum_cs.c b/drivers/net/wireless/spectrum_cs.c
index e368759d1d89..67b26d3c3cd5 100644
--- a/drivers/net/wireless/spectrum_cs.c
+++ b/drivers/net/wireless/spectrum_cs.c
@@ -195,7 +195,7 @@ spectrum_cs_probe(struct pcmcia_device *link)
link->priv = dev;
/* Interrupt setup */
- link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT;
+ link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING | IRQ_HANDLE_PRESENT;
link->irq.IRQInfo1 = IRQ_LEVEL_ID;
link->irq.Handler = orinoco_interrupt;
link->irq.Instance = dev;