diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-05-21 19:32:46 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-05-21 19:32:46 +0000 |
commit | 76d079204df113afa9e382a43abb5e1a2135150d (patch) | |
tree | 8e472ab203e8d6a47dc2e285b3becbfca35d04c6 /target/linux/oxnas/patches-3.18/999-libata-hacks.patch | |
parent | 072937888e133f5e97fd05a7496eaf7eeae04079 (diff) | |
download | upstream-76d079204df113afa9e382a43abb5e1a2135150d.tar.gz upstream-76d079204df113afa9e382a43abb5e1a2135150d.tar.bz2 upstream-76d079204df113afa9e382a43abb5e1a2135150d.zip |
kernel: update 3.18 to 3.18.14
Changelogs:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14
Build tested on brcm63xx and ipq806x, runtested on brcm63xx.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45711
Diffstat (limited to 'target/linux/oxnas/patches-3.18/999-libata-hacks.patch')
-rw-r--r-- | target/linux/oxnas/patches-3.18/999-libata-hacks.patch | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/target/linux/oxnas/patches-3.18/999-libata-hacks.patch b/target/linux/oxnas/patches-3.18/999-libata-hacks.patch index a1c80d89eb..741dddff40 100644 --- a/target/linux/oxnas/patches-3.18/999-libata-hacks.patch +++ b/target/linux/oxnas/patches-3.18/999-libata-hacks.patch @@ -1,8 +1,6 @@ -Index: linux-3.18-rc7/drivers/ata/libata-core.c -=================================================================== ---- linux-3.18-rc7.orig/drivers/ata/libata-core.c -+++ linux-3.18-rc7/drivers/ata/libata-core.c -@@ -1568,6 +1568,14 @@ unsigned ata_exec_internal_sg(struct ata +--- a/drivers/ata/libata-core.c ++++ b/drivers/ata/libata-core.c +@@ -1581,6 +1581,14 @@ unsigned ata_exec_internal_sg(struct ata return AC_ERR_SYSTEM; } @@ -17,7 +15,7 @@ Index: linux-3.18-rc7/drivers/ata/libata-core.c /* initialize internal qc */ /* XXX: Tag 0 is used for drivers with legacy EH as some -@@ -4739,6 +4747,9 @@ static struct ata_queued_cmd *ata_qc_new +@@ -4752,6 +4760,9 @@ static struct ata_queued_cmd *ata_qc_new if (unlikely(ap->pflags & ATA_PFLAG_FROZEN)) return NULL; @@ -25,9 +23,9 @@ Index: linux-3.18-rc7/drivers/ata/libata-core.c + return NULL; + for (i = 0, tag = ap->last_tag + 1; i < max_queue; i++, tag++) { - tag = tag < max_queue ? tag : 0; - -@@ -4805,6 +4816,8 @@ void ata_qc_free(struct ata_queued_cmd * + if (ap->flags & ATA_FLAG_LOWTAG) + tag = i; +@@ -4824,6 +4835,8 @@ void ata_qc_free(struct ata_queued_cmd * if (likely(ata_tag_valid(tag))) { qc->tag = ATA_TAG_POISON; clear_bit(tag, &ap->qc_allocated); @@ -36,11 +34,9 @@ Index: linux-3.18-rc7/drivers/ata/libata-core.c } } -Index: linux-3.18-rc7/include/linux/libata.h -=================================================================== ---- linux-3.18-rc7.orig/include/linux/libata.h -+++ linux-3.18-rc7/include/linux/libata.h -@@ -884,6 +884,8 @@ struct ata_port_operations { +--- a/include/linux/libata.h ++++ b/include/linux/libata.h +@@ -891,6 +891,8 @@ struct ata_port_operations { void (*qc_prep)(struct ata_queued_cmd *qc); unsigned int (*qc_issue)(struct ata_queued_cmd *qc); bool (*qc_fill_rtf)(struct ata_queued_cmd *qc); @@ -49,7 +45,7 @@ Index: linux-3.18-rc7/include/linux/libata.h /* * Configuration and exception handling -@@ -974,6 +976,9 @@ struct ata_port_operations { +@@ -981,6 +983,9 @@ struct ata_port_operations { void (*phy_reset)(struct ata_port *ap); void (*eng_timeout)(struct ata_port *ap); |