Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2022 21:29:05 +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-Hu07blkq4o@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 #3 from Jiahao LI <jiahali@blackberry.com> ---
Created attachment 234029
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234029&action=
=3Dedit
Another approach to fix the problem

I referred to other open-source software. In OpenBSD, they will configure t=
he
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. T=
he
patch can fix the problem. Intuitively, it looks like the setting of dwc dr=
iver
should be after the setting of media based on the two attached patches.

--=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-Hu07blkq4o>