From owner-cvs-src@FreeBSD.ORG Wed Sep 8 04:54:19 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF1E416A4CE; Wed, 8 Sep 2004 04:54:19 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B568D43D31; Wed, 8 Sep 2004 04:54:19 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i884sJ3S055144; Wed, 8 Sep 2004 04:54:19 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i884sJW7055143; Wed, 8 Sep 2004 04:54:19 GMT (envelope-from scottl) Message-Id: <200409080454.i884sJW7055143@repoman.freebsd.org> From: Scott Long Date: Wed, 8 Sep 2004 04:54:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/alpha busdma_machdep.csrc/sys/amd64/amd64 busdma_machdep.c src/sys/arm/arm busdma_machdep.c src/sys/i386/i386 busdma_machdep.c src/sys/ia64/ia64 busdma_machdep.c src/sys/powerpc/powerpc busdma_machdep.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 04:54:19 -0000 scottl 2004-09-08 04:54:19 UTC FreeBSD src repository Modified files: sys/alpha/alpha busdma_machdep.c sys/amd64/amd64 busdma_machdep.c sys/arm/arm busdma_machdep.c sys/i386/i386 busdma_machdep.c sys/ia64/ia64 busdma_machdep.c sys/powerpc/powerpc busdma_machdep.c sys/sparc64/sparc64 bus_machdep.c Log: Fix a problem with tag->boundary inheritence that has existed since day one and was propagated to nearly every platform. The boundary of the child needs to consider the boundary of the parent and pick the minimum of the two, not the maximum. However, if either is 0 then pick the appropriate one. This bug was exposed by a recent change to ATA, which should now be fixed by this change. The alignment and maxsegsz tag attributes likely also need a similar review in the near future. This is a MT5 candidate. Reviewed by: marcel Submitted by: sos (in part) Revision Changes Path 1.46 +5 -5 src/sys/alpha/alpha/busdma_machdep.c 1.58 +5 -5 src/sys/amd64/amd64/busdma_machdep.c 1.3 +5 -6 src/sys/arm/arm/busdma_machdep.c 1.60 +5 -5 src/sys/i386/i386/busdma_machdep.c 1.34 +5 -5 src/sys/ia64/ia64/busdma_machdep.c 1.20 +5 -6 src/sys/powerpc/powerpc/busdma_machdep.c 1.40 +5 -6 src/sys/sparc64/sparc64/bus_machdep.c