Drive LEDs with more useful information.

This commit is contained in:
Eric Norum
2005-06-29 20:44:25 +00:00
parent 81291a01e4
commit 5eb336b142

View File

@@ -289,11 +289,13 @@ mcf5282_fec_initialize_hardware(struct mcf5282_enet_struct *sc)
/*
* Set PHYS
* LED1 link status, LED2 receive status, LEDs stretched
* Advertise 100 Mb/s, full-duplex, IEEE-802.3
* Turn off auto-negotiate
* Enable speed-change, duplex-change and link-status-change interrupts
* Start auto-negotiate
*/
setMII(1, 20, 0x42F2);
setMII(1, 4, 0x0181);
setMII(1, 0, 0x0000);
rtems_task_wake_after(2);