]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
muge: update FDT LED configuration
authoremaste <emaste@FreeBSD.org>
Mon, 20 May 2019 19:31:49 +0000 (19:31 +0000)
committeremaste <emaste@FreeBSD.org>
Mon, 20 May 2019 19:31:49 +0000 (19:31 +0000)
commit5c1190730c45959f68ebf4f22fdd6cee320ff5d7
tree13d00c73b40b49561f48ef0e7ac6d4969a51536d
parentcc2e8ef566771a26f06b875904fa52bb479f6772
muge: update FDT LED configuration

Also use LED mode settings from the FDT to set the PHY.
From v3 of the patch submitted in the PR.

I moved the sc_led_modes and sc_led_modes_mask default setting outside
of the #ifdef FDT case.

PR: 237325
Submitted by: Ralf <iz-rpi03@hs-karlsruhe.de>
Reviewed by: ian
MFC after: 2 weeks
MFC with: r348001
Event: Waterloo Hackathon 2019
Differential Revision: https://reviews.freebsd.org/D20325
sys/dev/usb/net/if_muge.c
sys/dev/usb/net/if_mugereg.h