Date: Wed, 18 May 2022 21:29:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263820 --- Comment #3 from Jiahao LI <firstname.lastname@example.org> --- Created attachment 234029 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234029&action=edit Another approach to fix the problem I referred to other open-source software. In OpenBSD, they will configure the media, mii_mediachg, firstly before setting the dwc driver's registers. (https://github.com/openbsd/src/blob/master/sys/dev/fdt/if_dwge.c line 1080) I have also tried this in my hardware, RockPro64, and attached the patch. The patch can fix the problem. Intuitively, it looks like the setting of dwc driver should be after the setting of media based on the two attached patches. -- You are receiving this mail because: You are the assignee for the bug.