diff options
Diffstat (limited to 'drivers/ata/pata_ixp4xx_cf.c')
-rw-r--r-- | drivers/ata/pata_ixp4xx_cf.c | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c index b7e8e825a869..d02629aa20da 100644 --- a/drivers/ata/pata_ixp4xx_cf.c +++ b/drivers/ata/pata_ixp4xx_cf.c | |||
@@ -92,29 +92,10 @@ static struct scsi_host_template ixp4xx_sht = { | |||
92 | }; | 92 | }; |
93 | 93 | ||
94 | static struct ata_port_operations ixp4xx_port_ops = { | 94 | static struct ata_port_operations ixp4xx_port_ops = { |
95 | .set_mode = ixp4xx_set_mode, | 95 | .inherits = &ata_sff_port_ops, |
96 | |||
97 | .tf_load = ata_tf_load, | ||
98 | .tf_read = ata_tf_read, | ||
99 | .exec_command = ata_exec_command, | ||
100 | .check_status = ata_check_status, | ||
101 | .dev_select = ata_std_dev_select, | ||
102 | |||
103 | .freeze = ata_bmdma_freeze, | ||
104 | .thaw = ata_bmdma_thaw, | ||
105 | .error_handler = ata_bmdma_error_handler, | ||
106 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
107 | |||
108 | .qc_prep = ata_qc_prep, | ||
109 | .qc_issue = ata_qc_issue_prot, | ||
110 | .data_xfer = ixp4xx_mmio_data_xfer, | 96 | .data_xfer = ixp4xx_mmio_data_xfer, |
111 | .cable_detect = ata_cable_40wire, | 97 | .cable_detect = ata_cable_40wire, |
112 | 98 | .set_mode = ixp4xx_set_mode, | |
113 | .irq_handler = ata_interrupt, | ||
114 | .irq_clear = ata_noop_irq_clear, | ||
115 | .irq_on = ata_irq_on, | ||
116 | |||
117 | .port_start = ata_sff_port_start, | ||
118 | }; | 99 | }; |
119 | 100 | ||
120 | static void ixp4xx_setup_port(struct ata_port *ap, | 101 | static void ixp4xx_setup_port(struct ata_port *ap, |