Date: Wed, 29 Aug 2012 02:21:25 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Scott Long <scott4long@yahoo.com> Cc: "scottl@freebsd.org" <scottl@freebsd.org>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: MIPS busdma map questions Message-ID: <CAJ-VmonKM970eb3TvFkXh0CcjvRK8cF89L3f=MqNFw3nd-RWSQ@mail.gmail.com> In-Reply-To: <08166FD3-8FAD-453D-ABD3-2DC19B52FED1@yahoo.com> References: <CAJ-VmomuwKKaQ6AszeDo-iQwL%2B8DPJpBB9av0K%2BVbaj2feHO7g@mail.gmail.com> <1F780BF4-84C3-48D5-9832-EA32381969A6@bsdimp.com> <CAJ-VmokHX7=Jd06tJWmAJfTGtuF4WfgpgGb0f0PwUzfP-QpJ0Q@mail.gmail.com> <08166FD3-8FAD-453D-ABD3-2DC19B52FED1@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28 August 2012 22:01, Scott Long <scott4long@yahoo.com> wrote: > There is no need to create a separate map for memory allocated via this way. It's a convenience thing. Right, but my initial question still stands - the initial map that's being created is completely ignored and overwritten when the bus_dmamem_alloc() call is made. One of the first thing that does is it sets *dmat = NULL; - it's totally trashing the pre-existing map. Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonKM970eb3TvFkXh0CcjvRK8cF89L3f=MqNFw3nd-RWSQ>