From owner-cvs-src@FreeBSD.ORG Fri Sep 10 07:00:44 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 8A80416A4D1; Fri, 10 Sep 2004 07:00:44 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30B9C43D1D; Fri, 10 Sep 2004 07:00:29 +0000 (GMT) (envelope-from marcel@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 i8A70TCm041982; Fri, 10 Sep 2004 07:00:29 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8A70SEf041981; Fri, 10 Sep 2004 07:00:28 GMT (envelope-from marcel) Message-Id: <200409100700.i8A70SEf041981@repoman.freebsd.org> From: Marcel Moolenaar Date: Fri, 10 Sep 2004 07:00:28 +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/sparc64/sparc64 bus_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: Fri, 10 Sep 2004 07:00:44 -0000 marcel 2004-09-10 07:00:28 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 bus_machdep.c Log: Better fix the busdma problem exposed by ATA. With the CMD 646 for example the maximum segment size is 64K while the boundary is set to 8K due to controller limitations. It is impossible to NOT cross the boundary for any segment size that's larger than the boundary. So, once we inherited the boundary from the parent tag, make sure to reduce the maximum segment size to the boundary if it was larger. MT5 candidate. Revision Changes Path 1.41 +5 -1 src/sys/sparc64/sparc64/bus_machdep.c