[PATCH] eliminates irqN: nobody cared! and backtrace on inserting 16bit PCMCIA card.

From: Simon Kelley (simon@thekelleys.org.uk)
Date: Tue May 13 2003 - 12:25:44 EST


diff -urN linux-2.5.69.orig/drivers/pcmcia/rsrc_mgr.c linux-2.5.69/drivers/pcmcia/rsrc_mgr.c
--- linux-2.5.69.orig/drivers/pcmcia/rsrc_mgr.c Mon May 5 00:53:32 2003
+++ linux-2.5.69/drivers/pcmcia/rsrc_mgr.c Tue May 13 18:18:35 2003
@@ -601,7 +601,7 @@

  #ifdef CONFIG_PCMCIA_PROBE

-static irqreturn_t fake_irq(int i, void *d, struct pt_regs *r) { return IRQ_NONE; }
+static irqreturn_t fake_irq(int i, void *d, struct pt_regs *r) { return IRQ_HANDLED; }
  static inline int check_irq(int irq)
  {
      if (request_irq(irq, fake_irq, 0, "bogus", NULL) != 0)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:46 EST