HomeFreeBSD

muge(4): add DTB blob as one more possible source of MAC address

Description

muge(4): add DTB blob as one more possible source of MAC address

On FDT-enabled platforms check if DTB blob has MAC address configured by
a boot loader. This information passed as a "local-mac-address" or
"mac-address" property of the device node. For USB NICs node
can be found by looking for compatibility string "usbVVV,PPP" where
VVV - vendor id (hex) and PPP - product id (hex)

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D16117

Details

Provenance
gonzoAuthored on
Reviewer
emaste
Differential Revision
D16117: muge(4): add DTB blob as one more possible source of MAC address
Parents
rS335924: epoch(9): allow preemptible epochs to compose
Branches
Unknown
Tags
Unknown