diff mbox series

[net-next] Documentation: networking: dsa: Update documentation

Message ID 20190115223502.28173-1-f.fainelli@gmail.com
State Accepted
Delegated to: David Miller
Headers show
Series [net-next] Documentation: networking: dsa: Update documentation | expand

Commit Message

Florian Fainelli Jan. 15, 2019, 10:35 p.m. UTC
Since 83c0afaec7b7 ("net: dsa: Add new binding implementation"), DSA is
no longer a platform device exclusively and can support registering DSA
switches from other bus drivers (PCI, USB, I2C, etc.).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 Documentation/networking/dsa/dsa.txt | 13 -------------
 1 file changed, 13 deletions(-)

Comments

Andrew Lunn Jan. 15, 2019, 10:42 p.m. UTC | #1
On Tue, Jan 15, 2019 at 02:35:02PM -0800, Florian Fainelli wrote:
> Since 83c0afaec7b7 ("net: dsa: Add new binding implementation"), DSA is
> no longer a platform device exclusively and can support registering DSA
> switches from other bus drivers (PCI, USB, I2C, etc.).
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

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

FYI: I have code to make mv88e6060 an MDIO device. That will allow us
to remove the legacy code soon.

    Andrew
David Miller Jan. 17, 2019, 5:11 a.m. UTC | #2
From: Florian Fainelli <f.fainelli@gmail.com>
Date: Tue, 15 Jan 2019 14:35:02 -0800

> Since 83c0afaec7b7 ("net: dsa: Add new binding implementation"), DSA is
> no longer a platform device exclusively and can support registering DSA
> switches from other bus drivers (PCI, USB, I2C, etc.).
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Applied.
diff mbox series

Patch

diff --git a/Documentation/networking/dsa/dsa.txt b/Documentation/networking/dsa/dsa.txt
index 25170ad7d25b..1000b821681c 100644
--- a/Documentation/networking/dsa/dsa.txt
+++ b/Documentation/networking/dsa/dsa.txt
@@ -236,19 +236,6 @@  description.
 Design limitations
 ==================
 
-DSA is a platform device driver
--------------------------------
-
-DSA is implemented as a DSA platform device driver which is convenient because
-it will register the entire DSA switch tree attached to a master network device
-in one-shot, facilitating the device creation and simplifying the device driver
-model a bit, this comes however with a number of limitations:
-
-- building DSA and its switch drivers as modules is currently not working
-- the device driver parenting does not necessarily reflect the original
-  bus/device the switch can be created from
-- supporting non-MDIO and non-MMIO (platform) switches is not possible
-
 Limits on the number of devices and ports
 -----------------------------------------