1. 13 Mar, 2015 17 commits
  2. 12 Mar, 2015 21 commits
  3. 11 Mar, 2015 2 commits
    • David S. Miller's avatar
      Merge branch 'dsa_phy_divert' · 388a8357
      David S. Miller authored
      Florian Fainelli says:
      
      ====================
      net: dsa: support PHY reads/writes diversion
      
      This patch series completes the PHY reads/writes diversion when we need to use
      the slave MII bus provided by DSA and the underlying switch drivers to
      implement the real PHY reads and writes. This is particularly useful when they
      are conflicting MDIO bus addresses as in the case of multiple Broadcom switches
      connected to each other (internal and external, or just external).
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      388a8357
    • Florian Fainelli's avatar
      net: dsa: fully divert PHY reads/writes if requested · cd28a1a9
      Florian Fainelli authored
      In case a PHY is found via Device Tree, and is also flagged by the
      switch driver as needing indirect reads/writes using the switch driver
      implemented MDIO bus, make sure that we bind this PHY to the slave MII
      bus in order for this to happen.
      
      Without this, we would succeed in having the PHY driver probe()'s
      function to use slave MII bus read/write functions, because this is done
      during dsa_slave_mii_init(), but past that point, the PHY driver would
      not go through these diverted reads and writes.
      
      Fixes: 0d8bcdd3 ("net: dsa: allow for more complex PHY setups")
      Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cd28a1a9