svn commit: r198752 - head/sys/dev/ata/chipsets
Alexander Motin
mav at FreeBSD.org
Sun Nov 1 13:06:15 UTC 2009
Author: mav
Date: Sun Nov 1 13:06:15 2009
New Revision: 198752
URL: http://svn.freebsd.org/changeset/base/198752
Log:
MFp4:
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:
head/sys/dev/ata/chipsets/ata-siliconimage.c
Modified: head/sys/dev/ata/chipsets/ata-siliconimage.c
==============================================================================
--- head/sys/dev/ata/chipsets/ata-siliconimage.c Sun Nov 1 11:41:20 2009 (r198751)
+++ head/sys/dev/ata/chipsets/ata-siliconimage.c Sun Nov 1 13:06:15 2009 (r198752)
@@ -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;
More information about the svn-src-all
mailing list