ipq806x: Add support for IPQ806x chip family
[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 diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
17 index fc32863..d3d2bad 100644
18 --- a/drivers/ata/ahci_platform.c
19 +++ b/drivers/ata/ahci_platform.c
20 @@ -31,7 +31,6 @@ static void ahci_host_stop(struct ata_host *host);
21  enum ahci_type {
22         AHCI,           /* standard platform ahci */
23         IMX53_AHCI,     /* ahci on i.mx53 */
24 -       STRICT_AHCI,    /* delayed DMA engine start */
25  };
26  
27  static struct platform_device_id ahci_devtype[] = {
28 @@ -42,9 +41,6 @@ static struct platform_device_id ahci_devtype[] = {
29                 .name = "imx53-ahci",
30                 .driver_data = IMX53_AHCI,
31         }, {
32 -               .name = "strict-ahci",
33 -               .driver_data = STRICT_AHCI,
34 -       }, {
35                 /* sentinel */
36         }
37  };
38 @@ -75,13 +71,6 @@ static const struct ata_port_info ahci_port_info[] = {
39                 .udma_mask      = ATA_UDMA6,
40                 .port_ops       = &ahci_platform_retry_srst_ops,
41         },
42 -       [STRICT_AHCI] = {
43 -               AHCI_HFLAGS     (AHCI_HFLAG_DELAY_ENGINE),
44 -               .flags          = AHCI_FLAG_COMMON,
45 -               .pio_mask       = ATA_PIO4,
46 -               .udma_mask      = ATA_UDMA6,
47 -               .port_ops       = &ahci_platform_ops,
48 -       },
49  };
50  
51  static struct scsi_host_template ahci_platform_sht = {
52 -- 
53 1.7.10.4
54