diff options
author | Tejun Heo <htejun@gmail.com> | 2008-03-25 08:35:30 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 15:44:20 -0400 |
commit | b0316b15ace0570c87b74c81f1296cf7bf8d459e (patch) | |
tree | dbf4b03b7a3b426bb32da0fae90e1ced0bbd4a28 /drivers/ata/pdc_adma.c | |
parent | ed82f96425e744dffe62115e46f08eb785c0b2f3 (diff) |
pdc_adma: inherit ata_sff_port_ops
With the previous ops standardization, pdc_adma now can inherit
ata_sff_port_ops instead of ata_base_port_ops. Make the change.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Mark Lord <liml@rtr.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pdc_adma.c')
-rw-r--r-- | drivers/ata/pdc_adma.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/ata/pdc_adma.c b/drivers/ata/pdc_adma.c index 577a0e556f7a..6a4654e309a5 100644 --- a/drivers/ata/pdc_adma.c +++ b/drivers/ata/pdc_adma.c | |||
@@ -147,25 +147,15 @@ static struct scsi_host_template adma_ata_sht = { | |||
147 | }; | 147 | }; |
148 | 148 | ||
149 | static struct ata_port_operations adma_ata_ops = { | 149 | static struct ata_port_operations adma_ata_ops = { |
150 | .inherits = &ata_base_port_ops, | 150 | .inherits = &ata_sff_port_ops, |
151 | 151 | ||
152 | .dev_select = ata_std_dev_select, | ||
153 | .tf_load = ata_tf_load, | ||
154 | .tf_read = ata_tf_read, | ||
155 | .check_status = ata_check_status, | ||
156 | .exec_command = ata_exec_command, | ||
157 | .data_xfer = ata_data_xfer, | ||
158 | .check_atapi_dma = adma_check_atapi_dma, | 152 | .check_atapi_dma = adma_check_atapi_dma, |
159 | .qc_prep = adma_qc_prep, | 153 | .qc_prep = adma_qc_prep, |
160 | .qc_issue = adma_qc_issue, | 154 | .qc_issue = adma_qc_issue, |
161 | .irq_on = ata_irq_on, | ||
162 | 155 | ||
163 | .freeze = adma_freeze, | 156 | .freeze = adma_freeze, |
164 | .thaw = adma_thaw, | 157 | .thaw = adma_thaw, |
165 | .prereset = adma_prereset, | 158 | .prereset = adma_prereset, |
166 | .softreset = ata_std_softreset, | ||
167 | .error_handler = ata_bmdma_error_handler, | ||
168 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
169 | 159 | ||
170 | .port_start = adma_port_start, | 160 | .port_start = adma_port_start, |
171 | .port_stop = adma_port_stop, | 161 | .port_stop = adma_port_stop, |