[parisc-linux] Re: rmmod lasi700 hangs the machine

James Bottomley James.Bottomley@HansenPartnership.com
Fri, 28 Dec 2001 21:10:02 -0600


This is a multipart MIME message.

--==_Exmh_4174171510
Content-Type: text/plain; charset=us-ascii

After applying the kernel down_interruptible fix, the attached should be the 
final piece of the puzzle.  With it applied (and the previous disable_irq 
patch discarded), I can insert and remove the module to my heart's content.

James


--==_Exmh_4174171510
Content-Type: text/plain ; name="tmp.diff"; charset=us-ascii
Content-Description: tmp.diff
Content-Disposition: attachment; filename="tmp.diff"

Index: drivers/scsi/lasi700.c
===================================================================
RCS file: /var/cvs/linux/drivers/scsi/lasi700.c,v
retrieving revision 1.5
diff -u -r1.5 lasi700.c
--- drivers/scsi/lasi700.c	2001/12/26 22:41:16	1.5
+++ drivers/scsi/lasi700.c	2001/12/29 03:07:09
@@ -197,6 +197,7 @@
 	kfree(hostdata);
 	free_irq(host->irq, host);
 	release_mem_region(host->base, 64);
+	unregister_parisc_driver(&lasi700_driver);
 	return 1;
 }
 

--==_Exmh_4174171510--