Page MenuHomeFreeBSD

if_re: generate an address if there is none in the EEPROM
ClosedPublic

Authored by evgeni_debian.org on Mar 8 2022, 8:20 PM.
Tags
None
Referenced Files
F109306929: D34485.diff
Mon, Feb 3, 8:44 AM
Unknown Object (File)
Thu, Jan 30, 2:03 AM
Unknown Object (File)
Mon, Jan 27, 4:38 PM
Unknown Object (File)
Thu, Jan 23, 6:22 PM
Unknown Object (File)
Nov 23 2024, 8:28 PM
Unknown Object (File)
Nov 23 2024, 8:36 AM
Unknown Object (File)
Nov 20 2024, 12:50 PM
Unknown Object (File)
Nov 19 2024, 5:11 PM

Details

Summary

There exists hardware that has no ethernet address burned into the EEPROM. Loading if_re on such a HW brings the device up with '00:00:00:00:00:00' as the address, and that doesn't get you too far in a real network.

Other drivers use ether_gen_addr(9) in such cases, to generate an address, and so should if_re.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262406

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped