Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Differential
D23145
Diff 66652
sys/dev/dwc/if_dwc.c
Changeset View
So I have a "funny" case now where the HW presents me with a random garage MAC and this logic doesn't help me in this order because even if I (re-)set the FDT property the HW address is "valid" and hence I never make it to it.
What do we do in these cases? Should we do the opposite? Should we take it from the FDT if it is set there (given boot loaders might also set that if they find the HW address) and then one can re-set that to something properly and only if there's nothing set fall back and try to do the HW MAC?
Given this is likely used for all kinds of gadgets which do not have a unique MAC burned into an NVRAM when shipping it seems to me a better option nowadays to swap the order?