CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2026/04/27 10:39:50

Modified files:
        sys/arch/octeon/dev: cn30xxgmx.c cn30xxgmxvar.h if_cnmac.c 
                             iobusvar.h octeon_iobus.c octpip.c 

Log message:
sys/cnmac: read MAC address from device tree

Read local-mac-address from the matching ethernet port node in device
tree; fall back to the old board address allocation when it is absent.

As suggested by visa@, this changes HW address assignment on the
EdgeRouter Pro, and probably on the ER-8, by swapping ports as follows:

cnmac0 <-> cnmac4
cnmac1 <-> cnmac5
cnmac2 <-> cnmac6
cnmac3 <-> cnmac7

Affected devices uses the same MAC addresses as the original firmware.

OK: visa@

Reply via email to