HomeFreeBSD

if_eqos_starfive: Read MAC address from device tree

Description

if_eqos_starfive: Read MAC address from device tree

u-boot/opensbi determines the ethernet MAC address from ROM and passes
it to the OS in the device tree. This change sets the correct MAC
address from this source. This prevents the eqos class driver from
generating random MAC addresses at each boot.

Tested on Starfive VisionFive 2, riscv64 SBC.

Reviewed by: mhorne
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D56782

(cherry picked from commit 351fad05e075c388dece4cd6dd8613494b870bad)

Details

Provenance
bscott_bunyatech.com.auAuthored on May 11 2026, 4:54 PM
mhorneCommitted on Jun 11 2026, 4:37 PM
Reviewer
mhorne
Differential Revision
D56782: Correctly set the MAC address for ethernet interfaces on Starfive VisionFiv2 2, riscv64 SBC
Parents
rGb203a374f87d: linuxkpi: Make pm_qos.h self-contained
Branches
Unknown
Tags
Unknown