[PATCH} Specialix IO8+

From: Patrick van de Lageweg (patrick@bitwizard.nl)
Date: Thu Nov 01 2001 - 09:11:11 EST


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/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:15 EST