i++; 
pp->sg_tbl[i].addr = cpu_to_le32(addr & 0xffffffff); pp->sg_tbl[i].addr_hi = cpu_to_le32((addr >> 16) >> 16); pp->sg_tbl[i].flags_size = cpu_to_le32(len);  sg_len -= len; addr += len;  if (!sg_len && ata_sg_is_last(sg, qc)) pp->sg_tbl[i].flags_size |= cpu_to_le32(EPRD_FLAG_END_OF_TBL);  i++; } 
static void mv_fill_sg(struct ata_queued_cmd *qc){	struct mv_port_priv *pp = qc->ap->private_data;	unsigned int i = 0;	struct scatterlist *sg;	ata_for_each_sg(sg, qc) {		u32 sg_len;		dma_addr_t addr;		addr = sg_dma_address(sg);		sg_len = sg_dma_len(sg);		pp->sg_tbl[i].addr = cpu_to_le32(addr & 0xffffffff);		pp->sg_tbl[i].addr_hi = cpu_to_le32((addr >> 16) >> 16);		assert(0 == (sg_len & ~MV_DMA_BOUNDARY));		pp->sg_tbl[i].flags_size = cpu_to_le32(sg_len);		if (ata_sg_is_last(sg, qc))			pp->sg_tbl[i].flags_size |= cpu_to_le32(EPRD_FLAG_END_OF_TBL);		i++;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/22374677d18c5eeefd3a283431d312b8c44fef02/sata_mv.c/buggy/drivers/scsi/sata_mv.c