V_01-00-56

1. MDIO registration failures treated as error of type "ENODEV"
This commit is contained in:
TC956X 2022-10-21 18:23:35 +09:00 committed by jianzhou
parent 4c01755b35
commit 6ce1045b60
4 changed files with 15 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Toshiba Electronic Devices & Storage Corporation TC956X PCIe Ethernet Host Driver
Release Date: 02 Sep 2022
Release Date: 21 Oct 2022
Release Version: V_01-00-55 : Limited-tested version
Release Version: V_01-00-56 : Limited-tested version
TC956X PCIe EMAC driver is based on "Fedora 30, kernel-5.4.19".
@ -538,5 +538,8 @@ TC956X PCIe EMAC driver is based on "Fedora 30, kernel-5.4.19".
## TC956X_Host_Driver_20220831_V_01-00-54:
1. Fix for configuring Rx Parser when EEE is enabled and RGMII Interface is used
## TC956X_Host_Driver_202200902_V_01-00-55:
## TC956X_Host_Driver_20220902_V_01-00-55:
1. 2500Base-X support for line speeds 2.5Gbps, 1Gbps, 100Mbps.
## TC956X_Host_Driver_20221021_V_01-00-56:
1. MDIO registration failures treated as error of type "ENODEV"

View File

@ -172,6 +172,8 @@
* 02 Sep 2022 : 1. 2500Base-X support for line speeds 2.5Gbps, 1Gbps, 100Mbps.
* 2. Version update
* VERSION : 01-00-55
* 21 Oct 2022 : 1. Version update
* VERSION : 01-00-56
*/
#include <linux/clk-provider.h>
@ -238,7 +240,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, 5};
static const struct tc956x_version tc956x_drv_version = {0, 1, 0, 0, 5, 6};
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

@ -163,6 +163,8 @@
* 02 Sep 2022 : 1. 2500Base-X support for line speeds 2.5Gbps, 1Gbps, 100Mbps.
* 2. Version update
* VERSION : 01-00-55
* 21 Oct 2022 : 1. Version update
* VERSION : 01-00-56
*/
#ifndef __TC956XMAC_H__
@ -218,7 +220,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-55"
#define DRV_MODULE_VERSION "V_01-00-56"
#define TC956X_FW_MAX_SIZE (64*1024)
#define ATR_AXI4_SLV_BASE 0x0800

View File

@ -43,6 +43,8 @@
* VERSION : 01-00-29
* 27 Dec 2021 : 1. Initialisation of mii private variable.
* VERSION : 01-00-32
* 21 Oct 2022 : 1. MDIO registration failures treated as error -ENODEV
* VERSION : 01-00-56
*/
#include <linux/gpio/consumer.h>
@ -506,6 +508,7 @@ int tc956xmac_mdio_register(struct net_device *ndev)
err = of_mdiobus_register(new_bus, mdio_node);
#endif
if (err != 0) {
err = -ENODEV;
dev_err(dev, "Cannot register the MDIO bus\n");
goto bus_register_fail;
}