On Monday 02 August 2004 10:53, Jon Neal wrote: > David - > > I finally got back to the RNDIS problem we were having with our board (PPC > with net2280). The problem was actually in net2280.c little endian > conversion of the last n bytes (less than 4) in read_fifo.
Your patch makes sense to me; I'll merge it. Thanks! And: wow -- two one-liners to this driver in the same day! (The other related to plugfest testing, qualifying a Linux/net2280 product.) > We are still > running the net2280 in PIO mode. I spent a lot of time trying to get dma > operational without success. The problem is with the OUT endpoint (DMA > direction device to cpu). The descriptor and chip setup looks good, but > after stopping the host NAKing, the whole system freezes (what I assume is > the device corrupting kernel memory). Hmm, that's odd. I certainly saw my share of OUT-DMA problems, but most of them seemed to vanish when I stopped trying to use the DMA chaining there ... even though the network driver always seemed to work with no problems, the others were more troublesome. > The IN endpoint (DMA direction cpu to > device) works fine in DMA mode. My guess is this is a synchronization issue > (our cpu is the IBM405GPr which has a non-coherent cache). For now, we have > decided to just use PIO mode. There was also a "use dma only for IN transfers" mode at one point; should still be easy to kick in (and save CPU power).. > I tested both full and high speed on Win2K > and Win XP platforms with satisfactory results. I'm very glad to know that's working for you too. There are still some quirks, but that code does seem rather useful ... :) - Dave ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel