cvs commit: src/sys/dev/usb ehci.c ehci_pci.c ohci.c ohci_pci.c ohcireg.h ohcivar.h sl811hs.c sl811hsvar.h uhci.c uhci_pci.c uhcivar.h usb_mem.c usbdi.c usbdivar.h

Christian Brueffer brueffer at FreeBSD.org
Sun May 28 02:28:40 PDT 2006


On Sun, May 28, 2006 at 05:27:09AM +0000, Ian Dowse wrote:
> iedowse     2006-05-28 05:27:09 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/usb          ehci.c ehci_pci.c ohci.c ohci_pci.c 
>                          ohcireg.h ohcivar.h sl811hs.c 
>                          sl811hsvar.h uhci.c uhci_pci.c uhcivar.h 
>                          usb_mem.c usbdi.c usbdivar.h 
>   Log:
>   Use the limited scatter-gather capabilities of ehci, ohci and uhci
>   host controllers to avoid the need to allocate any multi-page
>   physically contiguous memory blocks. This makes it possible to use
>   USB devices reliably on low-memory systems or when memory is too
>   fragmented for contiguous allocations to succeed.
>   
>   The USB subsystem now uses bus_dmamap_load() directly on the buffers
>   supplied by USB peripheral drivers, so this also avoids having to
>   copy data back and forth before and after transfers. The ehci and
>   ohci controllers support scatter/gather as long as the buffer is
>   contiguous in the virtual address space. For uhci the hardware
>   cannot handle a physical address discontinuity within a USB packet,
>   so it is necessary to copy small memory fragments at times.
>   

Thanks!

- Christian

-- 
Christian Brueffer	chris at unixpages.org	brueffer at FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20060528/ee45dab9/attachment.pgp


More information about the cvs-all mailing list