diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-07-06 07:22:10 +0300 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2015-08-11 13:42:34 -0500 |
commit | 23f5db0e26f0e6c25ba143e700b4812efdd5f941 (patch) | |
tree | a8e7accdf656acedafba26ab7c09316106bf607d /arch/arm/cpu/arm926ejs/lpc32xx | |
parent | fe0596cac3079a74eeee93e2940010a7a158c58d (diff) |
net: lpc32xx: improve MAC configuration on reset and initialization
This change rearranges general MAC configuration and PHY specific
configuration of MAC registers (duplex mode and speed), before this
change set bits related to PHY configuration in MAC2 and COMMAND
registers are rewritten by the following writing to the registers.
Without the change auto negotiation on boot quite often is not
completed in reasonable time:
Waiting for PHY auto negotiation to complete......... TIMEOUT !
Additionally MAC1_SOFT_RESET clear bit is removed since it is done in
preceding lpc32xx_eth_initialize() and in lpc32xx_eth_halt(), instead
added missing MCFG_RESET_MII_MGMT on device initialization.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/lpc32xx')
0 files changed, 0 insertions, 0 deletions