PM5358 S/UNI-4x622 Driver Manual
Application Programming Interface
Proprietary and Confidential to PMC-Sierra, Inc. 58
Document ID: PMC-2010419, Issue 1
Side Effects Changes the DEVICE state to SUNI4x622_PRESENT

Activating a Device: suni4x622Activate

This function restores the state of a device after a de-activate. Interrupts may be re-enabled.
Prototype INT4 suni4x622Activate(sSUNI4x622_HNDL deviceHandle)
Inputs deviceHandle : device handle (from suni4x622Add)
Outputs None
Returns Success = SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
Valid States SUNI4x622_INACTIVE
Side Effects Changes the DEVICE state to SUNI4x622_ACTIVE

De-Activating a Device: suni4x622DeActivate

This function de-activates the device from operation. Interrupts are masked and the device is put
into a quiet state via enable bits.
Prototype INT4 suni4x622DeActivate(sSUNI4x622_HNDL
deviceHandle)
Inputs deviceHandle : device handle (from suni4x622Add)
Outputs None
Returns Success = SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
Valid States SUNI4x622_ACTIVE
Side Effects Changes the DEVICE state to SUNI4x622_INACTIVE