projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upgrade 3.13 targets to 3.13.2, refresh patches
[openwrt.git]
/
target
/
linux
/
sunxi
/
patches-3.13
/
160-ahci-add-pre-start-hook.patch
diff --git
a/target/linux/sunxi/patches-3.13/160-ahci-add-pre-start-hook.patch
b/target/linux/sunxi/patches-3.13/160-ahci-add-pre-start-hook.patch
index 342c11436df7f8b9575a5bc50a9b0ead8018c444..b832dc4d9766ded6c99b065cf395fba366309e68 100644
(file)
--- a/
target/linux/sunxi/patches-3.13/160-ahci-add-pre-start-hook.patch
+++ b/
target/linux/sunxi/patches-3.13/160-ahci-add-pre-start-hook.patch
@@
-18,8
+18,6
@@
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/ata/libahci.c | 4 ++++
2 files changed, 6 insertions(+)
drivers/ata/libahci.c | 4 ++++
2 files changed, 6 insertions(+)
-diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
-index 2289efd..1bba479 100644
--- a/drivers/ata/ahci.h
+++ b/drivers/ata/ahci.h
@@ -323,6 +323,8 @@ struct ahci_host_priv {
--- a/drivers/ata/ahci.h
+++ b/drivers/ata/ahci.h
@@ -323,6 +323,8 @@ struct ahci_host_priv {
@@
-31,11
+29,9
@@
index 2289efd..1bba479 100644
};
extern int ahci_ignore_sss;
};
extern int ahci_ignore_sss;
-diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c
-index c482f8c..780e9df 100644
--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
-@@ -568,8 +568,12 @@ static int ahci_scr_write(struct ata_lin
k *link, unsigned int sc_reg, u32 val)
+@@ -568,8 +568,12 @@ static int ahci_scr_write(struct ata_lin
void ahci_start_engine(struct ata_port *ap)
{
void __iomem *port_mmio = ahci_port_base(ap);
void ahci_start_engine(struct ata_port *ap)
{
void __iomem *port_mmio = ahci_port_base(ap);
@@
-48,6
+44,3
@@
index c482f8c..780e9df 100644
/* start DMA */
tmp = readl(port_mmio + PORT_CMD);
tmp |= PORT_CMD_START;
/* start DMA */
tmp = readl(port_mmio + PORT_CMD);
tmp |= PORT_CMD_START;
---
-1.8.5.1
-