net: lpc32xx: correct command register reset value
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 28 Jun 2015 03:03:38 +0000 (06:03 +0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:41 +0000 (08:17 +0200)
commit117792876898819d9fb56708afa66cfb9dc187db
tree97bb34660b22d1783c36d70e541b4a5dcf1c6903
parentc3d17dd8422144d80af8a772a1c7c78740d1e401
net: lpc32xx: correct command register reset value

According to LPC32x0 User Manual the following bits in Command
register 0x3106_0100 are defined:

  Bit    Symbol
    2  - Unused
    3  RegReset
    4   TxReset
    5   RxReset

Fix wrong (1-bit shifted right) COMMAND_RESETS value, which sets
an unused bit, but neglects RxReset.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/lpc32xx_eth.c