diff options
Diffstat (limited to 'drivers/ata/pata_hpt366.c')
-rw-r--r-- | drivers/ata/pata_hpt366.c | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/drivers/ata/pata_hpt366.c b/drivers/ata/pata_hpt366.c index a30028de41c0..788955f57ff8 100644 --- a/drivers/ata/pata_hpt366.c +++ b/drivers/ata/pata_hpt366.c | |||
@@ -298,37 +298,11 @@ static struct scsi_host_template hpt36x_sht = { | |||
298 | */ | 298 | */ |
299 | 299 | ||
300 | static struct ata_port_operations hpt366_port_ops = { | 300 | static struct ata_port_operations hpt366_port_ops = { |
301 | .inherits = &ata_bmdma_port_ops, | ||
302 | .cable_detect = hpt36x_cable_detect, | ||
303 | .mode_filter = hpt366_filter, | ||
301 | .set_piomode = hpt366_set_piomode, | 304 | .set_piomode = hpt366_set_piomode, |
302 | .set_dmamode = hpt366_set_dmamode, | 305 | .set_dmamode = hpt366_set_dmamode, |
303 | .mode_filter = hpt366_filter, | ||
304 | |||
305 | .tf_load = ata_tf_load, | ||
306 | .tf_read = ata_tf_read, | ||
307 | .check_status = ata_check_status, | ||
308 | .exec_command = ata_exec_command, | ||
309 | .dev_select = ata_std_dev_select, | ||
310 | |||
311 | .freeze = ata_bmdma_freeze, | ||
312 | .thaw = ata_bmdma_thaw, | ||
313 | .error_handler = ata_bmdma_error_handler, | ||
314 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
315 | .cable_detect = hpt36x_cable_detect, | ||
316 | |||
317 | .bmdma_setup = ata_bmdma_setup, | ||
318 | .bmdma_start = ata_bmdma_start, | ||
319 | .bmdma_stop = ata_bmdma_stop, | ||
320 | .bmdma_status = ata_bmdma_status, | ||
321 | |||
322 | .qc_prep = ata_qc_prep, | ||
323 | .qc_issue = ata_qc_issue_prot, | ||
324 | |||
325 | .data_xfer = ata_data_xfer, | ||
326 | |||
327 | .irq_handler = ata_interrupt, | ||
328 | .irq_clear = ata_bmdma_irq_clear, | ||
329 | .irq_on = ata_irq_on, | ||
330 | |||
331 | .port_start = ata_sff_port_start, | ||
332 | }; | 306 | }; |
333 | 307 | ||
334 | /** | 308 | /** |