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_legacy.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_legacy.c')
-rw-r--r-- | drivers/ata/pata_legacy.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c index f13f10a55ef3..7af4b29cc422 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 | ||
227 | static struct ata_port_operations simple_port_ops = { | 227 | static 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 | ||
232 | static struct ata_port_operations legacy_port_ops = { | 232 | static 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, | |||
325 | static struct ata_port_operations pdc20230_port_ops = { | 325 | static 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 | ||
781 | static struct ata_port_operations qdi6580_port_ops = { | 781 | static 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 | ||
787 | static struct ata_port_operations qdi6580dp_port_ops = { | 787 | static 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 | ||
793 | static DEFINE_SPINLOCK(winbond_lock); | 793 | static DEFINE_SPINLOCK(winbond_lock); |
@@ -858,7 +858,7 @@ static int winbond_port(struct platform_device *dev, | |||
858 | static struct ata_port_operations winbond_port_ops = { | 858 | static 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 | ||
864 | static struct legacy_controller controllers[] = { | 864 | static struct legacy_controller controllers[] = { |