Page MenuHomeFreeBSD

Fix setting MAC address for RTL8152
ClosedPublic

Authored by ganbold on Apr 9 2019, 5:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 1 2024, 1:12 PM
Unknown Object (File)
Mar 28 2024, 7:37 AM
Unknown Object (File)
Mar 19 2024, 4:15 AM
Unknown Object (File)
Mar 19 2024, 2:58 AM
Unknown Object (File)
Feb 9 2024, 6:52 PM
Unknown Object (File)
Dec 20 2023, 5:38 AM
Unknown Object (File)
Nov 20 2023, 4:05 PM
Unknown Object (File)
Nov 10 2023, 3:18 AM
Subscribers

Details

Summary

In some cases like NanoPI R1, its second USB ethernet
RTL8152 (chip version URE_CHIP_VER_4C10) doesn't
have hardwired MAC address, in other words, it is all zeros.
This commit fixes it by setting random MAC address
when MAC address is all zeros.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable