if (dev->flags & ATA_DFLAG_LBA) { qc->tf.flags |= ATA_TFLAG_LBA;  if (dev->flags & ATA_DFLAG_LBA48) qc->tf.flags |= ATA_TFLAG_LBA48; }
struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap,				      struct ata_device *dev){	struct ata_queued_cmd *qc;	qc = ata_qc_new(ap);	if (qc) {		qc->sg = NULL;		qc->flags = 0;		qc->scsicmd = NULL;		qc->ap = ap;		qc->dev = dev;		qc->cursect = qc->cursg = qc->cursg_ofs = 0;		qc->nsect = 0;		qc->nbytes = qc->curbytes = 0;		ata_tf_init(ap, &qc->tf, dev->devno);		if (dev->flags & ATA_DFLAG_LBA) {			qc->tf.flags |= ATA_TFLAG_LBA;			if (dev->flags & ATA_DFLAG_LBA48)				qc->tf.flags |= ATA_TFLAG_LBA48;		}	}	return qc;}