Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2009 08:46:26 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r199697 - stable/8/sys/dev/ata/chipsets
Message-ID:  <200911230846.nAN8kQW0046344@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Nov 23 08:46:26 2009
New Revision: 199697
URL: http://svn.freebsd.org/changeset/base/199697

Log:
  MFC r198752:
  Allow SATA1 SiI chips to do full-sized DMA. Specification tells that we may
  release DMA constrants even more, but it require some additional handling.

Modified:
  stable/8/sys/dev/ata/chipsets/ata-siliconimage.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/ata/chipsets/ata-siliconimage.c
==============================================================================
--- stable/8/sys/dev/ata/chipsets/ata-siliconimage.c	Mon Nov 23 08:45:17 2009	(r199696)
+++ stable/8/sys/dev/ata/chipsets/ata-siliconimage.c	Mon Nov 23 08:46:26 2009	(r199697)
@@ -340,6 +340,7 @@ ata_sii_ch_attach(device_t dev)
 	ATA_OUTL(ctlr->r_res2, 0x148 + (unit01 << 7) + (unit10 << 8),(1 << 16));
     }
 
+    ch->dma.max_iosize = (ATA_DMA_ENTRIES - 1) * PAGE_SIZE;
     if (ctlr->chip->cfg2 & SII_BUG) {
 	/* work around errata in early chips */
 	ch->dma.boundary = 8192;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911230846.nAN8kQW0046344>