netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "HEMANT RAMDASI (hramdasi)" <hramdasi@cisco.com>
To: "Daniel Walker (danielwa)" <danielwa@cisco.com>,
	Claudiu Manoil <claudiu.manoil@nxp.com>
Cc: "David S . Miller" <davem@davemloft.net>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"Sathish Jarugumalli -X (sjarugum - ARICENT TECHNOLOGIES
	HOLDINGS LIMITED at Cisco)" <sjarugum@cisco.com>
Subject: Re: [PATCH net] gianfar: Don't force RGMII mode after reset, use defaults
Date: Tue, 12 Nov 2019 16:55:44 +0000	[thread overview]
Message-ID: <E84DB6A8-AB7F-428C-8A90-46A7A982D4BF@cisco.com> (raw)
In-Reply-To: <20191112164707.GQ18744@zorba>

    > Reported-by: Daniel Walker <danielwa@cisco.com>
    > Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
    > ---
    >  drivers/net/ethernet/freescale/gianfar.c | 3 ++-
    >  drivers/net/ethernet/freescale/gianfar.h | 2 +-
    >  2 files changed, 3 insertions(+), 2 deletions(-)
    > 
    > diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c
    > index 51ad864..0f4d13d 100644
    > --- a/drivers/net/ethernet/freescale/gianfar.c
    > +++ b/drivers/net/ethernet/freescale/gianfar.c
    > @@ -3173,7 +3173,8 @@ void gfar_mac_reset(struct gfar_private *priv)
    >  	gfar_write(&regs->minflr, MINFLR_INIT_SETTINGS);
    >  
    >  	/* Initialize MACCFG2. */
    > -	tempval = MACCFG2_INIT_SETTINGS;
    > +	tempval = gfar_read(&regs->maccfg2);
    > +	tempval |= MACCFG2_PAD_CRC;

This is not in sync with PAD/CRC definition of maccfg2 mentioned in p202 rm.
 


  reply	other threads:[~2019-11-12 17:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12 14:55 [PATCH net] gianfar: Don't force RGMII mode after reset, use defaults Claudiu Manoil
2019-11-12 16:47 ` Daniel Walker
2019-11-12 16:55   ` HEMANT RAMDASI (hramdasi) [this message]
2019-11-12 17:09     ` Claudiu Manoil
2019-11-12 17:28       ` HEMANT RAMDASI (hramdasi)
2019-11-13 14:00         ` Claudiu Manoil
2019-11-13 14:21           ` HEMANT RAMDASI (hramdasi)
2019-11-13 16:01             ` Claudiu Manoil
2020-02-19 18:57               ` Daniel Walker (danielwa)
2020-02-20 11:42                 ` Claudiu Manoil
2019-11-21 15:58 ` Daniel Walker (danielwa)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E84DB6A8-AB7F-428C-8A90-46A7A982D4BF@cisco.com \
    --to=hramdasi@cisco.com \
    --cc=claudiu.manoil@nxp.com \
    --cc=danielwa@cisco.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=sjarugum@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).