dp: rx: Added link configuration structure.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
73e9f13cea
commit
b3a492d02a
1 changed files with 12 additions and 0 deletions
|
@ -51,6 +51,16 @@
|
||||||
|
|
||||||
/****************************** Type Definitions ******************************/
|
/****************************** 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
|
* 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
|
* 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. */
|
in the XDprx order. */
|
||||||
u32 IsReady; /**< Device is initialized and
|
u32 IsReady; /**< Device is initialized and
|
||||||
ready. */
|
ready. */
|
||||||
|
XDprx_LinkConfig LinkConfig; /**< Configuration structure for
|
||||||
|
the main link. */
|
||||||
} XDprx;
|
} XDprx;
|
||||||
|
|
||||||
/**************************** Function Prototypes *****************************/
|
/**************************** Function Prototypes *****************************/
|
||||||
|
|
Loading…
Add table
Reference in a new issue