All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] [2.5] ns87415 irq
@ 2003-07-11 14:07 Matthew Wilcox
  2003-07-11 14:26 ` [parisc-linux] " Bartlomiej Zolnierkiewicz
  2003-07-11 15:02 ` [parisc-linux] " Alan Cox
  0 siblings, 2 replies; 10+ messages in thread
From: Matthew Wilcox @ 2003-07-11 14:07 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, Alan Cox; +Cc: parisc-linux

Would this patch make sense for 2.5?  I have to confess not testing it
on any hardware, but it seems to be the Right Thing (and I'm sure Alan
remembers the mess we had in the 2.4 parisc tree for this ...)

--- linus-2.5/drivers/ide/pci/ns87415.c	Thu Jul 10 16:18:07 2003
+++ parisc-2.5/drivers/ide/pci/ns87415.c	Fri Jul 11 08:03:17 2003
@@ -200,7 +200,7 @@
 	}
 
 	if (!using_inta)
-		hwif->irq = hwif->channel ? 15 : 14;	/* legacy mode */
+		hwif->irq = ide_default_irq(hwif->io_ports[IDE_DATA_OFFSET]);
 	else if (!hwif->irq && hwif->mate && hwif->mate->irq)
 		hwif->irq = hwif->mate->irq;	/* share IRQ with mate */
 

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-07-11 17:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-11 14:07 [parisc-linux] [2.5] ns87415 irq Matthew Wilcox
2003-07-11 14:26 ` [parisc-linux] " Bartlomiej Zolnierkiewicz
2003-07-11 14:43   ` Matthew Wilcox
2003-07-11 15:24   ` Grant Grundler
2003-07-11 15:02 ` [parisc-linux] " Alan Cox
2003-07-11 15:16   ` Matthew Wilcox
2003-07-11 15:32     ` Bartlomiej Zolnierkiewicz
2003-07-11 15:35       ` Matthew Wilcox
2003-07-11 15:47         ` Bartlomiej Zolnierkiewicz
2003-07-11 17:13       ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.