On Wed, Dec 14, 2005 at 01:11:55PM +0800, [EMAIL PROTECTED] wrote: > Dear all: > > I am doing porting task for our company wireless NIC driver from 2.4.x > to 2.6.x. > I got a problem about the surprise remove after loading driver > successfully. > The system was crashed and halted, when plug out the NIC without typing" > rmmod xxx". > However, if plugging out NIC after typing" rmmod xxx ". It was ok. > On the hand, I also tried to mark the code of interrupt endpoint to > submit interrupt urb. > The problem disappeared and I saw the system tried to call disconnect > function in our driver. > Therefore, I doubt the USB core doesn't support surprise remove for > interrupt endpoint. > Can any one give me any suggestion or advice to solve this problem?
Hm, it should "just work", unless you have a bug in your driver :) Have a pointer to your driver anywhere so we can take a look? thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel