|
|
@@ -65,7 +65,7 @@ Signed-off-by: Daniel Golle <[email protected]>
|
|
|
/**
|
|
|
* ata_build_rw_tf - Build ATA taskfile for given read/write request
|
|
|
* @tf: Target ATA taskfile
|
|
|
-@@ -4548,6 +4561,9 @@ struct ata_queued_cmd *ata_qc_new_init(s
|
|
|
+@@ -4551,6 +4564,9 @@ struct ata_queued_cmd *ata_qc_new_init(s
|
|
|
if (tag < 0)
|
|
|
return NULL;
|
|
|
}
|
|
|
@@ -75,7 +75,7 @@ Signed-off-by: Daniel Golle <[email protected]>
|
|
|
|
|
|
qc = __ata_qc_from_tag(ap, tag);
|
|
|
qc->tag = qc->hw_tag = tag;
|
|
|
-@@ -5326,6 +5342,9 @@ struct ata_port *ata_port_alloc(struct a
|
|
|
+@@ -5329,6 +5345,9 @@ struct ata_port *ata_port_alloc(struct a
|
|
|
ap->stats.unhandled_irq = 1;
|
|
|
ap->stats.idle_irq = 1;
|
|
|
#endif
|
|
|
@@ -85,7 +85,7 @@ Signed-off-by: Daniel Golle <[email protected]>
|
|
|
ata_sff_port_init(ap);
|
|
|
|
|
|
return ap;
|
|
|
-@@ -5361,6 +5380,12 @@ static void ata_host_release(struct kref
|
|
|
+@@ -5364,6 +5383,12 @@ static void ata_host_release(struct kref
|
|
|
|
|
|
kfree(ap->pmp_link);
|
|
|
kfree(ap->slave_link);
|
|
|
@@ -98,7 +98,7 @@ Signed-off-by: Daniel Golle <[email protected]>
|
|
|
kfree(ap);
|
|
|
host->ports[i] = NULL;
|
|
|
}
|
|
|
-@@ -5767,7 +5792,23 @@ int ata_host_register(struct ata_host *h
|
|
|
+@@ -5770,7 +5795,23 @@ int ata_host_register(struct ata_host *h
|
|
|
host->ports[i]->print_id = atomic_inc_return(&ata_print_id);
|
|
|
host->ports[i]->local_port_no = i + 1;
|
|
|
}
|