Re: [PATCH v3] net: fec: add support of ethtool get_regs

From: David Miller
Date: Mon May 11 2015 - 14:10:14 EST


From: Philippe Reynes <tremyfr@xxxxxxxxx>
Date: Mon, 11 May 2015 00:01:42 +0200

> This enables the ethtool's "-d" and "--register-dump"
> options for fec devices.
>
> Signed-off-by: Philippe Reynes <tremyfr@xxxxxxxxx>
> ---
> drivers/net/ethernet/freescale/fec_main.c | 78 +++++++++++++++++++++++++++++
> 1 files changed, 78 insertions(+), 0 deletions(-)
>
> Changelog:
> v2: (thanks Russell King and David Miller for the feedback)
> - don't use memcpy_fromio to copy registers
> v3: (thanks David Miller for the feedback)
> - only copy defined registers
> - fix warning reported by checkpatch.pl

Applied, thanks Philippe.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/