From owner-cvs-all@FreeBSD.ORG Sat Jul 3 18:22:43 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABA0316A4CE; Sat, 3 Jul 2004 18:22:43 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54F7743D41; Sat, 3 Jul 2004 18:22:43 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from samsco.org (junior-wifi.samsco.home [192.168.0.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i63IR58h083023; Sat, 3 Jul 2004 12:27:05 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <40E6F964.7060301@samsco.org> Date: Sat, 03 Jul 2004 12:22:28 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Long References: <200407031818.i63IIanX092599@repoman.freebsd.org> In-Reply-To: <200407031818.i63IIanX092599@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 busdma_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2004 18:22:43 -0000 Scott Long wrote: > scottl 2004-07-03 18:18:36 UTC > > FreeBSD src repository > > Modified files: > sys/i386/i386 busdma_machdep.c > Log: > Commit the first of half of changes that allow busdma to transparently > honor the alignment and boundary constraints in the dma tag when loading > buffers. Once this is done on all platforms, drivers like twe(4) will no longer need to manually check and correct alignment. This might involve a small API change to busdma, however. I'm thinking about adding a segment_length argument to the filter callback to give drivers more flexibility. Scott