From: Andrew Lunn <andrew@lunn.ch>
To: xiaofeis@codeaurora.org
Cc: Vinod Koul <vkoul@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
linux-arm-msm@vger.kernel.org,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Vivien Didelot <vivien.didelot@gmail.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Niklas Cassel <niklas.cassel@linaro.org>,
netdev@vger.kernel.org
Subject: Re: [PATCH] net: dsa: read mac address from DT for slave device
Date: Mon, 4 Mar 2019 14:18:01 +0100 [thread overview]
Message-ID: <20190304131801.GA26378@lunn.ch> (raw)
In-Reply-To: <d99a07c116b4bd042d9cc8377015970b@codeaurora.org>
> The following example shows three switches on three MDIO busses,
> @@ -99,6 +103,7 @@ linked into one DSA cluster.
> port@1 {
> reg = <1>;
> label = "lan1";
> + local-mac-address = [000000000001];
> };
bindings/soc/fsl/cpm_qe/network.txt: local-mac-address = [ 00 00 00 00 00 00 ];
bindings/net/ibm,emac.txt: local-mac-address = [00 04 AC E3 1B 1E];
bindings/net/ibm,emac.txt: local-mac-address = [000000000000]; /* Filled in by U-Boot */
bindings/net/fsl-fec.txt: local-mac-address = [00 04 9F 01 1B B9];
bindings/net/fsl-fec.txt: local-mac-address = [00 04 9F 01 1B B9];
bindings/net/socionext,uniphier-ave4.txt: local-mac-address = [00 00 00 00 00 00];
bindings/net/opencores-ethoc.txt: local-mac-address = [00 50 c2 13 6f 00];
bindings/net/marvell-orion-net.txt: local-mac-address = [00 00 00 00 00 00];
bindings/net/davicom-dm9000.txt: local-mac-address = [00 00 de ad be ef];
bindings/net/altera_tse.txt: local-mac-address = [ 00 00 00 00 00 00 ];
bindings/net/altera_tse.txt: local-mac-address = [ 00 00 00 00 00 00 ];
bindings/net/macb.txt: local-mac-address = [3a 0e 03 04 05 06];
bindings/net/brcm,systemport.txt: local-mac-address = [ 00 11 22 33 44 55 ];
bindings/net/fsl-tsec-phy.txt: local-mac-address = [ 00 E0 0C 00 73 00 ];
bindings/net/hisilicon-hns-nic.txt: local-mac-address = [a2 14 e4 4b 56 76];
bindings/net/keystone-netcp.txt: local-mac-address = [02 18 31 7e 3e 6f];
Does the compiler really turn 000000000001 into 6 bytes? Please use
the more preferred option.
Andrew
next prev parent reply other threads:[~2019-03-04 13:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-22 12:58 [PATCH] net: dsa: read mac address from DT for slave device Vinod Koul
2019-02-22 14:26 ` Andrew Lunn
2019-03-04 3:46 ` xiaofeis
2019-03-04 7:31 ` Vinod Koul
2019-03-04 13:18 ` Andrew Lunn [this message]
2019-02-22 15:43 ` Florian Fainelli
2019-02-25 13:28 ` xiaofeis
2019-02-25 17:27 ` Florian Fainelli
2019-02-26 7:45 ` xiaofeis
2019-02-27 2:04 ` xiaofeis
2019-02-27 3:13 ` Florian Fainelli
2019-02-28 2:23 ` xiaofeis
2019-02-28 3:54 ` Florian Fainelli
2019-03-04 3:48 ` xiaofeis
2019-03-27 3:56 ` xiaofeis
2019-02-27 6:57 ` xiaofeis
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=20190304131801.GA26378@lunn.ch \
--to=andrew@lunn.ch \
--cc=bjorn.andersson@linaro.org \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=niklas.cassel@linaro.org \
--cc=vivien.didelot@gmail.com \
--cc=vkoul@kernel.org \
--cc=xiaofeis@codeaurora.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.