mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
libata: introduce notion of separate hardware tags
Rigth now these are the same, but drivers should be using ->hw_tag for their command setup and issue. Signed-off-by: Jens Axboe <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
804689ad2d
commit
5ac40790b4
2 changed files with 4 additions and 3 deletions
|
|
@ -1600,7 +1600,7 @@ unsigned ata_exec_internal_sg(struct ata_device *dev,
|
|||
|
||||
qc = __ata_qc_from_tag(ap, tag);
|
||||
|
||||
qc->tag = tag;
|
||||
qc->tag = qc->hw_tag = tag;
|
||||
qc->scsicmd = NULL;
|
||||
qc->ap = ap;
|
||||
qc->dev = dev;
|
||||
|
|
@ -5125,7 +5125,7 @@ struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev, int tag)
|
|||
}
|
||||
|
||||
qc = __ata_qc_from_tag(ap, tag);
|
||||
qc->tag = tag;
|
||||
qc->tag = qc->hw_tag = tag;
|
||||
qc->scsicmd = NULL;
|
||||
qc->ap = ap;
|
||||
qc->dev = dev;
|
||||
|
|
|
|||
Loading…
Reference in a new issue