Re: DMA problem in net2280?

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thu, 16 Aug 2007, David Brownell wrote:

> On Thursday 16 August 2007, Alan Stern wrote:
> > Dave:
> > 
> > While doing some testing today, I found that net2280 wasn't working
> > right.  When DMA is enabled, the bulk-OUT data buffers presented to
> > g_file_storage contain nothing but 0x6b bytes.  With DMA disabled
> > everything works okay, so this definitely has to be something wrong in
> > the controller driver.
> 
> You surely know that POISON_FREE is 0x6b...
> 
> Doesn't need to be the controller driver.  Something else could
> be making trouble.

I tracked it down; there was a bug in the g_file_storage part of your
remove_usb_ep_*_buffer patch.  You must not have tested it.

A patch to fix it follows.

Alan Stern


-------------------------------------------------------------------------
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.