diff options
author | Masaru Nagai | 2016-06-01 18:41:05 +0200 |
---|---|---|
committer | David S. Miller | 2016-06-02 08:33:21 +0200 |
commit | c8296b9aa79bd3e4ac580e273684d8ca137eb005 (patch) | |
tree | c078ab1ca9d7b9549ba66cca1a9ee48f8b395c39 /drivers/net/ethernet/renesas | |
parent | stmmac: make platform drivers depend on their associated SoC (diff) | |
download | kernel-qcow2-linux-c8296b9aa79bd3e4ac580e273684d8ca137eb005.tar.gz kernel-qcow2-linux-c8296b9aa79bd3e4ac580e273684d8ca137eb005.tar.xz kernel-qcow2-linux-c8296b9aa79bd3e4ac580e273684d8ca137eb005.zip |
ravb: Remove manual pause frame transmit
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas')
-rw-r--r-- | drivers/net/ethernet/renesas/ravb_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index aa82131a7608..5349284203ff 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); |