V_01-00-57
1. Update of fix for configuring Rx Parser when EEE is enabled
This commit is contained in:
parent
6ce1045b60
commit
09d715451b
@ -1,7 +1,7 @@
|
||||
# Toshiba Electronic Devices & Storage Corporation TC956X PCIe Ethernet Host Driver
|
||||
Release Date: 21 Oct 2022
|
||||
Release Date: 09 Nov 2022
|
||||
|
||||
Release Version: V_01-00-56 : Limited-tested version
|
||||
Release Version: V_01-00-57 : Limited-tested version
|
||||
|
||||
TC956X PCIe EMAC driver is based on "Fedora 30, kernel-5.4.19".
|
||||
|
||||
@ -543,3 +543,6 @@ TC956X PCIe EMAC driver is based on "Fedora 30, kernel-5.4.19".
|
||||
|
||||
## TC956X_Host_Driver_20221021_V_01-00-56:
|
||||
1. MDIO registration failures treated as error of type "ENODEV"
|
||||
|
||||
## TC956X_Host_Driver_20221109_V_01-00-57:
|
||||
1. Update of fix for configuring Rx Parser when EEE is enabled
|
||||
|
@ -174,6 +174,8 @@
|
||||
* VERSION : 01-00-55
|
||||
* 21 Oct 2022 : 1. Version update
|
||||
* VERSION : 01-00-56
|
||||
* 09 Nov 2022 : 1. Version update
|
||||
* VERSION : 01-00-57
|
||||
*/
|
||||
|
||||
#include <linux/clk-provider.h>
|
||||
@ -240,7 +242,7 @@ unsigned int mac1_en_lp_pause_frame_cnt = DISABLE;
|
||||
|
||||
unsigned int mac_power_save_at_link_down = DISABLE;
|
||||
|
||||
static const struct tc956x_version tc956x_drv_version = {0, 1, 0, 0, 5, 6};
|
||||
static const struct tc956x_version tc956x_drv_version = {0, 1, 0, 0, 5, 7};
|
||||
|
||||
static int tc956xmac_pm_usage_counter; /* Device Usage Counter */
|
||||
struct mutex tc956x_pm_suspend_lock; /* This mutex is shared between all available EMAC ports. */
|
||||
|
@ -165,6 +165,8 @@
|
||||
* VERSION : 01-00-55
|
||||
* 21 Oct 2022 : 1. Version update
|
||||
* VERSION : 01-00-56
|
||||
* 09 Nov 2022 : 1. Version update
|
||||
* VERSION : 01-00-57
|
||||
*/
|
||||
|
||||
#ifndef __TC956XMAC_H__
|
||||
@ -220,7 +222,7 @@
|
||||
#define IRQ_DEV_NAME(x) (((x) == RM_PF0_ID) ? ("eth0") : ("eth1"))
|
||||
#define WOL_IRQ_DEV_NAME(x) (((x) == RM_PF0_ID) ? ("eth0_wol") : ("eth1_wol"))
|
||||
|
||||
#define DRV_MODULE_VERSION "V_01-00-56"
|
||||
#define DRV_MODULE_VERSION "V_01-00-57"
|
||||
#define TC956X_FW_MAX_SIZE (64*1024)
|
||||
|
||||
#define ATR_AXI4_SLV_BASE 0x0800
|
||||
|
@ -135,6 +135,8 @@
|
||||
* VERSION : 01-00-54
|
||||
* 02 Sep 2022 : 1. 2500Base-X support for line speeds 2.5Gbps, 1Gbps, 100Mbps.
|
||||
* VERSION : 01-00-55
|
||||
* 09 Nov 2022 : 1. Update of fix for configuring Rx Parser when EEE is enabled
|
||||
* VERSION : 01-00-57
|
||||
*/
|
||||
|
||||
#include <linux/clk.h>
|
||||
@ -7645,11 +7647,15 @@ int tc956xmac_rx_parser_configuration(struct tc956xmac_priv *priv)
|
||||
struct ethtool_eee edata;
|
||||
|
||||
/* Disable EEE before configuring FRP */
|
||||
if (priv->eee_active) {
|
||||
|
||||
if (priv->hw->xpcs)
|
||||
if (priv->eee_enabled) {
|
||||
|
||||
if (priv->hw->xpcs) {
|
||||
tc956x_xpcs_ctrl0_lrx(priv, false);
|
||||
else {
|
||||
re_init_eee = 1;
|
||||
|
||||
} else if (priv->dev->phydev && priv->dev->phydev->link) {
|
||||
/* Disable EEE only if PHY link is Up */
|
||||
|
||||
ret_val = phylink_ethtool_get_eee(priv->phylink, &edata);
|
||||
if (ret_val)
|
||||
KPRINT_INFO("Phylink get EEE error \n\r");
|
||||
@ -7677,8 +7683,9 @@ int tc956xmac_rx_parser_configuration(struct tc956xmac_priv *priv)
|
||||
}
|
||||
}
|
||||
KPRINT_INFO("AN duration : %d \n\r", dly_cnt*10);
|
||||
|
||||
re_init_eee = 1;
|
||||
}
|
||||
re_init_eee = 1;
|
||||
}
|
||||
|
||||
if (priv->hw->mac->rx_parser_init && priv->plat->rxp_cfg.enable)
|
||||
|
Loading…
Reference in New Issue
Block a user