linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH} Specialix IO8+
@ 2001-11-01 14:11 Patrick van de Lageweg
  0 siblings, 0 replies; only message in thread
From: Patrick van de Lageweg @ 2001-11-01 14:11 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Alan Cox
  Cc: Linux Kernel Mailing List, Rogier Wolff

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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-01 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-01 14:11 [PATCH} Specialix IO8+ Patrick van de Lageweg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).