diff options
author | Tejun Heo <htejun@gmail.com> | 2008-04-07 09:47:16 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 15:44:22 -0400 |
commit | 5682ed33aae05d10a25c95633ef9d9c062825888 (patch) | |
tree | 1632d4d70f4fd2dc25596a5cde1183f70f162ac3 /drivers/ata/pata_icside.c | |
parent | 9363c3825ea9ad76561eb48a395349dd29211ed6 (diff) |
libata: rename SFF port ops
Add sff_ prefix to SFF specific port ops.
This rename is in preparation of separating SFF support out of libata
core layer. This patch strictly renames ops and doesn't introduce any
behavior difference.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/ata/pata_icside.c')
-rw-r--r-- | drivers/ata/pata_icside.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_icside.c b/drivers/ata/pata_icside.c index 52de9f908fb0..17138436423d 100644 --- a/drivers/ata/pata_icside.c +++ b/drivers/ata/pata_icside.c | |||
@@ -250,7 +250,7 @@ static void pata_icside_bmdma_setup(struct ata_queued_cmd *qc) | |||
250 | set_dma_mode(state->dma, write ? DMA_MODE_WRITE : DMA_MODE_READ); | 250 | set_dma_mode(state->dma, write ? DMA_MODE_WRITE : DMA_MODE_READ); |
251 | 251 | ||
252 | /* issue r/w command */ | 252 | /* issue r/w command */ |
253 | ap->ops->exec_command(ap, &qc->tf); | 253 | ap->ops->sff_exec_command(ap, &qc->tf); |
254 | } | 254 | } |
255 | 255 | ||
256 | static void pata_icside_bmdma_start(struct ata_queued_cmd *qc) | 256 | static void pata_icside_bmdma_start(struct ata_queued_cmd *qc) |
@@ -336,7 +336,7 @@ static struct ata_port_operations pata_icside_port_ops = { | |||
336 | .inherits = &ata_sff_port_ops, | 336 | .inherits = &ata_sff_port_ops, |
337 | /* no need to build any PRD tables for DMA */ | 337 | /* no need to build any PRD tables for DMA */ |
338 | .qc_prep = ata_noop_qc_prep, | 338 | .qc_prep = ata_noop_qc_prep, |
339 | .data_xfer = ata_sff_data_xfer_noirq, | 339 | .sff_data_xfer = ata_sff_data_xfer_noirq, |
340 | .bmdma_setup = pata_icside_bmdma_setup, | 340 | .bmdma_setup = pata_icside_bmdma_setup, |
341 | .bmdma_start = pata_icside_bmdma_start, | 341 | .bmdma_start = pata_icside_bmdma_start, |
342 | .bmdma_stop = pata_icside_bmdma_stop, | 342 | .bmdma_stop = pata_icside_bmdma_stop, |