HomeFreeBSD

LinuxKPI: add eth_random_addr() and device_get_mac_address()

Description

LinuxKPI: add eth_random_addr() and device_get_mac_address()

Add eth_random_addr() and a dummy of device_get_mac_address()
pending OF (FDT) support needed by drivers.

While here remove a white space in random_ether_addr().

Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34228

(cherry picked from commit 3cd6d6ff527ad0a57d278e2911f59b22dbd402cf)

Details

Provenance
bzAuthored on Feb 9 2022, 11:50 AM
Reviewer
hselasky
Differential Revision
D34228: LinuxKPI: add eth_random_addr() and device_get_mac_address()
Parents
rG458eea38ecbc: LinuxKPI: add an initial ethtool.h
Branches
Unknown
Tags
Unknown