Documentation: net: dsa: Cut set_addr() documentation

Message ID 20171129153438.8320-1-linus.walleij@linaro.org
State New
Headers show
Series
  • Documentation: net: dsa: Cut set_addr() documentation
Related show

Commit Message

Linus Walleij Nov. 29, 2017, 3:34 p.m.
This is not supported anymore, devices needing a MAC address
just assign one at random, it's just a driver pecularity.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 Documentation/networking/dsa/dsa.txt | 5 -----
 1 file changed, 5 deletions(-)

-- 
2.14.3

Comments

Andrew Lunn Nov. 29, 2017, 3:44 p.m. | #1
On Wed, Nov 29, 2017 at 04:34:38PM +0100, Linus Walleij wrote:
> This is not supported anymore, devices needing a MAC address

> just assign one at random, it's just a driver pecularity.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Hi Linus

It is normal to put the tree, net-next in this case, inside the [] of
the subject line, so David knows which tree the patch is for.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>


    Andrew
David Miller Nov. 30, 2017, 3:10 p.m. | #2
From: Linus Walleij <linus.walleij@linaro.org>

Date: Wed, 29 Nov 2017 16:34:38 +0100

> This is not supported anymore, devices needing a MAC address

> just assign one at random, it's just a driver pecularity.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Applied.

Patch

diff --git a/Documentation/networking/dsa/dsa.txt b/Documentation/networking/dsa/dsa.txt
index b8b40753133e..25170ad7d25b 100644
--- a/Documentation/networking/dsa/dsa.txt
+++ b/Documentation/networking/dsa/dsa.txt
@@ -385,11 +385,6 @@  Switch configuration
   avoid relying on what a previous software agent such as a bootloader/firmware
   may have previously configured.
 
-- set_addr: Some switches require the programming of the management interface's
-  Ethernet MAC address, switch drivers can also disable ageing of MAC addresses
-  on the management interface and "hardcode"/"force" this MAC address for the
-  CPU/management interface as an optimization
-
 PHY devices and link management
 -------------------------------