Oliver Neukum wrote:




A quick check on hcd.c in usb-2.6 bk revealed that there is no #ifdef PCI
anywhere. And I see calls to pci_unmap_single(). Not sure how this would
work out on non-PCI systems. The culprit is usb_hcd_giveback_urb().



As hcd_submit_urb() uses dma_map_single(), replacing it with dma_unmap_single() should work and is cleaner.

Regards
Oliver


Well, not in 2.4.22 (this is still pci_map_single() which is kind of problematic when CONFIG_PCI
is not defined :-()


--

---------------------------------------------------------------------
Francois Menneteau - Software Engineer, MIPSYS
Technoparc du Griffon - Bat 10
511, route de la Seds
13127 Vitrolles
Tel: +33 (0)4 42 46 77 50 - Fax: +33 (0)4 42 46 77 59
Email: [EMAIL PROTECTED]





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to