From: Wenzhuo Lu Date: Sun, 14 Feb 2016 08:55:01 +0000 (+0800) Subject: ixgbe/base: add register definition for SGMII busy X-Git-Tag: spdx-start~7404 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0c14952f173e0830dc37a8dbc30e3e7c7be0087b;p=dpdk.git ixgbe/base: add register definition for SGMII busy The X550EM_a device provides the MAC_SGMII_BUSY register to indicate when slow SGMII register writes complete. Add definitions for the register. No definitions are provided for the individual bits under the theory that it is better to wait for everything to complete when needed rather than try to map out which reads need to wait for which writes. So we should wait when anything is marked as "busy". Signed-off-by: Wenzhuo Lu --- diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h index 9c2a89af2b..daa4182ed2 100644 --- a/drivers/net/ixgbe/base/ixgbe_type.h +++ b/drivers/net/ixgbe/base/ixgbe_type.h @@ -1285,6 +1285,7 @@ struct ixgbe_dmac_config { #define IXGBE_XPCSS 0x04290 #define IXGBE_MFLCN 0x04294 #define IXGBE_SERDESC 0x04298 +#define IXGBE_MAC_SGMII_BUSY 0x04298 #define IXGBE_MACS 0x0429C #define IXGBE_AUTOC 0x042A0 #define IXGBE_LINKS 0x042A4