aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_legacy.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-04-07 09:47:16 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:22 -0400
commit5682ed33aae05d10a25c95633ef9d9c062825888 (patch)
tree1632d4d70f4fd2dc25596a5cde1183f70f162ac3 /drivers/ata/pata_legacy.c
parent9363c3825ea9ad76561eb48a395349dd29211ed6 (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_legacy.c')
-rw-r--r--drivers/ata/pata_legacy.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c
index f13f10a55ef..7af4b29cc42 100644
--- a/drivers/ata/pata_legacy.c
+++ b/drivers/ata/pata_legacy.c
@@ -226,12 +226,12 @@ static const struct ata_port_operations legacy_base_port_ops = {
226 226
227static struct ata_port_operations simple_port_ops = { 227static struct ata_port_operations simple_port_ops = {
228 .inherits = &legacy_base_port_ops, 228 .inherits = &legacy_base_port_ops,
229 .data_xfer = ata_sff_data_xfer_noirq, 229 .sff_data_xfer = ata_sff_data_xfer_noirq,
230}; 230};
231 231
232static struct ata_port_operations legacy_port_ops = { 232static struct ata_port_operations legacy_port_ops = {
233 .inherits = &legacy_base_port_ops, 233 .inherits = &legacy_base_port_ops,
234 .data_xfer = ata_sff_data_xfer_noirq, 234 .sff_data_xfer = ata_sff_data_xfer_noirq,
235 .set_mode = legacy_set_mode, 235 .set_mode = legacy_set_mode,
236}; 236};
237 237
@@ -325,7 +325,7 @@ static unsigned int pdc_data_xfer_vlb(struct ata_device *dev,
325static struct ata_port_operations pdc20230_port_ops = { 325static struct ata_port_operations pdc20230_port_ops = {
326 .inherits = &legacy_base_port_ops, 326 .inherits = &legacy_base_port_ops,
327 .set_piomode = pdc20230_set_piomode, 327 .set_piomode = pdc20230_set_piomode,
328 .data_xfer = pdc_data_xfer_vlb, 328 .sff_data_xfer = pdc_data_xfer_vlb,
329}; 329};
330 330
331/* 331/*
@@ -775,19 +775,19 @@ static struct ata_port_operations qdi6500_port_ops = {
775 .inherits = &legacy_base_port_ops, 775 .inherits = &legacy_base_port_ops,
776 .set_piomode = qdi6500_set_piomode, 776 .set_piomode = qdi6500_set_piomode,
777 .qc_issue = qdi_qc_issue, 777 .qc_issue = qdi_qc_issue,
778 .data_xfer = vlb32_data_xfer, 778 .sff_data_xfer = vlb32_data_xfer,
779}; 779};
780 780
781static struct ata_port_operations qdi6580_port_ops = { 781static struct ata_port_operations qdi6580_port_ops = {
782 .inherits = &legacy_base_port_ops, 782 .inherits = &legacy_base_port_ops,
783 .set_piomode = qdi6580_set_piomode, 783 .set_piomode = qdi6580_set_piomode,
784 .data_xfer = vlb32_data_xfer, 784 .sff_data_xfer = vlb32_data_xfer,
785}; 785};
786 786
787static struct ata_port_operations qdi6580dp_port_ops = { 787static struct ata_port_operations qdi6580dp_port_ops = {
788 .inherits = &legacy_base_port_ops, 788 .inherits = &legacy_base_port_ops,
789 .set_piomode = qdi6580dp_set_piomode, 789 .set_piomode = qdi6580dp_set_piomode,
790 .data_xfer = vlb32_data_xfer, 790 .sff_data_xfer = vlb32_data_xfer,
791}; 791};
792 792
793static DEFINE_SPINLOCK(winbond_lock); 793static DEFINE_SPINLOCK(winbond_lock);
@@ -858,7 +858,7 @@ static int winbond_port(struct platform_device *dev,
858static struct ata_port_operations winbond_port_ops = { 858static struct ata_port_operations winbond_port_ops = {
859 .inherits = &legacy_base_port_ops, 859 .inherits = &legacy_base_port_ops,
860 .set_piomode = winbond_set_piomode, 860 .set_piomode = winbond_set_piomode,
861 .data_xfer = vlb32_data_xfer, 861 .sff_data_xfer = vlb32_data_xfer,
862}; 862};
863 863
864static struct legacy_controller controllers[] = { 864static struct legacy_controller controllers[] = {