* [PATCH] net: dsa: Add support for port mac address
@ 2019-03-05 7:37 xiaofeis
0 siblings, 0 replies; 4+ messages in thread
From: xiaofeis @ 2019-03-05 7:37 UTC (permalink / raw)
To: davem; +Cc: netdev, xiaofeis
Allow port network device's mac address to be retrieved from the
device tree.
Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
---
Documentation/devicetree/bindings/net/dsa/dsa.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt
index cfe8f64..8415f41 100644
--- a/Documentation/devicetree/bindings/net/dsa/dsa.txt
+++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt
@@ -71,6 +71,10 @@ properties, described in binding documents:
Documentation/devicetree/bindings/net/fixed-link.txt
for details.
+- local-mac-address : See
+ Documentation/devicetree/bindings/net/ethernet.txt
+ for details.
+
Example
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 = [00 00 00 00 00 00];
};
port@2 {
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] net: dsa: Add support for port mac address
@ 2019-03-05 8:16 xiaofeis
2019-03-05 8:58 ` Vinod Koul
2019-03-08 19:46 ` David Miller
0 siblings, 2 replies; 4+ messages in thread
From: xiaofeis @ 2019-03-05 8:16 UTC (permalink / raw)
To: davem
Cc: vkoul, netdev, andrew, linux-arm-msm, bjorn.andersson,
vivien.didelot, f.fainelli, niklas.cassel, xiazha, xiaofeis
Allow port network device's mac address to be retrieved from the
device tree.
Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
---
Documentation/devicetree/bindings/net/dsa/dsa.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt
index cfe8f64..8415f41 100644
--- a/Documentation/devicetree/bindings/net/dsa/dsa.txt
+++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt
@@ -71,6 +71,10 @@ properties, described in binding documents:
Documentation/devicetree/bindings/net/fixed-link.txt
for details.
+- local-mac-address : See
+ Documentation/devicetree/bindings/net/ethernet.txt
+ for details.
+
Example
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 = [00 00 00 00 00 00];
};
port@2 {
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] net: dsa: Add support for port mac address
2019-03-05 8:16 xiaofeis
@ 2019-03-05 8:58 ` Vinod Koul
2019-03-08 19:46 ` David Miller
1 sibling, 0 replies; 4+ messages in thread
From: Vinod Koul @ 2019-03-05 8:58 UTC (permalink / raw)
To: xiaofeis
Cc: davem, netdev, andrew, linux-arm-msm, bjorn.andersson,
vivien.didelot, f.fainelli, niklas.cassel, xiazha
On 05-03-19, 16:16, xiaofeis wrote:
> Allow port network device's mac address to be retrieved from the
> device tree.
Reviewed-by: Vinod Koul <vkoul@kernel.org>
> Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
> ---
> Documentation/devicetree/bindings/net/dsa/dsa.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt
> index cfe8f64..8415f41 100644
> --- a/Documentation/devicetree/bindings/net/dsa/dsa.txt
> +++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt
> @@ -71,6 +71,10 @@ properties, described in binding documents:
> Documentation/devicetree/bindings/net/fixed-link.txt
> for details.
>
> +- local-mac-address : See
> + Documentation/devicetree/bindings/net/ethernet.txt
> + for details.
> +
> Example
>
> 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 = [00 00 00 00 00 00];
> };
>
> port@2 {
> --
> 1.9.1
--
~Vinod
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] net: dsa: Add support for port mac address
2019-03-05 8:16 xiaofeis
2019-03-05 8:58 ` Vinod Koul
@ 2019-03-08 19:46 ` David Miller
1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2019-03-08 19:46 UTC (permalink / raw)
To: xiaofeis
Cc: vkoul, netdev, andrew, linux-arm-msm, bjorn.andersson,
vivien.didelot, f.fainelli, niklas.cassel, xiazha
From: xiaofeis <xiaofeis@codeaurora.org>
Date: Tue, 5 Mar 2019 16:16:53 +0800
> Allow port network device's mac address to be retrieved from the
> device tree.
>
> Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
You're not "adding support" you are adding documentation for support
that already exists.
Please phrase your commit message and subject text so that it
accurately describes your change.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-03-08 19:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-05 7:37 [PATCH] net: dsa: Add support for port mac address xiaofeis
-- strict thread matches above, loose matches on Subject: below --
2019-03-05 8:16 xiaofeis
2019-03-05 8:58 ` Vinod Koul
2019-03-08 19:46 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).