From: Alan Cox Nowdays you can ask for an IRQ to be allocated but not enabled, when PCMCIA was written this was not true and this feature is thus not used Signed-off-by: Alan Cox Cc: Dominik Brodowski Signed-off-by: Andrew Morton --- drivers/pcmcia/pcmcia_resource.c | 3 +++ 1 file changed, 3 insertions(+) diff -puN drivers/pcmcia/pcmcia_resource.c~pcmcia-irq-probe-can-be-done-without-risking-an-irq-storm drivers/pcmcia/pcmcia_resource.c --- a/drivers/pcmcia/pcmcia_resource.c~pcmcia-irq-probe-can-be-done-without-risking-an-irq-storm +++ a/drivers/pcmcia/pcmcia_resource.c @@ -812,6 +812,9 @@ int pcmcia_request_irq(struct pcmcia_dev type = IRQF_SHARED; #ifdef CONFIG_PCMCIA_PROBE + if (!(req->Attributes & IRQ_HANDLE_PRESENT)) + type |= IRQ_NOAUTOEN; + if (s->irq.AssignedIRQ != 0) { /* If the interrupt is already assigned, it must be the same */ irq = s->irq.AssignedIRQ; _