Date: Tue, 19 Feb 2013 23:36:58 +0100 From: Daan Vreeken <Daan@vitsch.nl> To: Ian Lepore <ian@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r246881 - head/sys/arm/arm Message-ID: <201302192336.59024.Daan@vitsch.nl> In-Reply-To: <201302162043.r1GKhG1e030867@svn.freebsd.org> References: <1361047411-3211857922.60053a5ec5@bliksem.vehosting.nl> <201302162043.r1GKhG1e030867@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ian, On Saturday 16 February 2013 21:43:16 Ian Lepore wrote: > Author: ian > Date: Sat Feb 16 20:43:16 2013 > New Revision: 246881 > URL: http://svnweb.freebsd.org/changeset/base/246881 > > Log: > In _bus_dmamap_addseg(), the return value must be zero for error, or the > size actually added to the segment (possibly smaller than the requested > size if boundary crossings had to be avoided). Your fix just beat me by minutes to reporting this bug. I'm rebasing a local source tree and ran into a situation where DMA wasn't working without any obvious reason. It turned out to be _bus_dmamap_load_buffer() returning EFBIG to bus_dmamap_load() because of the above. Thanks! -- Ing. Daan Vreeken Vitsch Electronics http://Vitsch.nl/ http://VitschVPN.nl/ tel: +31-(0)40-7113051 KvK nr: 17174380 -- Machines en netwerken op afstand beheren? Vitsch VPN oplossing! Kijk voor meer informatie op: http://www.VitschVPN.nl/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302192336.59024.Daan>