[PATCH v6 net-next 1/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-27 Thread Raghuram Chary J
Adding Fixed PHY support to the lan78xx driver. Signed-off-by: Raghuram Chary J --- v0->v1: * Remove driver version #define * Modify netdev_info to netdev_dbg * Move lan7801 specific to new routine and add switch case * Minor cleanup v1->v2: * Removed fixedphy variable an

[PATCH v6 net-next 3/3] lan78xx: Modify error messages

2018-04-27 Thread Raghuram Chary J
Modify the error messages when phy registration fails. Signed-off-by: Raghuram Chary J --- v5->v6: * Modified error msg --- drivers/net/usb/lan78xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c in

[PATCH v6 net-next 2/3] lan78xx: Remove DRIVER_VERSION for lan78xx driver

2018-04-27 Thread Raghuram Chary J
Remove driver version info from the lan78xx driver. Signed-off-by: Raghuram Chary J --- drivers/net/usb/lan78xx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index 81dfd10c3b92..54f8db887e3d 100644 --- a/drivers/net/usb/lan78xx.c

[PATCH v6 net-next 0/3] lan78xx updates along with Fixed phy Support

2018-04-27 Thread Raghuram Chary J
These series of patches handle few modifications in driver and adds support for fixed phy. Raghuram Chary J (3): lan78xx: Lan7801 Support for Fixed PHY lan78xx: Remove DRIVER_VERSION for lan78xx driver lan78xx: Modify error messages drivers/net/usb/Kconfig | 1 + drivers/net/usb

[PATCH v5 net-next 0/3] lan78xx updates along with Fixed phy Support

2018-04-27 Thread Raghuram Chary J
These series of patches handle few modifications in driver and adds support for fixed phy. Raghuram Chary J (3): lan78xx: Lan7801 Support for Fixed PHY lan78xx: Remove DRIVER_VERSION for lan78xx driver lan78xx: Modify error messages drivers/net/usb/Kconfig | 1 + drivers/net/usb

[PATCH v5 net-next 3/3] lan78xx: Modify error messages

2018-04-27 Thread Raghuram Chary J
Modify the error messages when phy registration fails. Signed-off-by: Raghuram Chary J --- drivers/net/usb/lan78xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index 54f8db887e3d..4b930c9faa16 100644 --- a

[PATCH v5 net-next 2/3] lan78xx: Remove DRIVER_VERSION for lan78xx driver

2018-04-27 Thread Raghuram Chary J
Remove driver version info from the lan78xx driver. Signed-off-by: Raghuram Chary J --- drivers/net/usb/lan78xx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index 81dfd10c3b92..54f8db887e3d 100644 --- a/drivers/net/usb/lan78xx.c

[PATCH v5 net-next 1/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-27 Thread Raghuram Chary J
Adding Fixed PHY support to the lan78xx driver. Signed-off-by: Raghuram Chary J --- v0->v1: * Remove driver version #define * Modify netdev_info to netdev_dbg * Move lan7801 specific to new routine and add switch case * Minor cleanup v1->v2: * Removed fixedphy variable an

[PATCH v4 net-next 3/3] lan78xx: Modify error messages

2018-04-26 Thread Raghuram Chary J
Modify the error messages when phy registration fails. Signed-off-by: Raghuram Chary J --- drivers/net/usb/lan78xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index 5da5f0e3cd21..525bb4bf1975 100644 --- a

[PATCH v4 net-next 2/3] lan78xx: Remove DRIVER_VERSION for lan78xx driver

2018-04-26 Thread Raghuram Chary J
Remove driver version info from the lan78xx driver. Signed-off-by: Raghuram Chary J --- drivers/net/usb/lan78xx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index cb35cfa20ca0..5da5f0e3cd21 100644 --- a/drivers/net/usb/lan78xx.c

[PATCH v4 net-next 1/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-26 Thread Raghuram Chary J
Adding Fixed PHY support to the lan78xx driver. Signed-off-by: Raghuram Chary J --- v0->v1: * Remove driver version #define * Modify netdev_info to netdev_dbg * Move lan7801 specific to new routine and add switch case * Minor cleanup v1->v2: * Removed fixedphy variable an

[PATCH v4 net-next 0/3] lan78xx updates along with Fixed phy Support

2018-04-26 Thread Raghuram Chary J
These series of patches handle few modifications in driver and adds support for fixed phy. Raghuram Chary J (3): lan78xx: Lan7801 Support for Fixed PHY lan78xx: Remove DRIVER_VERSION for lan78xx driver lan78xx: Modify error messages drivers/net/usb/Kconfig | 1 + drivers/net/usb

[PATCH v3 net-next 3/3] lan78xx: Modify error messages

2018-04-26 Thread Raghuram Chary J
Modify the error messages when phy registration fails. Signed-off-by: Raghuram Chary J --- drivers/net/usb/lan78xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index 0bd973516d56..64c741f012aa 100644 --- a

[PATCH v3 net-next 2/3] lan78xx: Remove DRIVER_VERSION for lan78xx driver

2018-04-26 Thread Raghuram Chary J
Remove driver version info from the lan78xx driver. Signed-off-by: Raghuram Chary J --- drivers/net/usb/lan78xx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index ef169d73fadc..0bd973516d56 100644 --- a/drivers/net/usb/lan78xx.c

[PATCH v3 net-next 1/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-26 Thread Raghuram Chary J
Adding Fixed PHY support to the lan78xx driver. Signed-off-by: Raghuram Chary J --- v0->v1: * Remove driver version #define * Modify netdev_info to netdev_dbg * Move lan7801 specific to new routine and add switch case * Minor cleanup v1->v2: * Removed fixedphy variable an

[PATCH v3 net-next 0/3] lan78xx updates along with Fixed

2018-04-26 Thread Raghuram Chary J
These series of patches handle few modifications in driver and adds support for fixed phy. Raghuram Chary J (3): lan78xx: Lan7801 Support for Fixed PHY lan78xx: Remove DRIVER_VERSION for lan78xx driver lan78xx: Modify error messages drivers/net/usb/Kconfig | 1 + drivers/net/usb

[PATCH v3 net-next] lan78xx: Lan7801 Support for Fixed PHY

2018-04-25 Thread Raghuram Chary J
Adding Fixed PHY support to the lan78xx driver. Signed-off-by: Raghuram Chary J --- v0->v1: * Remove driver version #define * Modify netdev_info to netdev_dbg * Move lan7801 specific to new routine and add switch case * Minor cleanup v1->v2: * Removed fixedphy variable an

[PATCH v2 net-next] lan78xx: Lan7801 Support for Fixed PHY

2018-04-25 Thread Raghuram Chary J
Adding Fixed PHY support to the lan78xx driver. Signed-off-by: Raghuram Chary J --- v0->v1: * Remove driver version #define * Modify netdev_info to netdev_dbg * Move lan7801 specific to new routine and add switch case * Minor cleanup v1->v2: * Removed fixedphy variable an

[PATCH v1 net-next] lan78xx: Lan7801 Support for Fixed PHY

2018-04-24 Thread Raghuram Chary J
Adding Fixed PHY support to the lan78xx driver. Signed-off-by: Raghuram Chary J --- v0->v1: * Remove driver version #define * Modify netdev_info to netdev_dbg * Move lan7801 specific to new routine and add switch case * Minor cleanup --- drivers/net/usb/Kconfig | 1 + driv

[PATCH net-next] lan78xx: Lan7801 Support for Fixed PHY

2018-04-22 Thread Raghuram Chary J
Adding Fixed PHY support to the lan78xx driver. Signed-off-by: Raghuram Chary J --- drivers/net/usb/Kconfig | 1 + drivers/net/usb/lan78xx.c | 43 +++ 2 files changed, 40 insertions(+), 4 deletions(-) diff --git a/drivers/net/usb/Kconfig b/drivers/net

[PATCH v1 net-next] lan78xx: Add support to dump lan78xx registers

2018-04-19 Thread Raghuram Chary J
In order to dump lan78xx family registers using ethtool, add support at lan78xx driver level. Signed-off-by: Raghuram Chary J --- v0->v1: * Remove one variable in the for loop. --- drivers/net/usb/lan78xx.c | 54 +++ 1 file changed, 54 inserti

[PATCH net-next] lan78xx: Add support to dump lan78xx registers

2018-04-18 Thread Raghuram Chary J
In order to dump lan78xx family registers using ethtool, add support at lan78xx driver level. Signed-off-by: Raghuram Chary J --- drivers/net/usb/lan78xx.c | 54 +++ 1 file changed, 54 insertions(+) diff --git a/drivers/net/usb/lan78xx.c b/drivers

[PATCH v2 net] lan78xx: PHY DSP registers initialization to address EEE link drop issues with long cables

2018-04-11 Thread Raghuram Chary J
The patch is to configure DSP registers of PHY device to handle Gbe-EEE failures with >40m cable length. Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Raghuram Chary J --- v0->v1: * Use phy_save_page

[PATCH v1 net 3/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-11 Thread Raghuram Chary J
Adding Fixed PHY support to the lan78xx driver. Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Raghuram Chary J --- drivers/net/usb/Kconfig | 1 + drivers/net/usb/lan78xx.c | 42 ++

[PATCH v1 net 2/3] lan78xx: Add support to dump lan78xx registers

2018-04-11 Thread Raghuram Chary J
In order to dump lan78xx family registers using ethtool, add support at lan78xx driver level. Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Raghuram Chary J --- v0->v1: * Return device regs len if phydev is

[PATCH v1 net 0/3] lan78xx: Fixes and enhancements

2018-04-11 Thread Raghuram Chary J
These series of patches have fix and enhancements for lan78xx driver. Raghuram Chary J (3): lan78xx: PHY DSP registers initialization to address EEE link drop issues with long cables lan78xx: Add support to dump lan78xx registers lan78xx: Lan7801 Support for Fixed PHY drivers/net/phy

[PATCH v1 net 1/3] lan78xx: PHY DSP registers initialization to address EEE link drop issues with long cables

2018-04-11 Thread Raghuram Chary J
The patch is to configure DSP registers of PHY device to handle Gbe-EEE failures with >40m cable length. Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Raghuram Chary J --- v0->v1: * Use phy_save_page

[PATCH net 0/3] lan78xx: Fixes and enhancements

2018-04-05 Thread Raghuram Chary J
These series of patches have fix and enhancements for lan78xx driver. Raghuram Chary J (3): lan78xx: PHY DSP registers initialization to address EEE link drop issues with long cables lan78xx: Add support to dump lan78xx registers lan78xx: Lan7801 Support for Fixed PHY drivers/net/phy

[PATCH net 1/3] lan78xx: PHY DSP registers initialization to address EEE link drop issues with long cables

2018-04-05 Thread Raghuram Chary J
The patch is to configure DSP registers of PHY device to handle Gbe-EEE failures with >40m cable length. Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Raghuram Chary J --- drivers/net/phy/

[PATCH net 2/3] lan78xx: Add support to dump lan78xx registers

2018-04-05 Thread Raghuram Chary J
In order to dump lan78xx family registers using ethtool, add support at lan78xx driver level. Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Raghuram Chary J --- drivers/net/usb

[PATCH net 3/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-05 Thread Raghuram Chary J
Adding Fixed PHY support to the lan78xx driver. Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Raghuram Chary J --- drivers/net/usb/Kconfig | 1 + drivers/net/usb/lan78xx.c | 42 ++

[PATCH ethtool] ethtool: Add register dump support for MICROCHIP LAN78xx

2018-04-04 Thread Raghuram Chary J
This patch adds support for Microchip's lan78xx families of USB Ethernet controllers to ethtool's dump registers command. This patch is for use with the lan78xx driver. Signed-off-by: Raghuram Chary J --- Makefile.am | 2 +- ethtool.c | 1 + internal.h | 4 +++ lan78x

[PATCH net] lan78xx: Crash in lan78xx_writ_reg (Workqueue: events lan78xx_deferred_multicast_write)

2018-03-27 Thread Raghuram Chary J
: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Reported-by: Andrey Konovalov Signed-off-by: Raghuram Chary J --- drivers/net/usb/lan78xx.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/net/

[PATCH v1 net] lan78xx: Set ASD in MAC_CR when EEE is enabled.

2018-03-23 Thread Raghuram Chary J
not present. Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Raghuram Chary J --- v0->v1: * Resolved the style related problems. * Removed 1/3 patch count from Subject line. --- drivers/net/usb/lan78xx.c

[PATCH net 1/3] lan78xx: Set ASD in MAC_CR when EEE is enabled.

2018-03-22 Thread Raghuram Chary J
present. Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Raghuram Chary J --- drivers/net/usb/lan78xx.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/