瀏覽代碼

ahci_platform: Drop support for ahci-strict platform device type

I've done a grep over the entire kernel tree and nothing is using this
(anymore?).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Hans de Goede 11 年之前
父節點
當前提交
f1df8641e2
共有 1 個文件被更改,包括 0 次插入11 次删除
  1. 0 11
      drivers/ata/ahci_platform.c

+ 0 - 11
drivers/ata/ahci_platform.c

@@ -31,7 +31,6 @@ static void ahci_host_stop(struct ata_host *host);
 enum ahci_type {
 enum ahci_type {
 	AHCI,		/* standard platform ahci */
 	AHCI,		/* standard platform ahci */
 	IMX53_AHCI,	/* ahci on i.mx53 */
 	IMX53_AHCI,	/* ahci on i.mx53 */
-	STRICT_AHCI,	/* delayed DMA engine start */
 };
 };
 
 
 static struct platform_device_id ahci_devtype[] = {
 static struct platform_device_id ahci_devtype[] = {
@@ -41,9 +40,6 @@ static struct platform_device_id ahci_devtype[] = {
 	}, {
 	}, {
 		.name = "imx53-ahci",
 		.name = "imx53-ahci",
 		.driver_data = IMX53_AHCI,
 		.driver_data = IMX53_AHCI,
-	}, {
-		.name = "strict-ahci",
-		.driver_data = STRICT_AHCI,
 	}, {
 	}, {
 		/* sentinel */
 		/* sentinel */
 	}
 	}
@@ -75,13 +71,6 @@ static const struct ata_port_info ahci_port_info[] = {
 		.udma_mask	= ATA_UDMA6,
 		.udma_mask	= ATA_UDMA6,
 		.port_ops	= &ahci_platform_retry_srst_ops,
 		.port_ops	= &ahci_platform_retry_srst_ops,
 	},
 	},
-	[STRICT_AHCI] = {
-		AHCI_HFLAGS	(AHCI_HFLAG_DELAY_ENGINE),
-		.flags		= AHCI_FLAG_COMMON,
-		.pio_mask	= ATA_PIO4,
-		.udma_mask	= ATA_UDMA6,
-		.port_ops	= &ahci_platform_ops,
-	},
 };
 };
 
 
 static struct scsi_host_template ahci_platform_sht = {
 static struct scsi_host_template ahci_platform_sht = {