OpenWrt
/branches/18.06.1/target/linux/generic/pending-4.14/834-ledtrig-libata.patch |
@@ -65,7 +65,7 @@ |
/** |
* ata_build_rw_tf - Build ATA taskfile for given read/write request |
* @tf: Target ATA taskfile |
@@ -5121,6 +5134,9 @@ struct ata_queued_cmd *ata_qc_new_init(s |
@@ -5120,6 +5133,9 @@ struct ata_queued_cmd *ata_qc_new_init(s |
if (tag < 0) |
return NULL; |
} |
@@ -75,7 +75,7 @@ |
|
qc = __ata_qc_from_tag(ap, tag); |
qc->tag = tag; |
@@ -6022,6 +6038,9 @@ struct ata_port *ata_port_alloc(struct a |
@@ -6021,6 +6037,9 @@ struct ata_port *ata_port_alloc(struct a |
ap->stats.unhandled_irq = 1; |
ap->stats.idle_irq = 1; |
#endif |
@@ -85,7 +85,7 @@ |
ata_sff_port_init(ap); |
|
return ap; |
@@ -6043,6 +6062,12 @@ static void ata_host_release(struct devi |
@@ -6042,6 +6061,12 @@ static void ata_host_release(struct devi |
|
kfree(ap->pmp_link); |
kfree(ap->slave_link); |
@@ -98,7 +98,7 @@ |
kfree(ap); |
host->ports[i] = NULL; |
} |
@@ -6489,7 +6514,23 @@ int ata_host_register(struct ata_host *h |
@@ -6488,7 +6513,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; |
} |