commit | 32867fcc0ef9e56939d5200ad983801bbfd581ad | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@nxp.com> | Thu Mar 31 12:05:17 2016 -0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 31 16:04:05 2016 -0400 |
tree | fcc35d6fa50f5d15306a1eee995615bc4604d3cb | |
parent | 9bd9ddb7f89edae241d2da78e3119f226b9b0cf6 [diff] |
fec: Do not access unexisting register in Coldfire Commit 55cd48c821de ("net: fec: stop the "rcv is not +last, " error messages") introduces a write to a register that does not exist in Coldfire. Move the FEC_FTRL register access inside the FEC_QUIRK_HAS_RACC 'if' block, so that we guarantee it will not be used on Coldfire CPUs. Reported-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>