Kasli-SoC: Enable Ethernet LEDs #91
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mwojcik/zynq-rs:ethernet_leds"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #84.
LED control only for Kasli-SoC (as requested in the PR). Disabled for others. A bit tricky since we're supporting different transceivers, and (of course) they have different registers setup.
Currently set so the yellow LED lights up when there's a link (any kind - by default... it kinda depended), and the orange one blinks during activity.
@ -0,0 +24,4 @@
0b1101 => Led0Control::Mode2,
0b1110 => Led0Control::Mode3,
0b1111 => Led0Control::Mode4,
_ => Led0Control::OnLinkOffNoLink, //impossible, but Rust compiler requires it
Use
unreachable!()
which is made for cases like this.IIRC the default PHY setup works for the other boards and there is nothing to do.
Can you rebase and remove the merge commit?
272f60ea9f
to072fd5f015