patch-2.2.0-pre7 linux/drivers/scsi/AM53C974.c
Next file: linux/drivers/scsi/aha152x.c
Previous file: linux/drivers/net/tulip.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Jan 11 13:46:47 1999
- Orig file:
v2.2.0-pre6/linux/drivers/scsi/AM53C974.c
- Orig date:
Sun Jun 7 11:16:33 1998
diff -u --recursive --new-file v2.2.0-pre6/linux/drivers/scsi/AM53C974.c linux/drivers/scsi/AM53C974.c
@@ -756,7 +756,7 @@
(search->irq != instance->irq) || (search == instance));
search = search->next);
if (!search) {
- if (request_irq(instance->irq, do_AM53C974_intr, SA_INTERRUPT, "AM53C974", NULL)) {
+ if (request_irq(instance->irq, do_AM53C974_intr, SA_SHIRQ, "AM53C974", instance)) {
printk("scsi%d: IRQ%d not free, detaching\n", instance->host_no, instance->irq);
scsi_unregister(instance);
return 0;
@@ -2458,7 +2458,7 @@
*/
int AM53C974_release(struct Scsi_Host *shp)
{
- free_irq(shp->irq, NULL);
+ free_irq(shp->irq, shp);
scsi_unregister(shp);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov