Closed rokuyama closed 11 months ago
Thanks for the patch! When generating a random address, we could set the locally administered bit and clear the multicast bit for both bytes 0 and 3, to maintain compatibility with kernels that expected the byte-swapped address. What do you think?
On 2023/10/24 8:07, Jared McNeill wrote:
Thanks for the patch! When generating a random address, we could set the locally administered bit and clear the multicast bit for both bytes 0 and 3, to maintain compatibility with kernels that expected the byte-swapped address. What do you think?
Sounds nice! No objection from me (and msaitoh @ netbsd).
GMAC[01]_MACADDRESS0{LOW,HIGH} were written in MSB, but they should be in LSB.
See also the fix for NetBSD eqos(4) driver: https://github.com/NetBSD/src/commit/8c816b8cdf3a6a6a880c3b5ad5564fa7bfdd1d1a
Tested for Quartz64. For other boards, compile-test only.