All of lore.kernel.org
 help / color / mirror / Atom feed
From: rogershimizu@gmail.com (Roger Shimizu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: dts: add buffalo linkstation ls-wxl/wsxl
Date: Mon, 22 Jun 2015 00:16:11 +0900	[thread overview]
Message-ID: <CAEQ9gEkubRtcdDBuhJHpP0H=Qhc1KvG-4QAMbExopt786XbMuA@mail.gmail.com> (raw)
In-Reply-To: <20150620160331.GG1116@lunn.ch>

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>;
+       };
+};
+
+&eth1 {
+       status = "okay";
+
+       ethernet1-port at 0 {
+               phy-handle = <&ethphy1>;
+       };
+};

and dmesg is like:
[    0.237167] [Firmware Info]:
/ocp at f1000000/ethernet-controller at 76000/ethernet1-port at 0:
local-mac-address is not set
[    1.820596] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.907565] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with
MAC address xx:xx:xx:xx:xx:xx
[    5.524704] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100
Mb/s, full duplex, flow control disabled

For other part of dts, I assume you agreed with my changes explained
in previous email.
If you feel alright, I'll make the similar changes to
"kirkwood-lswvl.dts", and submit the "PATCH v2" to you.
Thank you!

Cheers,
Roger

  reply	other threads:[~2015-06-21 15:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-19 11:28 [PATCH 0/2] ARM: dts: add buffalo linkstation ls-wxl/wsxl & ls-wvl/vl Roger Shimizu
2015-06-19 11:28 ` [PATCH 1/2] ARM: dts: add buffalo linkstation ls-wxl/wsxl Roger Shimizu
2015-06-19 22:14   ` Andrew Lunn
2015-06-20 12:36     ` Roger Shimizu
2015-06-20 14:51       ` Andrew Lunn
2015-06-20 15:56         ` Roger Shimizu
2015-06-20 16:03           ` Andrew Lunn
2015-06-21 15:16             ` Roger Shimizu [this message]
2015-06-21 20:09               ` Andrew Lunn
2015-06-22 15:00   ` [PATCH v2 " Roger Shimizu
2015-06-29 13:22     ` Gregory CLEMENT
2015-06-29 13:38       ` Andrew Lunn
2015-07-09 13:12         ` Gregory CLEMENT
2015-07-09 14:06           ` Roger Shimizu
2015-06-19 11:28 ` [PATCH 2/2] ARM: dts: add buffalo linkstation ls-wvl/vl Roger Shimizu
2015-06-19 22:22   ` Andrew Lunn
2015-06-22 15:02   ` [PATCH v2 " Roger Shimizu
2015-06-29 13:22     ` Gregory CLEMENT
2015-06-29 13:43       ` Andrew Lunn
2015-06-29 13:52         ` Gregory CLEMENT
2015-07-09 13:13         ` Gregory CLEMENT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEQ9gEkubRtcdDBuhJHpP0H=Qhc1KvG-4QAMbExopt786XbMuA@mail.gmail.com' \
    --to=rogershimizu@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.