Florian Fainelli 98cd1552ea net: dsa: Mock-up driver
This patch adds support for a DSA mock-up driver which essentially does
the following:

- registers/unregisters 4 fixed PHYs to the slave network devices
- uses eth0 (configurable) as the master netdev
- registers the switch as a fixed MDIO device against the fixed MDIO bus
  at address 31
- includes dynamic debug prints for dsa_switch_ops functions that can be
  enabled to get call traces

This is a good way to test modular builds as well as exercise the DSA
APIs without requiring access to real hardware. This does not test the
data-path, although this could be added later on.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-01 12:39:32 -07:00
..
2017-02-27 18:43:47 -08:00
2017-04-01 12:39:32 -07:00
2017-02-22 11:44:32 -08:00
2017-02-11 20:59:41 -05:00
2017-03-08 22:19:17 -08:00
2017-03-13 21:53:48 -07:00
2017-03-01 09:58:31 -08:00
2017-03-25 20:11:19 -07:00