From owner-svn-src-all@FreeBSD.ORG Sat Oct 31 14:19:50 2009 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 66BDB106568F; Sat, 31 Oct 2009 14:19:50 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 562E88FC16; Sat, 31 Oct 2009 14:19:50 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n9VEJoiD092016; Sat, 31 Oct 2009 14:19:50 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n9VEJoPp092014; Sat, 31 Oct 2009 14:19:50 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <200910311419.n9VEJoPp092014@svn.freebsd.org> From: Alexander Motin Date: Sat, 31 Oct 2009 14:19:50 +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: r198718 - head/sys/dev/ata/chipsets 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: Sat, 31 Oct 2009 14:19:50 -0000 Author: mav Date: Sat Oct 31 14:19:50 2009 New Revision: 198718 URL: http://svn.freebsd.org/changeset/base/198718 Log: Allow newly added controllers to use full I/O sizes. Modified: head/sys/dev/ata/chipsets/ata-marvell.c Modified: head/sys/dev/ata/chipsets/ata-marvell.c ============================================================================== --- head/sys/dev/ata/chipsets/ata-marvell.c Sat Oct 31 13:24:14 2009 (r198717) +++ head/sys/dev/ata/chipsets/ata-marvell.c Sat Oct 31 14:19:50 2009 (r198718) @@ -591,7 +591,9 @@ ata_marvell_edma_dmainit(device_t dev) /* chip does not reliably do 64K DMA transfers */ if (ctlr->chip->cfg2 == MV_50XX || ctlr->chip->cfg2 == MV_60XX) - ch->dma.max_iosize = 64 * DEV_BSIZE; + ch->dma.max_iosize = 64 * DEV_BSIZE; + else + ch->dma.max_iosize = (ATA_DMA_ENTRIES - 1) * PAGE_SIZE; } ATA_DECLARE_DRIVER(ata_marvell);