1 From 329eae71bdbe9e30f76164ba3dd5ef0dba932eef Mon Sep 17 00:00:00 2001
2 From: Kurt Mahan <kmahan@freescale.com>
3 Date: Fri, 15 Feb 2008 15:34:58 -0700
4 Subject: [PATCH] Remove .port_disable and .irq_ack for 2.6.24.
6 LTIBName: m5445x-pata-24-cleanup
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
9 drivers/ata/pata_fsl.c | 15 ---------------
10 1 files changed, 0 insertions(+), 15 deletions(-)
12 --- a/drivers/ata/pata_fsl.c
13 +++ b/drivers/ata/pata_fsl.c
14 @@ -497,19 +497,6 @@ err_out:
16 #endif /* CONFIG_FSL_PATA_USE_DMA */
18 -static u8 pata_fsl_irq_ack(struct ata_port *ap, unsigned int chk_drq)
20 - unsigned int bits = chk_drq ? ATA_BUSY | ATA_DRQ : ATA_BUSY;
23 - status = ata_busy_wait(ap, bits, 1000);
25 - if (ata_msg_err(ap))
26 - printk(KERN_ERR "abnormal status 0x%X\n", status);
31 static void ata_dummy_noret(struct ata_port *ap) { return; }
33 static struct scsi_host_template pata_fsl_sht = {
34 @@ -538,7 +525,6 @@ static struct ata_port_operations pata_f
35 .set_dmamode = pata_fsl_set_dmamode,
38 - .port_disable = ata_port_disable,
39 .tf_load = ata_tf_load,
40 .tf_read = ata_tf_read,
41 .check_status = ata_check_status,
42 @@ -563,7 +549,6 @@ static struct ata_port_operations pata_f
44 .irq_clear = ata_dummy_noret,
46 - .irq_ack = pata_fsl_irq_ack,
48 .port_start = pata_fsl_port_start,