OCS_HW_LINK_SPEED
case OCS_HW_LINK_SPEED:
case OCS_HW_LINK_SPEED:
ocs_hw_get(&ocs->hw, OCS_HW_LINK_SPEED, &value);
ocs_hw_get(&(ocs->hw), OCS_HW_LINK_SPEED, &value);
hw_rc = ocs_hw_set(&ocs->hw, OCS_HW_LINK_SPEED, spd);
if (ocs_hw_set(&ocs->hw, OCS_HW_LINK_SPEED, ocs->speed) != OCS_HW_RTN_SUCCESS) {
hw_rc = ocs_hw_get(&(ocs->hw), OCS_HW_LINK_SPEED, &value.value);
rc = ocs_hw_get(&ocs->hw, OCS_HW_LINK_SPEED, &speed);