Date: Tue, 12 Feb 2002 16:51:25 -0800 From: "mike varga" <mike.varga@cavium.com> To: <freebsd-arch@freebsd.org> Subject: bus_dma_load_uio() function Message-ID: <00d401c1b428$e4929df0$b210a8c0@netscreen5>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_00D1_01C1B3E5.8206C910 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable In FreeBSD does there exist a similar function or a combination of functions to do the same thing as NetBSD's=20 bus_dmamap_load_uio()? This function is a variation of the bus_dmamap_load(), which maps buffers pointed to by uio for=20 DMA transfers. The value of=20 uio->uio_segflg determins if the buffer is in user or kernel space. ------=_NextPart_000_00D1_01C1B3E5.8206C910 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>In FreeBSD does there exist a similar=20 function</FONT></DIV> <DIV><FONT face=3DArial size=3D2>or a combination of functions = to=20 do</FONT></DIV> <DIV><FONT face=3DArial size=3D2>the same thing as </FONT><FONT = face=3DArial=20 size=3D2>NetBSD's </FONT></DIV> <DIV><FONT face=3DArial size=3D2>bus_dmamap_load_uio()?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>This function is a variation = of</FONT></DIV> <DIV><FONT face=3DArial size=3D2>the bus_dmamap_load(), which = maps</FONT></DIV> <DIV><FONT face=3DArial size=3D2>buffers pointed to by uio for = </FONT></DIV> <DIV><FONT face=3DArial size=3D2>DMA transfers. The value of = </FONT></DIV> <DIV><FONT face=3DArial size=3D2>uio->uio_segflg determins if = the</FONT></DIV> <DIV><FONT face=3DArial size=3D2>buffer is in user or kernel = space.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML> ------=_NextPart_000_00D1_01C1B3E5.8206C910-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00d401c1b428$e4929df0$b210a8c0>