diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-06-29 16:09:25 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 07:04:52 -0400 |
commit | ffe191c92ff195d73f9130b1490045ca2dd4c5e0 (patch) | |
tree | c14a78903734b7f5e662e7cf49db4d7fd24e4d71 /drivers/scsi/isci/phy.h | |
parent | 76802ce6756d605fbd7a9a43c196e9a471b3e57c (diff) |
isci: unify isci_port and scic_sds_port
Remove the distinction between these two implementations and unify on
isci_port (local instances named iport). The duplicate '->owning_port' and
'->isci_port' in both isci_phy and isci_remote_device will be fixed in a later
patch... this is just the straightforward rename/unification.
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/phy.h')
-rw-r--r-- | drivers/scsi/isci/phy.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/isci/phy.h b/drivers/scsi/isci/phy.h index 345fbeacb5cf..19aa444517b4 100644 --- a/drivers/scsi/isci/phy.h +++ b/drivers/scsi/isci/phy.h | |||
@@ -93,7 +93,7 @@ enum scic_sds_phy_protocol { | |||
93 | */ | 93 | */ |
94 | struct isci_phy { | 94 | struct isci_phy { |
95 | struct sci_base_state_machine sm; | 95 | struct sci_base_state_machine sm; |
96 | struct scic_sds_port *owning_port; | 96 | struct isci_port *owning_port; |
97 | enum sas_linkrate max_negotiated_speed; | 97 | enum sas_linkrate max_negotiated_speed; |
98 | enum scic_sds_phy_protocol protocol; | 98 | enum scic_sds_phy_protocol protocol; |
99 | u8 phy_index; | 99 | u8 phy_index; |
@@ -178,7 +178,7 @@ struct scic_phy_properties { | |||
178 | * supplied phy. This field may be set to NULL | 178 | * supplied phy. This field may be set to NULL |
179 | * if the phy is not currently contained in a port. | 179 | * if the phy is not currently contained in a port. |
180 | */ | 180 | */ |
181 | struct scic_sds_port *owning_port; | 181 | struct isci_port *iport; |
182 | 182 | ||
183 | /** | 183 | /** |
184 | * This field specifies the link rate at which the phy is | 184 | * This field specifies the link rate at which the phy is |
@@ -459,14 +459,14 @@ enum scic_sds_phy_states { | |||
459 | 459 | ||
460 | void scic_sds_phy_construct( | 460 | void scic_sds_phy_construct( |
461 | struct isci_phy *iphy, | 461 | struct isci_phy *iphy, |
462 | struct scic_sds_port *owning_port, | 462 | struct isci_port *iport, |
463 | u8 phy_index); | 463 | u8 phy_index); |
464 | 464 | ||
465 | struct scic_sds_port *phy_get_non_dummy_port(struct isci_phy *iphy); | 465 | struct isci_port *phy_get_non_dummy_port(struct isci_phy *iphy); |
466 | 466 | ||
467 | void scic_sds_phy_set_port( | 467 | void scic_sds_phy_set_port( |
468 | struct isci_phy *iphy, | 468 | struct isci_phy *iphy, |
469 | struct scic_sds_port *owning_port); | 469 | struct isci_port *iport); |
470 | 470 | ||
471 | enum sci_status scic_sds_phy_initialize( | 471 | enum sci_status scic_sds_phy_initialize( |
472 | struct isci_phy *iphy, | 472 | struct isci_phy *iphy, |