]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fix pcmcia_request_irq() for multifunction card
authorDaniel Ritz <daniel.ritz@gmx.ch>
Fri, 9 Sep 2005 20:03:25 +0000 (13:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:47 +0000 (13:57 -0700)
commitd1bd879fc88a469655338df8ad03b7ba38ef777c
tree4d105c0d9653ad575b66017c163ac437a1a2b793
parent981f04febfa596c624124b1da1432dd8974db348
[PATCH] fix pcmcia_request_irq() for multifunction card

multifunction cards need to have the same irq assigned to both functions.
the code tries that but fails because ret is still set to CS_IN_USE which
results in the function having the CB irq assigned.  yenta_set_socket then
just changes the irq routing to use the PCI interrupt but the first
functions irq handler is registered on an ISA interrupt.  boom.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pcmcia/pcmcia_resource.c