summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-03-25 21:35:30 +0900
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:20 -0400
commitb0316b15ace0570c87b74c81f1296cf7bf8d459e (patch)
treedbf4b03b7a3b426bb32da0fae90e1ced0bbd4a28
parented82f96425e744dffe62115e46f08eb785c0b2f3 (diff)
downloadop-kernel-dev-b0316b15ace0570c87b74c81f1296cf7bf8d459e.zip
op-kernel-dev-b0316b15ace0570c87b74c81f1296cf7bf8d459e.tar.gz
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>
-rw-r--r--drivers/ata/pdc_adma.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/ata/pdc_adma.c b/drivers/ata/pdc_adma.c
index 577a0e5..6a4654e 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 = {
};
static struct ata_port_operations adma_ata_ops = {
- .inherits = &ata_base_port_ops,
-
- .dev_select = ata_std_dev_select,
- .tf_load = ata_tf_load,
- .tf_read = ata_tf_read,
- .check_status = ata_check_status,
- .exec_command = ata_exec_command,
- .data_xfer = ata_data_xfer,
+ .inherits = &ata_sff_port_ops,
+
.check_atapi_dma = adma_check_atapi_dma,
.qc_prep = adma_qc_prep,
.qc_issue = adma_qc_issue,
- .irq_on = ata_irq_on,
.freeze = adma_freeze,
.thaw = adma_thaw,
.prereset = adma_prereset,
- .softreset = ata_std_softreset,
- .error_handler = ata_bmdma_error_handler,
- .post_internal_cmd = ata_bmdma_post_internal_cmd,
.port_start = adma_port_start,
.port_stop = adma_port_stop,
OpenPOWER on IntegriCloud