[PATCH 1/2] ARM: dts: add buffalo linkstation ls-wxl/wsxl
Andrew Lunn
andrew at lunn.ch
Sun Jun 21 13:09:14 PDT 2015
On Mon, Jun 22, 2015 at 12:16:11AM +0900, Roger Shimizu wrote:
> Dear Andrew,
>
> > No. The name in DT should not give the name of the interface. It
> > should be possible to give this eth0 as expected, even if in DT it is
> > eth1. The names here are separate things. The kernel will assign a
> > name to the interface when it is registered to the network
> > stack. Since this is the first registered interface, if should get the
> > name eth0. What i think is happening is that something is later
> > renaming the interface to eth1. We have to find out what is doing this
> > rename.
>
> Yes, I confirmed what you said is absolutely right.
> Your detailed info is really appreciated. Thank you!
>
> Now I changed the ethernet part of dts like the following:
>
> +&mdio {
> + status = "okay";
> +
> + ethphy1: ethernet-phy at 8 {
> + device_type = "ethernet-phy";
> + reg = <8>;
> + };
> +};
> +
> +ð1 {
> + status = "okay";
> +
> + ethernet1-port at 0 {
> + phy-handle = <ðphy1>;
> + };
> +};
Great, much better.
> If you feel alright, I'll make the similar changes to
> "kirkwood-lswvl.dts", and submit the "PATCH v2" to you.
Great.
Andrew
More information about the linux-arm-kernel
mailing list