diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-09-23 08:53:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-24 16:18:04 -0400 |
commit | 47cbb1107e4172f3632713d74dc8651a32ceb294 (patch) | |
tree | d631ca41ecc140e594c524f879ea5a7e7cb6e3cd /drivers/net/wireless/netwave_cs.c | |
parent | 638af07386972861272ed9d0cff01cad528fdceb (diff) |
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/netwave_cs.c')
-rw-r--r-- | drivers/net/wireless/netwave_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/netwave_cs.c b/drivers/net/wireless/netwave_cs.c index f479c1af6782..25bae7933aa5 100644 --- a/drivers/net/wireless/netwave_cs.c +++ b/drivers/net/wireless/netwave_cs.c | |||
@@ -398,7 +398,7 @@ static int netwave_probe(struct pcmcia_device *link) | |||
398 | link->io.IOAddrLines = 5; | 398 | link->io.IOAddrLines = 5; |
399 | 399 | ||
400 | /* Interrupt setup */ | 400 | /* Interrupt setup */ |
401 | link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT; | 401 | link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING | IRQ_HANDLE_PRESENT; |
402 | link->irq.IRQInfo1 = IRQ_LEVEL_ID; | 402 | link->irq.IRQInfo1 = IRQ_LEVEL_ID; |
403 | link->irq.Handler = &netwave_interrupt; | 403 | link->irq.Handler = &netwave_interrupt; |
404 | 404 | ||