Re: [linux-usb-devel] Programming Guide for USB drivers

2001-04-07 Thread Nemosoft Unv.
Greetings, On 07-Apr-01 David Brownell wrote: >> I was browsing through the USB Programming Guide at usb.cs.tum.edu, and I >> was wondering about one thing... I came across usb_control_msg(), and I >> recall reading on linux-usb-devel@ that it is not safe to call this >> function >> from interrup

Re: [linux-usb-devel] Programming Guide for USB drivers

2001-04-07 Thread David Brownell
> I was browsing through the USB Programming Guide at usb.cs.tum.edu, and I > was wondering about one thing... I came across usb_control_msg(), and I > recall reading on linux-usb-devel@ that it is not safe to call this function > from interrupt context (e.g. probe() and handler functions), becaus

Re: [linux-usb-devel] Programming Guide for USB drivers

2001-04-07 Thread Oliver Neukum
> Maybe it´s worthwhile to mention explicitly whether or not this is allowed, > so new device driver writers won´t fall into the trap of initializing their > device while in probe(). Doesn't probe() execute in the context of khubd ? Oliver __