upgrade iop32x to 2.6.30
[openwrt.git] / target / linux / coldfire / patches / 042-m5445x_pata_24_cleanup.patch
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.
5
6 LTIBName: m5445x-pata-24-cleanup
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
8 ---
9 drivers/ata/pata_fsl.c | 15 ---------------
10 1 files changed, 0 insertions(+), 15 deletions(-)
11
12 --- a/drivers/ata/pata_fsl.c
13 +++ b/drivers/ata/pata_fsl.c
14 @@ -497,19 +497,6 @@ err_out:
15 }
16 #endif /* CONFIG_FSL_PATA_USE_DMA */
17
18 -static u8 pata_fsl_irq_ack(struct ata_port *ap, unsigned int chk_drq)
19 -{
20 - unsigned int bits = chk_drq ? ATA_BUSY | ATA_DRQ : ATA_BUSY;
21 - u8 status;
22 -
23 - status = ata_busy_wait(ap, bits, 1000);
24 - if (status & bits)
25 - if (ata_msg_err(ap))
26 - printk(KERN_ERR "abnormal status 0x%X\n", status);
27 -
28 - return status;
29 -}
30 -
31 static void ata_dummy_noret(struct ata_port *ap) { return; }
32
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,
36 #endif
37
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
43
44 .irq_clear = ata_dummy_noret,
45 .irq_on = ata_irq_on,
46 - .irq_ack = pata_fsl_irq_ack,
47
48 .port_start = pata_fsl_port_start,
49
This page took 0.041141 seconds and 5 git commands to generate.