]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: sh_eth: Correct fix for RX packet errors on R8A7740
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 10 Oct 2013 05:51:16 +0000 (14:51 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Oct 2013 18:57:22 +0000 (14:57 -0400)
commitcc23528db0300d5c8c0b98670a577bf1dc3e0e82
treed5dd8fecd7d0940f766de502edb7b1f854edb4e7
parent7263a5187f9e9de45fcb51349cf0e031142c19a1
net: sh_eth: Correct fix for RX packet errors on R8A7740

Nguyen Hong Ky posted a patch to correct RX packet errors on R8A7740 which
was applied as 2c6221e4a5aab417 ("net: sh_eth: Fix RX packets errors on
R8A7740"). Unfortunately sh_eth.c contains many similar instances
of struct sh_eth_cpu_data and the patch was miss-applied, updating
sh7734_data instead of r8a7740_data.

This patch corrects this problem by.
1. Reverting the change to sh7734_data and;
2. Applying the change to r8a7740_data.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c