netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: dsa: make "label" property optional
@ 2017-01-06 22:00 Vivien Didelot
  2017-01-06 22:00 ` [PATCH net-next 1/2] net: dsa: make "label" property optional for dsa2 Vivien Didelot
  2017-01-06 22:00 ` [PATCH net-next 2/2] arm: dts: vf610-zii-dev-rev-b: remove ports label Vivien Didelot
  0 siblings, 2 replies; 8+ messages in thread
From: Vivien Didelot @ 2017-01-06 22:00 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, kernel, David S. Miller, Florian Fainelli,
	Andrew Lunn, Uwe Kleine-König, Vivien Didelot

Patch 1/2 makes the "label" property in new DSA bindings optional. This
doesn't change the current behavior with existing DTS files.

As Linux considers the Ethernet switch ports as normal NICs by default,
not providing a "label" property for user ports results in using the
standard "ethX" network device name. Giving a "label" overwrites this.

Patch 2/2 removes the labels for the ZII Rev B board as an example.

Vivien Didelot (2):
  net: dsa: make "label" property optional for dsa2
  arm: dts: vf610-zii-dev-rev-b: remove ports label

 Documentation/devicetree/bindings/net/dsa/dsa.txt | 20 ++++++++-----------
 arch/arm/boot/dts/vf610-zii-dev-rev-b.dts         | 16 ---------------
 net/dsa/dsa2.c                                    | 24 ++++-------------------
 3 files changed, 12 insertions(+), 48 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-07 20:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-06 22:00 [PATCH net-next 0/2] net: dsa: make "label" property optional Vivien Didelot
2017-01-06 22:00 ` [PATCH net-next 1/2] net: dsa: make "label" property optional for dsa2 Vivien Didelot
2017-01-06 22:20   ` Andrew Lunn
2017-01-06 22:47     ` Florian Fainelli
2017-01-07 20:28       ` Uwe Kleine-König
2017-01-07 20:31   ` Uwe Kleine-König
2017-01-06 22:00 ` [PATCH net-next 2/2] arm: dts: vf610-zii-dev-rev-b: remove ports label Vivien Didelot
2017-01-06 22:41   ` Andrew Lunn

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).