Date: Sat, 14 May 2011 01:10:26 +0900 From: rozhuk.im@gmail.com To: "'Hans Petter Selasky'" <hselasky@c2i.net>, <freebsd-arm@freebsd.org>, <Rozhuk_I@mail.ru> Subject: RE: how to add DMA support? Message-ID: <4dcd57f6.8290d80a.134d.79cf@mx.google.com> In-Reply-To: <201105130858.53324.hselasky@c2i.net> References: <029601cc10c3$19ca3090$4d5e91b0$@ru> <201105130858.53324.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! > The EHCI and OHCI has its own busmaster and need not be configured to > use DMA. > They always use DMA. May be on some other chips. On this chip only MAC (NIC) has its own dma, all other subsystems must = use GDMA or HSDMA. Im looking a way to tell system that chip has GDMA/HSDMA. For arm I found this: grep -r "dma_memcpy" /usr/src/sys/arm /usr/src/sys/arm/xscale/i80321/i80321_dma.c:static int dma_memcpy(void = *, void *, int, int); /usr/src/sys/arm/xscale/i80321/i80321_dma.c: _arm_memcpy =3D = dma_memcpy; /usr/src/sys/arm/xscale/i80321/i80321_dma.c:dma_memcpy(void *dst, void = *src, int len, int flags) grep -r "_arm_memcpy" /usr/src/sys/arm /usr/src/sys/arm/include/md_var.h:extern int (*_arm_memcpy)(void *, void = *, int, int); /usr/src/sys/arm/arm/bcopyinout.S:.L_arm_memcpy: ... =A0 -- Rozhuk Ivan =A0=20 > -----Original Message----- > From: owner-freebsd-arm@freebsd.org [mailto:owner-freebsd- > arm@freebsd.org] On Behalf Of Hans Petter Selasky > Sent: Friday, May 13, 2011 3:59 PM > To: freebsd-arm@freebsd.org; Rozhuk_I@mail.ru > Subject: Re: how to add DMA support? >=20 > On Thursday 12 May 2011 18:39:00 Rozhuk Ivan wrote: > > How tell to use DMA in ECHI and OCHI standard USB drives? >=20 > Hi, >=20 >=20 > --HPS > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4dcd57f6.8290d80a.134d.79cf>