linux/drivers/net/dsa
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
..
b53 net: dsa: b53: Add support for port mirroring 2017-01-30 15:55:47 -05:00
mv88e6xxx net: dsa: mv88e6xxx: add cross-chip bridging 2017-04-01 12:22:57 -07:00
bcm_sf2.c net: dsa: bcm_sf2: Add support for port mirroring 2017-01-30 15:55:47 -05:00
bcm_sf2.h net: dsa: bcm_sf2: Add support for ethtool::rxnfc 2017-01-30 14:49:58 -05:00
bcm_sf2_cfp.c net: break include loop netdevice.h, dsa.h, devlink.h 2017-03-28 22:46:04 -07:00
bcm_sf2_regs.h net: dsa: bcm_sf2: Add CFP registers definitions 2017-01-30 14:49:58 -05:00
dsa_loop.c net: dsa: Mock-up driver 2017-04-01 12:39:32 -07:00
dsa_loop.h net: dsa: Mock-up driver 2017-04-01 12:39:32 -07:00
dsa_loop_bdinfo.c net: dsa: Mock-up driver 2017-04-01 12:39:32 -07:00
Kconfig net: dsa: Mock-up driver 2017-04-01 12:39:32 -07:00
Makefile net: dsa: Mock-up driver 2017-04-01 12:39:32 -07:00
mv88e6060.c net: dsa: Make dsa_switch_ops const 2017-01-09 15:44:50 -05:00
mv88e6060.h net: dsa: Keep the mii bus and address in the private structure 2016-04-13 18:15:23 -04:00
qca8k.c net: dsa: qca8k: use dsa_port's bridge pointer 2017-01-29 18:42:46 -05:00
qca8k.h net: dsa: qca8k: use dsa_port's bridge pointer 2017-01-29 18:42:46 -05:00