linux/net/dsa
Florian Fainelli 0d8bcdd383 net: dsa: allow for more complex PHY setups
Modify the DSA slave interface to be bound to an arbitray PHY, not just
the ones that are available as child PHY devices of the switch MDIO bus.

This allows us for instance to have external PHYs connected to a
separate MDIO bus, but yet also connected to a given switch port.

Under certain configurations, the physical port mask might not be a 1:1
mapping to the MII PHYs mask. This is the case, if e.g: Port 1 of the
switch is used and connects to a PHY at a MDIO address different than 1.

Introduce a phys_mii_mask variable which allows driver to implement and
divert their own MDIO read/writes operations for a subset of the MDIO
PHY addresses.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-08-27 22:59:40 -07:00
..
dsa_priv.h net: dsa: allow for more complex PHY setups 2014-08-27 22:59:40 -07:00
dsa.c net: dsa: allow for more complex PHY setups 2014-08-27 22:59:40 -07:00
Kconfig dsa: Hide core config options; make drivers select what they need 2012-11-26 17:10:44 -05:00
Makefile dsa: Move switch drivers to new directory drivers/net/dsa 2011-11-29 00:21:36 -05:00
slave.c net: dsa: allow for more complex PHY setups 2014-08-27 22:59:40 -07:00
tag_dsa.c net: dsa: reduce number of protocol hooks 2014-08-27 22:59:39 -07:00
tag_edsa.c net: dsa: reduce number of protocol hooks 2014-08-27 22:59:39 -07:00
tag_trailer.c net: dsa: reduce number of protocol hooks 2014-08-27 22:59:39 -07:00