From b3a492d02aee504097db551f800f6bf9dd3e73a7 Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Thu, 15 Jan 2015 15:13:03 -0800 Subject: [PATCH] dp: rx: Added link configuration structure. Signed-off-by: Andrei-Liviu Simion --- XilinxProcessorIPLib/drivers/dp/src/xdprx.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/XilinxProcessorIPLib/drivers/dp/src/xdprx.h b/XilinxProcessorIPLib/drivers/dp/src/xdprx.h index 335a1ac0..c335679b 100644 --- a/XilinxProcessorIPLib/drivers/dp/src/xdprx.h +++ b/XilinxProcessorIPLib/drivers/dp/src/xdprx.h @@ -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 *****************************/