···614614 } else if (lba48 && (qc->ap->flags & ATA_FLAG_PIO_LBA48)) {615615 /* Unable to use DMA due to host limitation */616616 tf->protocol = ATA_PROT_PIO;617617- index = dev->multi_count ? 0 : 4;617617+ index = dev->multi_count ? 0 : 8;618618 } else {619619 tf->protocol = ATA_PROT_DMA;620620 index = 16;···33573357{33583358 struct ata_queued_cmd *qc;3359335933603360- printk(KERN_WARNING "ata%u: PIO error\n", ap->id);33613361-33623360 qc = ata_qc_from_tag(ap, ap->active_tag);33633361 assert(qc != NULL);33623362+33633363+ if (qc->tf.command != ATA_CMD_PACKET)33643364+ printk(KERN_WARNING "ata%u: PIO error\n", ap->id);3364336533653366 /* make sure qc->err_mask is available to 33663367 * know what's wrong and recover
+1
drivers/scsi/sata_mv.c
···997997 case ATA_CMD_READ_EXT:998998 case ATA_CMD_WRITE:999999 case ATA_CMD_WRITE_EXT:10001000+ case ATA_CMD_WRITE_FUA_EXT:10001001 mv_crqb_pack_cmd(cw++, tf->hob_nsect, ATA_REG_NSECT, 0);10011002 break;10021003#ifdef LIBATA_NCQ /* FIXME: remove this line when NCQ added */