V_01-00-49

1. Ignoring error from tc956xmac_hw_setup in tc956xmac_open API.
This commit is contained in:
TC956X 2022-04-14 11:37:34 +09:00 committed by jianzhou
parent 93dc855f8d
commit 331148b5d4
4 changed files with 19 additions and 9 deletions

View File

@ -1,7 +1,7 @@
# Toshiba Electronic Devices & Storage Corporation TC956X PCIe Ethernet Host Driver
Release Date: 06 Apr 2022
Release Date: 14 Apr 2022
Release Version: V_01-00-48 : Limited-tested version
Release Version: V_01-00-49 : Limited-tested version
TC956X PCIe EMAC driver is based on "Fedora 30, kernel-5.4.19".
@ -484,4 +484,7 @@ TC956X PCIe EMAC driver is based on "Fedora 30, kernel-5.4.19".
1. Disable MSI and flush phy work queue during driver release.
## TC956X_Host_Driver_20220406_V_01-00-48:
1. Dynamic MTU change supported. Max MTU supported is 2000 bytes.
1. Dynamic MTU change supported. Max MTU supported is 2000 bytes.
## TC956X_Host_Driver_20220414_V_01-00-49:
1. Ignoring error from tc956xmac_hw_setup in tc956xmac_open API.

View File

@ -156,7 +156,9 @@
* 06 Apr 2022 : 1. Version update
* 2. Max MTU supported is 2000 bytes.
* VERSION : 01-00-48
*/
* 14 Apr 2022 : 1. Version update
* VERSION : 01-00-49
*/
#include <linux/clk-provider.h>
#include <linux/pci.h>
@ -220,7 +222,7 @@ static unsigned int mac1_txq1_size = TX_QUEUE1_SIZE;
unsigned int mac0_en_lp_pause_frame_cnt = DISABLE;
unsigned int mac1_en_lp_pause_frame_cnt = DISABLE;
static const struct tc956x_version tc956x_drv_version = {0, 1, 0, 0, 4, 8};
static const struct tc956x_version tc956x_drv_version = {0, 1, 0, 0, 4, 9};
static int tc956xmac_pm_usage_counter; /* Device Usage Counter */
struct mutex tc956x_pm_suspend_lock; /* This mutex is shared between all available EMAC ports. */

View File

@ -145,6 +145,8 @@
* VERSION : 01-00-47
* 06 Apr 2022 : 1. Version update
* VERSION : 01-00-48
* 14 Apr 2022 : 1. Version update
* VERSION : 01-00-49
*/
#ifndef __TC956XMAC_H__
@ -200,7 +202,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-48"
#define DRV_MODULE_VERSION "V_01-00-49"
#define TC956X_FW_MAX_SIZE (64*1024)
#define ATR_AXI4_SLV_BASE 0x0800

View File

@ -120,7 +120,9 @@
* 06 Apr 2022 : 1. Dynamic MTU change supported. Max MTU supported is 2000 bytes.
* 2. Constant buffer size of 2K used, so that during MTU change there is no buffer reconfiguration.
* VERSION : 01-00-48
*/
* 14 Apr 2022 : 1. Ignoring error from tc956xmac_hw_setup in tc956xmac_open API.
* VERSION : 01-00-49
*/
#include <linux/clk.h>
#include <linux/kernel.h>
@ -4791,7 +4793,8 @@ static int tc956xmac_hw_setup(struct net_device *dev, bool init_ptp)
/* DMA initialization and SW reset */
ret = tc956xmac_init_dma_engine(priv);
if (ret < 0) {
netdev_err(priv->dev, "%s: DMA engine initialization failed\n",
netdev_err(priv->dev,
"%s: DMA engine initialization failed check availability of clock if supplied from external source/PHY \n",
__func__);
return ret;
}
@ -5038,7 +5041,7 @@ static int tc956xmac_open(struct net_device *dev)
ret = tc956xmac_hw_setup(dev, true);
if (ret < 0) {
netdev_err(priv->dev, "%s: Hw setup failed\n", __func__);
goto init_error;
/*goto init_error;*/
}
#ifdef TC956X