Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932355AbbEKSKI (ORCPT ); Mon, 11 May 2015 14:10:08 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:36171 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753764AbbEKSKG (ORCPT ); Mon, 11 May 2015 14:10:06 -0400 Date: Mon, 11 May 2015 14:10:02 -0400 (EDT) Message-Id: <20150511.141002.1931123025374616373.davem@davemloft.net> To: tremyfr@gmail.com Cc: B38611@freescale.com, rmk+kernel@arm.linux.org.uk, Frank.Li@freescale.com, LW@KARO-electronics.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] net: fec: add support of ethtool get_regs From: David Miller In-Reply-To: <1431295302-11738-1-git-send-email-tremyfr@gmail.com> References: <1431295302-11738-1-git-send-email-tremyfr@gmail.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 11 May 2015 11:10:05 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 876 Lines: 24 From: Philippe Reynes 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 > --- > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/