Messages in this thread Patch in this message | | | Date | Thu, 1 Nov 2001 15:11:11 +0100 (CET) | From | Patrick van de Lageweg <> | Subject | [PATCH} Specialix IO8+ |
| |
Hi Linus, Alan,
This patch makes the IO8+ driver able to share it's interrupt if it's an PCI card.
Patrick
diff -u -r linux-2.4.13.clean/drivers/char/specialix.c linux-2.4.13.io8/drivers/char/specialix.c --- linux-2.4.13.clean/drivers/char/specialix.c Thu Nov 1 14:31:49 2001 +++ linux-2.4.13.io8/drivers/char/specialix.c Thu Nov 1 14:41:20 2001 @@ -969,7 +969,10 @@ if (bp->flags & SX_BOARD_ACTIVE) return 0;
- error = request_irq(bp->irq, sx_interrupt, SA_INTERRUPT, "specialix IO8+", bp); + if (bp->flags & SX_BOARD_IS_PCI) + error = request_irq(bp->irq, sx_interrupt, SA_INTERRUPT | SA_SHIRQ, "specialix IO8+", bp); + else + error = request_irq(bp->irq, sx_interrupt, SA_INTERRUPT, "specialix IO8+", bp);
if (error) return error; - 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/
| |