tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

"mac-address" vs "local-mac-address" properties

> On Nov 3, 2019, at 4:06 AM, Jared D. McNeill <> wrote:
> Module Name:	src
> Committed By:	jmcneill
> Date:		Sun Nov  3 12:06:33 UTC 2019
> Modified Files:
> 	src/sys/arch/arm/fdt: smsh_fdt.c
> Log Message:
> Match smsc,lan9115 and honour local-mac-address/mac-address properties

I was reading the DT bindings for Ethernet devices, as well as the IEEE 1275 bindings for "network" devices.  It looks to me like "mac-address" is meant to take precedence over "local-mac-address".

Specifically, "mac-address" is described by IEEE 1275 as "the last network address used", and the DT bindings state that it's the address that would have been used by the boot loader and that it should be used if it is present and different from the "local-mac-address" value.

-- thorpej

Home | Main Index | Thread Index | Old Index