|
@@ -195,7 +195,7 @@ static void pdc2026x_bmdma_start(struct ata_queued_cmd *qc)
|
|
/* Cases the state machine will not complete correctly without help */
|
|
/* Cases the state machine will not complete correctly without help */
|
|
if ((tf->flags & ATA_TFLAG_LBA48) || tf->protocol == ATA_PROT_ATAPI_DMA)
|
|
if ((tf->flags & ATA_TFLAG_LBA48) || tf->protocol == ATA_PROT_ATAPI_DMA)
|
|
{
|
|
{
|
|
- len = qc->nbytes;
|
|
|
|
|
|
+ len = qc->nbytes / 2;
|
|
|
|
|
|
if (tf->flags & ATA_TFLAG_WRITE)
|
|
if (tf->flags & ATA_TFLAG_WRITE)
|
|
len |= 0x06000000;
|
|
len |= 0x06000000;
|