ChangeSet 1.977, 2003/02/04 10:49:44+11:00, [EMAIL PROTECTED]
[PATCH] USB: fix to get usb-storage code to work again.
Thanks to Matt Dharm and David Brownell for tracking this bug down.
diff -Nru a/drivers/usb/core/message.c b/drivers/usb/core/message.c
--- a/drivers/usb/core/message.c Tue Feb 4 15:17:19 2003
+++ b/drivers/usb/core/message.c Tue Feb 4 15:17:19 2003
@@ -319,7 +319,7 @@
/* not all host controllers use DMA (like the mainstream pci ones);
* they can use PIO (sl811) or be software over another transport.
*/
- dma = (dev->dev.dma_mask == 0);
+ dma = (dev->dev.dma_mask != 0);
if (dma)
io->entries = usb_buffer_map_sg (dev, pipe, sg, nents);
else
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel