aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx/patches-3.14/080-sata_support.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-03-16 07:40:41 +0000
committerJohn Crispin <blogic@openwrt.org>2015-03-16 07:40:41 +0000
commit102d657c2aabbf221542ece910bfd95a61c0158d (patch)
tree4ffa7a30362aff24cd653702baf2a696f0b9a99e /target/linux/cns3xxx/patches-3.14/080-sata_support.patch
parent42d874818fa7e90cbc2827125f4419960c6323c4 (diff)
downloadupstream-102d657c2aabbf221542ece910bfd95a61c0158d.tar.gz
upstream-102d657c2aabbf221542ece910bfd95a61c0158d.tar.bz2
upstream-102d657c2aabbf221542ece910bfd95a61c0158d.zip
cns3xxx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44817 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx/patches-3.14/080-sata_support.patch')
-rw-r--r--target/linux/cns3xxx/patches-3.14/080-sata_support.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/target/linux/cns3xxx/patches-3.14/080-sata_support.patch b/target/linux/cns3xxx/patches-3.14/080-sata_support.patch
deleted file mode 100644
index 74021316eb..0000000000
--- a/target/linux/cns3xxx/patches-3.14/080-sata_support.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- a/arch/arm/mach-cns3xxx/devices.c
-+++ b/arch/arm/mach-cns3xxx/devices.c
-@@ -40,7 +40,7 @@ static struct resource cns3xxx_ahci_reso
- static u64 cns3xxx_ahci_dmamask = DMA_BIT_MASK(32);
-
- static struct platform_device cns3xxx_ahci_pdev = {
-- .name = "ahci",
-+ .name = "cns3xxx-ahci",
- .id = 0,
- .resource = cns3xxx_ahci_resource,
- .num_resources = ARRAY_SIZE(cns3xxx_ahci_resource),
---- a/drivers/ata/ahci_platform.c
-+++ b/drivers/ata/ahci_platform.c
-@@ -31,6 +31,7 @@ enum ahci_type {
- AHCI, /* standard platform ahci */
- IMX53_AHCI, /* ahci on i.mx53 */
- STRICT_AHCI, /* delayed DMA engine start */
-+ CNS3XXX_AHCI, /* AHCI on cns3xxx */
- };
-
- static struct platform_device_id ahci_devtype[] = {
-@@ -44,6 +45,9 @@ static struct platform_device_id ahci_de
- .name = "strict-ahci",
- .driver_data = STRICT_AHCI,
- }, {
-+ .name = "cns3xxx-ahci",
-+ .driver_data = CNS3XXX_AHCI,
-+ }, {
- /* sentinel */
- }
- };
-@@ -81,6 +85,12 @@ static const struct ata_port_info ahci_p
- .udma_mask = ATA_UDMA6,
- .port_ops = &ahci_platform_ops,
- },
-+ [CNS3XXX_AHCI] = {
-+ .flags = AHCI_FLAG_COMMON,
-+ .pio_mask = ATA_PIO4,
-+ .udma_mask = ATA_UDMA6,
-+ .port_ops = &ahci_platform_retry_srst_ops,
-+ }
- };
-
- static struct scsi_host_template ahci_platform_sht = {