Message ID | 1464799265-27431-1-git-send-email-ykaneko0929@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Simon Horman |
Headers | show |
Hello. On 06/01/2016 07:41 PM, Yoshihiro Kaneko wrote: > From: Masaru Nagai <masaru.nagai.vx@renesas.com> > > Writing a non-zero value to the manual PAUSE frame register (MPR) starts > the transmission of a PAUSE frame. > A PAUSE frame is sent in ravb_emac_init(), but it is not expected behavior. > > Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com> > Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com> > Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com> Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> MBR, Sergei
From: Yoshihiro Kaneko <ykaneko0929@gmail.com> Date: Thu, 2 Jun 2016 01:41:05 +0900 > From: Masaru Nagai <masaru.nagai.vx@renesas.com> > > Writing a non-zero value to the manual PAUSE frame register (MPR) starts > the transmission of a PAUSE frame. > A PAUSE frame is sent in ravb_emac_init(), but it is not expected behavior. > > Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com> > Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com> > Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com> Applied, thanks.
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index 867caf6..37dd068 100644 --- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c @@ -362,8 +362,6 @@ static void ravb_emac_init(struct net_device *ndev) ravb_write(ndev, (ndev->dev_addr[4] << 8) | (ndev->dev_addr[5]), MALR); - ravb_write(ndev, 1, MPR); - /* E-MAC status register clear */ ravb_write(ndev, ECSR_ICD | ECSR_MPD, ECSR);