[75] in linux-scsi channel archive
Another miner
daemon@ATHENA.MIT.EDU (Paul Gortmaker)
Wed Feb 15 09:06:54 1995
From: Paul Gortmaker <paul@rasty.anu.edu.au>
To: linux-scsi@vger.rutgers.edu
Date: Thu, 16 Feb 1995 15:11:32 +1000 (EST)
Cc: linux-activists@niksula.hut.fi (linux)
Here is a minor fix to the seagate ST-0X/TMC-8XX/950 driver so that
the IRQ gets registered properly for the tmc cards. There is probably a
lot more of the tmc cards about than the original ST-0X cards anyway. :-)
--- linux/drivers/scsi/seagate.c.orig Mon Feb 13 18:23:00 1995
+++ linux/drivers/scsi/seagate.c Thu Feb 16 15:01:00 1995
@@ -347,7 +347,8 @@
*/
instance = scsi_register(tpnt, 0);
hostno = instance->host_no;
- if (request_irq((int) irq, seagate_reconnect_intr, SA_INTERRUPT, "seagate")) {
+ if (request_irq((int) irq, seagate_reconnect_intr, SA_INTERRUPT,
+ (controller_type == SEAGATE) ? "seagate" : "tmc-8xx")) {
printk("scsi%d : unable to allocate IRQ%d\n",
hostno, (int) irq);
return 0;