> + dev_warn(dev->dev, > + "Using legacy switch \"phy-mode\" missing on port %d node. Please update your device tree.\n", That message seems mangled. > + if (!p->interface) { > + if (dev->compat_interface) { > + dev_warn(dev->dev, > + "Using legacy switch \"phy-mode\" missing on port %d node. Please update your device tree.\n", > + i); Same warning again. Andrew