Re: usb_submit_urb from callback

"Chris Hiszpanski" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <002101c82570$196874a0$1201a8c0@satellite>
> > Hi Greg,
> >
> > I found these prototype differences between the 2.4 and 2.6 kernels:
> >
> > /* 2.4 kernel */
> > int usb_submit_urb(struct urb *urb);
> >
> > /* 2.6 kernel */
> > int usb_submit_urb(struct urb *urb, int mem_flags);
> >
> > In the 2.6 kernel, to re-submit a URB from within a URB's callback
function,
> > the second argument must be GFP_ATOMIC. How is URB re-submission
> > from within a URB's callback function handled under the 2.4 kernel,
without
> > the mem_flags argument?
>
> Might I ask why you are caring about the 2.4 usb stack?  That kernel is
> not supported anymore...

We still use 2.4 on our production systems.

> Anyway, please ask questions like this on the linux-usb-devel mailing
> list and CC: me.  I'll be glad to answer them that way so that everyone
> can benefit.

Here it is.

> thanks,
>
> greg k-h


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.