Module Name: src Committed By: matt Date: Wed Dec 15 23:38:15 UTC 2010
Modified Files: src/sys/dev/usb: files.usb usb_mem.c Log Message: Add a workaround (hopefully temporary) for corrupted usb fragments on powerpc. With this in effect, USB is now usable on some powerpc platforms again. Basically this prevents the DMA portion of the fragment ever overlapping the usb_frag_hdr which is enough to solve the problem. To enable this, add options USB_FRAG_DMA_WORKAROUND to your config file. Switch from malloc to kmem. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/dev/usb/files.usb cvs rdiff -u -r1.40 -r1.41 src/sys/dev/usb/usb_mem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.