diff options
Diffstat (limited to 'drivers/ata/pdc_adma.c')
-rw-r--r-- | drivers/ata/pdc_adma.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/drivers/ata/pdc_adma.c b/drivers/ata/pdc_adma.c index 5ed065d0ab4c..577a0e556f7a 100644 --- a/drivers/ata/pdc_adma.c +++ b/drivers/ata/pdc_adma.c | |||
@@ -136,8 +136,6 @@ static void adma_port_stop(struct ata_port *ap); | |||
136 | static void adma_qc_prep(struct ata_queued_cmd *qc); | 136 | static void adma_qc_prep(struct ata_queued_cmd *qc); |
137 | static unsigned int adma_qc_issue(struct ata_queued_cmd *qc); | 137 | static unsigned int adma_qc_issue(struct ata_queued_cmd *qc); |
138 | static int adma_check_atapi_dma(struct ata_queued_cmd *qc); | 138 | static int adma_check_atapi_dma(struct ata_queued_cmd *qc); |
139 | static void adma_bmdma_stop(struct ata_queued_cmd *qc); | ||
140 | static u8 adma_bmdma_status(struct ata_port *ap); | ||
141 | static void adma_freeze(struct ata_port *ap); | 139 | static void adma_freeze(struct ata_port *ap); |
142 | static void adma_thaw(struct ata_port *ap); | 140 | static void adma_thaw(struct ata_port *ap); |
143 | static int adma_prereset(struct ata_link *link, unsigned long deadline); | 141 | static int adma_prereset(struct ata_link *link, unsigned long deadline); |
@@ -158,8 +156,6 @@ static struct ata_port_operations adma_ata_ops = { | |||
158 | .exec_command = ata_exec_command, | 156 | .exec_command = ata_exec_command, |
159 | .data_xfer = ata_data_xfer, | 157 | .data_xfer = ata_data_xfer, |
160 | .check_atapi_dma = adma_check_atapi_dma, | 158 | .check_atapi_dma = adma_check_atapi_dma, |
161 | .bmdma_stop = adma_bmdma_stop, | ||
162 | .bmdma_status = adma_bmdma_status, | ||
163 | .qc_prep = adma_qc_prep, | 159 | .qc_prep = adma_qc_prep, |
164 | .qc_issue = adma_qc_issue, | 160 | .qc_issue = adma_qc_issue, |
165 | .irq_on = ata_irq_on, | 161 | .irq_on = ata_irq_on, |
@@ -168,6 +164,8 @@ static struct ata_port_operations adma_ata_ops = { | |||
168 | .thaw = adma_thaw, | 164 | .thaw = adma_thaw, |
169 | .prereset = adma_prereset, | 165 | .prereset = adma_prereset, |
170 | .softreset = ata_std_softreset, | 166 | .softreset = ata_std_softreset, |
167 | .error_handler = ata_bmdma_error_handler, | ||
168 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
171 | 169 | ||
172 | .port_start = adma_port_start, | 170 | .port_start = adma_port_start, |
173 | .port_stop = adma_port_stop, | 171 | .port_stop = adma_port_stop, |
@@ -204,16 +202,6 @@ static int adma_check_atapi_dma(struct ata_queued_cmd *qc) | |||
204 | return 1; /* ATAPI DMA not yet supported */ | 202 | return 1; /* ATAPI DMA not yet supported */ |
205 | } | 203 | } |
206 | 204 | ||
207 | static void adma_bmdma_stop(struct ata_queued_cmd *qc) | ||
208 | { | ||
209 | /* nothing */ | ||
210 | } | ||
211 | |||
212 | static u8 adma_bmdma_status(struct ata_port *ap) | ||
213 | { | ||
214 | return 0; | ||
215 | } | ||
216 | |||
217 | static void adma_reset_engine(struct ata_port *ap) | 205 | static void adma_reset_engine(struct ata_port *ap) |
218 | { | 206 | { |
219 | void __iomem *chan = ADMA_PORT_REGS(ap); | 207 | void __iomem *chan = ADMA_PORT_REGS(ap); |