[PATCH v3 4/8] ARM: dts: bcm283x: fix ethernet node name

Florian Fainelli f.fainelli at gmail.com
Tue Feb 15 13:01:06 PST 2022


On 2/15/22 12:09 AM, Oleksij Rempel wrote:
> It should be "ethernet at x" instead of "usbether at x"
> 
> Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>

This looks like, a quick grep on the u-boot source code seems to suggest
that only one file is assuming that 'usbether at 1' is to be used as a node
name and the error message does not even match the code it is patching:

board/liebherr/xea/xea.c:
  #ifdef CONFIG_OF_BOARD_SETUP
  static int fdt_fixup_l2switch(void *blob)
  {
          u8 ethaddr[6];
          int ret;

          if (eth_env_get_enetaddr("ethaddr", ethaddr)) {
                  ret = fdt_find_and_setprop(blob,

"/ahb at 80080000/switch at 800f0000",
                                             "local-mac-address",
ethaddr, 6, 1);
                  if (ret < 0)
                          printf("%s: can't find usbether at 1 node: %d\n",
                                 __func__, ret);
          }

          return 0;
  }

I will wait for the other maintainers on the other patches to provide
some feedback, but if all is well, will apply this one soon.
-- 
Florian



More information about the linux-arm-kernel mailing list