From owner-svn-src-all@FreeBSD.ORG Tue Oct 21 18:51:55 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 766EB1065699; Tue, 21 Oct 2008 18:51:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6524C8FC21; Tue, 21 Oct 2008 18:51:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9LIptGK006142; Tue, 21 Oct 2008 18:51:55 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9LIptwg006141; Tue, 21 Oct 2008 18:51:55 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200810211851.m9LIptwg006141@svn.freebsd.org> From: John Baldwin Date: Tue, 21 Oct 2008 18:51:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184135 - head/sys/dev/ata X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 18:51:55 -0000 Author: jhb Date: Tue Oct 21 18:51:55 2008 New Revision: 184135 URL: http://svn.freebsd.org/changeset/base/184135 Log: Restore the default maximum segment size for the bus dma tag to 64k as it is in 6.x and 7.x. The typo caused 64k transactions to be unnecessarily split up into two PRD entries. Modified: head/sys/dev/ata/ata-dma.c Modified: head/sys/dev/ata/ata-dma.c ============================================================================== --- head/sys/dev/ata/ata-dma.c Tue Oct 21 18:50:52 2008 (r184134) +++ head/sys/dev/ata/ata-dma.c Tue Oct 21 18:51:55 2008 (r184135) @@ -78,7 +78,7 @@ ata_dmainit(device_t dev) ch->dma.unload = ata_dmaunload; ch->dma.alignment = 2; ch->dma.boundary = 65536; - ch->dma.segsize = 63536; + ch->dma.segsize = 65536; ch->dma.max_iosize = 128 * DEV_BSIZE; ch->dma.max_address = BUS_SPACE_MAXADDR_32BIT; ch->dma.dma_slots = 6;