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/ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"