Date: Sun, 28 May 2006 11:07:05 +0200 From: Christian Brueffer <brueffer@FreeBSD.org> To: Ian Dowse <iedowse@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: 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 Message-ID: <20060528090705.GA1475@haakonia.hitnet.RWTH-Aachen.DE> In-Reply-To: <200605280527.k4S5R9Qi076598@repoman.freebsd.org> References: <200605280527.k4S5R9Qi076598@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 28, 2006 at 05:27:09AM +0000, Ian Dowse wrote: > iedowse 2006-05-28 05:27:09 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/dev/usb ehci.c ehci_pci.c ohci.c ohci_pci.c=20 > ohcireg.h ohcivar.h sl811hs.c=20 > sl811hsvar.h uhci.c uhci_pci.c uhcivar.h=20 > usb_mem.c usbdi.c usbdivar.h=20 > 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. > =20 > 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. > =20 Thanks! - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEeWg5bHYXjKDtmC0RAlC/AKC62jAahB+wJe3iIvlh7mF4UYxrcwCgseOo YWWO+ruS7oH34GTrzonAntM= =2SiT -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060528090705.GA1475>