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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to