diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-02-12 03:37:14 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:31:41 -0500 |
commit | c2c8b03e200bdda3ba23d27f5c33bac784dced01 (patch) | |
tree | c15811bb47f3790e106660e5919cb690f288f3af /drivers/net/bnx2x_link.h | |
parent | ed8680a7e68fc07d6b2bfa977e8f5f3d3c568d14 (diff) |
bnx2x: Pre emphasis configuration
Supporting non-default pre-emphasis settings for the internal and some external
PHYs
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_link.h')
-rw-r--r-- | drivers/net/bnx2x_link.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_link.h b/drivers/net/bnx2x_link.h index 1318683f6e51..38254d084b67 100644 --- a/drivers/net/bnx2x_link.h +++ b/drivers/net/bnx2x_link.h | |||
@@ -77,7 +77,6 @@ struct link_params { | |||
77 | #define SWITCH_CFG_AUTO_DETECT PORT_FEATURE_CON_SWITCH_AUTO_DETECT | 77 | #define SWITCH_CFG_AUTO_DETECT PORT_FEATURE_CON_SWITCH_AUTO_DETECT |
78 | 78 | ||
79 | u16 hw_led_mode; /* part of the hw_config read from the shmem */ | 79 | u16 hw_led_mode; /* part of the hw_config read from the shmem */ |
80 | u32 serdes_config; | ||
81 | u32 lane_config; | 80 | u32 lane_config; |
82 | u32 ext_phy_config; | 81 | u32 ext_phy_config; |
83 | #define XGXS_EXT_PHY_TYPE(ext_phy_config) (ext_phy_config & \ | 82 | #define XGXS_EXT_PHY_TYPE(ext_phy_config) (ext_phy_config & \ |
@@ -89,6 +88,9 @@ struct link_params { | |||
89 | 88 | ||
90 | /* phy_addr populated by the CLC */ | 89 | /* phy_addr populated by the CLC */ |
91 | u8 phy_addr; | 90 | u8 phy_addr; |
91 | u16 xgxs_config_rx[4]; /* preemphasis values for the rx side */ | ||
92 | |||
93 | u16 xgxs_config_tx[4]; /* preemphasis values for the tx side */ | ||
92 | u32 feature_config_flags; | 94 | u32 feature_config_flags; |
93 | #define FEATURE_CONFIG_OVERRIDE_PREEMPHASIS_ENABLED (1<<0) | 95 | #define FEATURE_CONFIG_OVERRIDE_PREEMPHASIS_ENABLED (1<<0) |
94 | #define FEATURE_CONFIG_MODULE_ENFORCMENT_ENABLED (2<<0) | 96 | #define FEATURE_CONFIG_MODULE_ENFORCMENT_ENABLED (2<<0) |