--- linux-2.6.0-test6/drivers/scsi/sym53c8xx_2/sym_glue.c Sat Sep 27 19:51:29 2003 +++ linux-2.6.0-test6-sym/drivers/scsi/sym53c8xx_2/sym_glue.c Tue Oct 7 12:33:42 2003 @@ -1605,6 +1605,8 @@ sym_hcb_free(np); sym_mfree_dma(np, sizeof(*np), "HCB"); + + scsi_host_put(np->s.host); } /* @@ -1861,7 +1863,8 @@ printf_info("%s: giving up ...\n", sym_name(np)); if (np) sym_free_resources(np); - scsi_host_put(instance); + else + scsi_host_put(instance); return -1; } @@ -2213,6 +2216,8 @@ { printk("%s: detaching ...\n", sym_name(np)); + scsi_remove_host(np->s.host); + del_timer_sync(&np->s.timer); /*