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/scsi | |
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/scsi')
-rw-r--r-- | drivers/scsi/ipr.c | 8 | ||||
-rw-r--r-- | drivers/scsi/libsas/sas_ata.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 79fd2436bd70..5bddae19d1fb 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -5271,13 +5271,13 @@ static u8 ipr_ata_check_altstatus(struct ata_port *ap) | |||
5271 | } | 5271 | } |
5272 | 5272 | ||
5273 | static struct ata_port_operations ipr_sata_ops = { | 5273 | static struct ata_port_operations ipr_sata_ops = { |
5274 | .check_status = ipr_ata_check_status, | 5274 | .sff_check_status = ipr_ata_check_status, |
5275 | .check_altstatus = ipr_ata_check_altstatus, | 5275 | .sff_check_altstatus = ipr_ata_check_altstatus, |
5276 | .dev_select = ata_noop_dev_select, | 5276 | .sff_dev_select = ata_noop_dev_select, |
5277 | .phy_reset = ipr_ata_phy_reset, | 5277 | .phy_reset = ipr_ata_phy_reset, |
5278 | .hardreset = ipr_sata_reset, | 5278 | .hardreset = ipr_sata_reset, |
5279 | .post_internal_cmd = ipr_ata_post_internal, | 5279 | .post_internal_cmd = ipr_ata_post_internal, |
5280 | .tf_read = ipr_tf_read, | 5280 | .sff_tf_read = ipr_tf_read, |
5281 | .qc_prep = ata_noop_qc_prep, | 5281 | .qc_prep = ata_noop_qc_prep, |
5282 | .qc_issue = ipr_qc_issue, | 5282 | .qc_issue = ipr_qc_issue, |
5283 | .port_start = ata_sas_port_start, | 5283 | .port_start = ata_sas_port_start, |
diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c index b0e5ac372a32..a1664b87927a 100644 --- a/drivers/scsi/libsas/sas_ata.c +++ b/drivers/scsi/libsas/sas_ata.c | |||
@@ -348,12 +348,12 @@ static int sas_ata_scr_read(struct ata_port *ap, unsigned int sc_reg_in, | |||
348 | } | 348 | } |
349 | 349 | ||
350 | static struct ata_port_operations sas_sata_ops = { | 350 | static struct ata_port_operations sas_sata_ops = { |
351 | .check_status = sas_ata_check_status, | 351 | .sff_check_status = sas_ata_check_status, |
352 | .check_altstatus = sas_ata_check_status, | 352 | .sff_check_altstatus = sas_ata_check_status, |
353 | .dev_select = ata_noop_dev_select, | 353 | .sff_dev_select = ata_noop_dev_select, |
354 | .phy_reset = sas_ata_phy_reset, | 354 | .phy_reset = sas_ata_phy_reset, |
355 | .post_internal_cmd = sas_ata_post_internal, | 355 | .post_internal_cmd = sas_ata_post_internal, |
356 | .tf_read = sas_ata_tf_read, | 356 | .sff_tf_read = sas_ata_tf_read, |
357 | .qc_prep = ata_noop_qc_prep, | 357 | .qc_prep = ata_noop_qc_prep, |
358 | .qc_issue = sas_ata_qc_issue, | 358 | .qc_issue = sas_ata_qc_issue, |
359 | .port_start = ata_sas_port_start, | 359 | .port_start = ata_sas_port_start, |