Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2008 13:57:43 -0500 (CDT)
From:      Mark Tinguely <tinguely@casselton.net>
To:        tinguely@casselton.net, yonyossef.lists@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: bus_dmamem_alloc
Message-ID:  <200803231857.m2NIvhVH015887@casselton.net>
In-Reply-To: <20def4870803231006j70a32052oe318fbe5e739ed04@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>  Actualy I'm not getting any error from bus_dmamem_alloc, that's the strange
>  thing.
>  Yet printing the dma_map pointer shows 0 unless I use bus_dmamap_create
>  after bus_dmamem_alloc.
>  bus_mamap_load doesn't fail in both cases.
>
>  I'm working on an Ethernet driver for FreeBSD, pinging messages larger than
>  MTU crash the kernel at some point, I'm investigating the dma direction at
>  the moment.
>
>  --Yony

Maybe you could show a sequence of the code (bus_dma_tag_create(),
 bus_dmamem_alloc() etc).

--Mark Tinguely.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803231857.m2NIvhVH015887>