dp: rx: Added link configuration structure.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2015-01-15 15:13:03 -08:00 committed by Nava kishore Manne
parent 73e9f13cea
commit b3a492d02a

View file

@ -51,6 +51,16 @@
/****************************** Type Definitions ******************************/
/**
* This typedef contains configuration information about the main link settings.
*/
typedef struct {
u8 LaneCount; /**< The current lane count of the main
link. */
u8 LinkRate; /**< The current link rate of the main
link. */
} XDprx_LinkConfig;
/**
* The XDprx driver instance data. The user is required to allocate a variable
* of this type for every XDprx device in the system. A pointer to a variable of
@ -64,6 +74,8 @@ typedef struct {
in the XDprx order. */
u32 IsReady; /**< Device is initialized and
ready. */
XDprx_LinkConfig LinkConfig; /**< Configuration structure for
the main link. */
} XDprx;
/**************************** Function Prototypes *****************************/