svn commit: r198718 - head/sys/dev/ata/chipsets
Alexander Motin
mav at FreeBSD.org
Sat Oct 31 14:19:50 UTC 2009
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);
More information about the svn-src-head
mailing list