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().

MFC after: 3 days
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34228

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
rG8f33ad3cf536: LinuxKPI: add more errno
Branches
Unknown
Tags
Unknown