2007-11-26 Eric Norum <norume@aps.anl.gov>

* network/network.c: Fix LED configuration to match uCDIMM.
This commit is contained in:
Joel Sherrill
2007-11-26 19:08:16 +00:00
parent 98e206b7d3
commit 4ed0280e47
2 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2007-11-26 Eric Norum <norume@aps.anl.gov>
* network/network.c: Fix LED configuration to match uCDIMM.
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c, console/console.c, include/bsp.h, include/coverhd.h,

View File

@@ -8,7 +8,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*/
#include <bsp.h>
@@ -308,12 +308,12 @@ mcf5282_fec_initialize_hardware(struct mcf5282_enet_struct *sc)
/*
* Set PHYS
* LED1 link status, LED2 receive status, LEDs stretched
* LED1 receive status, LED2 link status, LEDs stretched
* Advertise 100 Mb/s, full-duplex, IEEE-802.3
* Turn off auto-negotiate
* Cleaer status
* Clear status
*/
setMII(1, 20, 0x42F2);
setMII(1, 20, 0x24F2);
setMII(1, 4, 0x0181);
setMII(1, 0, 0x0);
rtems_task_wake_after(2);