X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-4.0%2F834-ledtrig-libata.patch;h=a3a606275e1c921ab68a245a66a69e30cda99258;hp=b59483ec2515db5f5aa15d3d74246d6d674be7ef;hb=8100b227a99bcdfac356cdd24166343851f362bc;hpb=95f7fb8f494a40fbbc7a3b1f4d6bc8a3efba9b7e;ds=sidebyside diff --git a/target/linux/generic/patches-4.0/834-ledtrig-libata.patch b/target/linux/generic/patches-4.0/834-ledtrig-libata.patch index b59483ec25..a3a606275e 100644 --- a/target/linux/generic/patches-4.0/834-ledtrig-libata.patch +++ b/target/linux/generic/patches-4.0/834-ledtrig-libata.patch @@ -69,7 +69,7 @@ Signed-off-by: Daniel Golle /** * ata_build_rw_tf - Build ATA taskfile for given read/write request * @tf: Target ATA taskfile -@@ -4742,6 +4755,9 @@ struct ata_queued_cmd *ata_qc_new_init(s +@@ -4753,6 +4766,9 @@ struct ata_queued_cmd *ata_qc_new_init(s if (tag < 0) return NULL; } @@ -79,7 +79,7 @@ Signed-off-by: Daniel Golle qc = __ata_qc_from_tag(ap, tag); qc->tag = tag; -@@ -5636,6 +5652,9 @@ struct ata_port *ata_port_alloc(struct a +@@ -5647,6 +5663,9 @@ struct ata_port *ata_port_alloc(struct a ap->stats.unhandled_irq = 1; ap->stats.idle_irq = 1; #endif @@ -89,7 +89,7 @@ Signed-off-by: Daniel Golle ata_sff_port_init(ap); return ap; -@@ -5657,6 +5676,12 @@ static void ata_host_release(struct devi +@@ -5668,6 +5687,12 @@ static void ata_host_release(struct devi kfree(ap->pmp_link); kfree(ap->slave_link); @@ -102,7 +102,7 @@ Signed-off-by: Daniel Golle kfree(ap); host->ports[i] = NULL; } -@@ -6103,7 +6128,23 @@ int ata_host_register(struct ata_host *h +@@ -6114,7 +6139,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; }