Messages in this thread Patch in this message | | | Date | Mon, 24 Apr 2006 14:22:52 -0700 | From | Stephen Hemminger <> | Subject | [RFC 2/2] warn on shared edge-triggered irq |
| |
Put out a warning if setting up shared irq that is edge triggered. If this happens, interrupts can be lost, but perhaps it is laptop with unused device, so let it go till later.
--- irq.orig/kernel/irq/manage.c +++ irq/kernel/irq/manage.c @@ -234,6 +234,9 @@ int setup_irq(unsigned int irq, struct i desc->handler->startup(irq); else desc->handler->enable(irq); + } else if (!(desc->status & IRQ_LEVEL)) { + printk(KERN_CRIT "Irq %d (%s) is shared but not level triggered\n", + irq, desc->handler->typename); } spin_unlock_irqrestore(&desc->lock,flags); - 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/
| |