Messages in this thread Patch in this message | | | Date | Mon, 21 Mar 2005 21:25:50 +0100 | From | Geert Uytterhoeven <> | Subject | [PATCH 544] Mac NCR5380 SCSI: Fix bus error |
| |
Mac NCR5380 SCSI: Fix bus error by passing the correct instance pointer to request_irq()
Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
--- linux-2.6.12-rc1/drivers/scsi/mac_scsi.c 2005-03-09 22:21:01.369397570 +1100 +++ linux-m68k-2.6.12-rc1/drivers/scsi/mac_scsi.c 2005-03-09 22:02:12.594082086 +1100 @@ -302,7 +302,7 @@ int macscsi_detect(Scsi_Host_Template * if (instance->irq != SCSI_IRQ_NONE) if (request_irq(instance->irq, NCR5380_intr, IRQ_FLG_SLOW, - "ncr5380", NCR5380_intr)) { + "ncr5380", instance)) { printk(KERN_WARNING "scsi%d: IRQ%d not free, interrupts disabled\n", instance->host_no, instance->irq); instance->irq = SCSI_IRQ_NONE; Gr{oetje,eeting}s, Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - 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/
| |