kernel: update 3.14 to 3.14.18
[openwrt.git] / target / linux / ipq806x / patches / 0119-ahci_platform-Drop-support-for-ahci-strict-platform-.patch
1 From 474c436aebe260b0e6e7042ce5291137b7c87b57 Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Sat, 22 Feb 2014 17:22:53 +0100
4 Subject: [PATCH 119/182] ahci_platform: Drop support for ahci-strict platform
5  device type
6
7 I've done a grep over the entire kernel tree and nothing is using this
8 (anymore?).
9
10 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
11 Signed-off-by: Tejun Heo <tj@kernel.org>
12 ---
13  drivers/ata/ahci_platform.c |   11 -----------
14  1 file changed, 11 deletions(-)
15
16 --- a/drivers/ata/ahci_platform.c
17 +++ b/drivers/ata/ahci_platform.c
18 @@ -31,7 +31,6 @@ static void ahci_host_stop(struct ata_ho
19  enum ahci_type {
20         AHCI,           /* standard platform ahci */
21         IMX53_AHCI,     /* ahci on i.mx53 */
22 -       STRICT_AHCI,    /* delayed DMA engine start */
23  };
24  
25  static struct platform_device_id ahci_devtype[] = {
26 @@ -42,9 +41,6 @@ static struct platform_device_id ahci_de
27                 .name = "imx53-ahci",
28                 .driver_data = IMX53_AHCI,
29         }, {
30 -               .name = "strict-ahci",
31 -               .driver_data = STRICT_AHCI,
32 -       }, {
33                 /* sentinel */
34         }
35  };
36 @@ -75,13 +71,6 @@ static const struct ata_port_info ahci_p
37                 .udma_mask      = ATA_UDMA6,
38                 .port_ops       = &ahci_platform_retry_srst_ops,
39         },
40 -       [STRICT_AHCI] = {
41 -               AHCI_HFLAGS     (AHCI_HFLAG_DELAY_ENGINE),
42 -               .flags          = AHCI_FLAG_COMMON,
43 -               .pio_mask       = ATA_PIO4,
44 -               .udma_mask      = ATA_UDMA6,
45 -               .port_ops       = &ahci_platform_ops,
46 -       },
47  };
48  
49  static struct scsi_host_template ahci_platform_sht = {