commit | 1299653affa453bd0bdcd8112ffa392d4ba334e6 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sun Dec 13 23:05:07 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 15 00:25:00 2015 -0500 |
tree | e58c63ccb5a5f1365fb04da8023e97a0e2d18cbd | |
parent | 3e2309937f1e5d538ff13da5fb8de41196927c61 [diff] |
sh_eth: fix descriptor access endianness The driver never calls cpu_to_edmac() when writing the descriptor address and edmac_to_cpu() when reading it, although it should -- fix this. Note that the frame/buffer length descriptor field accesses also need fixing but since they are both 16-bit we can't use {cpu|edmac}_to_{edmac|cpu}()... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>