patch-2.4.9 linux/drivers/scsi/imm.c

Next file: linux/drivers/scsi/in2000.c
Previous file: linux/drivers/scsi/i91uscsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/scsi/imm.c linux/drivers/scsi/imm.c
@@ -162,6 +162,7 @@
 		    printk(KERN_ERR "imm%d: failed to claim parport because a "
 		      "pardevice is owning the port for too longtime!\n",
 			   i);
+		    parport_unregister_device (imm_hosts[i].dev);
 		    spin_lock_irq(&io_request_lock);
 		    return 0;
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)