Date: Fri, 09 Sep 2022 15:32:23 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 263820] dwc: dwc driver is not able to receive packets after adding new MAC address Message-ID: <bug-263820-7501-sVXHsstaA9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-263820-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-263820-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263820 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6501fcdc0a97faa3c59f6ece314bf7754= 303db6f commit 6501fcdc0a97faa3c59f6ece314bf7754303db6f Author: Jiahao LI <jiahali@blackberry.com> AuthorDate: 2022-09-08 15:50:37 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2022-09-09 15:31:26 +0000 if_dwc: fix reinitialization with changed MAC It was observed that on RockPro64 hardware, the dwc interface is unable to receive packets after being assigned a new MAC address. The fix is simply to call mii_mediachg() before touching any device registers in dwc_init_locked(). This is consistent with what the OpenBSD driver does. PR: 263820 MFC after: 1 week sys/dev/dwc/if_dwc.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263820-7501-sVXHsstaA9>