how to add DMA support?
rozhuk.im at gmail.com
rozhuk.im at gmail.com
Fri May 13 16:38:50 UTC 2011
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 = 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:
...
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd-arm at freebsd.org [mailto:owner-freebsd-
> arm at freebsd.org] On Behalf Of Hans Petter Selasky
> Sent: Friday, May 13, 2011 3:59 PM
> To: freebsd-arm at freebsd.org; Rozhuk_I at mail.ru
> Subject: Re: how to add DMA support?
>
> On Thursday 12 May 2011 18:39:00 Rozhuk Ivan wrote:
> > How tell to use DMA in ECHI and OCHI standard USB drives?
>
> Hi,
>
>
> --HPS
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list