diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2015-12-13 21:05:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-15 06:25:00 +0100 |
commit | 1299653affa453bd0bdcd8112ffa392d4ba334e6 (patch) | |
tree | e58c63ccb5a5f1365fb04da8023e97a0e2d18cbd /drivers/net/ppp | |
parent | sh_eth: fix TX buffer byte-swapping (diff) | |
download | linux-1299653affa453bd0bdcd8112ffa392d4ba334e6.tar.xz linux-1299653affa453bd0bdcd8112ffa392d4ba334e6.zip |
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>
Diffstat (limited to 'drivers/net/ppp')
0 files changed, 0 insertions, 0 deletions