Hello,

I've been able to get USB working on IBM's Walnut board with the 405GP PPC
core.  This architecture is not DMA cache coherent, and I was getting kernel
oops' even after applying the pcipool, ohci-0323, and ohci64-0324 patches.

I found out that there were control transfer messages being sent with the
buffer pointing to memory allocated on the stack, instead of kmalloc'ed as
suggested in Detlef Fliegl's programming guide.  I fixed several occasions
of this in usb.c and pegasus.c, and I was able to finally use the Linksys
USB100TX adaptor.

Attached is the patch.  Shouldn't this be a bug for other architectures
also?

Eli

usb.diff

Reply via email to