FreeBSD/sys/dev/isci/scil/scic_sds_phy.c
/**
 * @brief This method will assign a port to the phy object.
 *
 * @param[in, out] this_phy This parameter specifies the phy for which
 *    to assign a port object.
 * @param[in] the_port This parameter is the port to assing to the phy.
 */
@brief This method will assign a port to the phy object.
@param[in, out] this_phy This parameter specifies the phy for which
to assign a port object.
@param[in] the_port This parameter is the port to assing to the phy.
@brief This method will assign a port to the phy object . @param [ in out ] this_phy This parameter specifies the phy for which to assign a port object . @param [ in ] the_port This parameter is the port to assing to the phy .
void scic_sds_phy_set_port(
   SCIC_SDS_PHY_T * this_phy,
   SCIC_SDS_PORT_T * the_port
)
{
   this_phy->owning_port = the_port;
   if (this_phy->bcn_received_while_port_unassigned)
   {
      this_phy->bcn_received_while_port_unassigned = FALSE;
      scic_sds_port_broadcast_change_received(this_phy->owning_port, this_phy);
   }
}
void scic_sds_phy_set_port ( SCIC_SDS_PHY_T * this_phy , SCIC_SDS_PORT_T * the_port ) { this_phy -> owning_port = the_port ; if ( this_phy -> bcn_received_while_port_unassigned ) { this_phy -> bcn_received_while_port_unassigned = FALSE ; scic_sds_port_broadcast_change_received ( this_phy -> owning_port , this_phy ) ; } }
@brief This method will assign a port to the phy object.
@brief This method will assign a port to the phy object .