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

2018-04-16 Thread John W. Linville
On Thu, Apr 05, 2018 at 11:41:28AM +0530, Raghuram Chary J wrote: > 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 LGTM -- queued

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

2018-04-05 Thread Andrew Lunn
On Thu, Apr 05, 2018 at 11:41:28AM +0530, Raghuram Chary J wrote: Hi Raghuram > + fprintf(stdout, "PHY Registers:\n"); > + fprintf(stdout, "--\n"); > + fprintf(stdout, "Mode Control = 0x%04X\n", *lan78xx_reg++); > + fprintf(stdout, "Mode Status = 0x%04X\n", *lan78xx_re

[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 +++ lan78xx.c | 87 ++