lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] net: fec: add support of ethtool get_regs
From
From: Philippe Reynes <tremyfr@gmail.com>
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@gmail.com>
> ---
> 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.


\
 
 \ /
  Last update: 2015-05-11 20:41    [W:0.032 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site