1. 18 Mar, 2016 1 commit
  2. 14 Mar, 2016 2 commits
    • David Daney's avatar
      phy: mdio-thunder: Add driver for Cavium Thunder SoC MDIO buses. · 379d7ac7
      David Daney authored
      
      
      The Cavium Thunder SoCs have multiple MIDO buses that are part of a
      single PCI device.  To model this in the device tree we call the PCI
      parent device a "cavium,thunder-8890-mdio-nexus", it has several
      children, one for each MDIO bus.
      
      The MDIO bus hardware is identical to that found in the OCTEON SoCs,
      so we use that code for things that are not part of the PCI driver
      probe/remove
      Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      379d7ac7
    • David Daney's avatar
      phy: mdio-octeon: Refactor into two files/modules · 1eefee90
      David Daney authored
      
      
      A follow-on patch uses PCI probing to find the Thunder MDIO hardware.
      In preparation for this, split out the common code into a new file
      mdio-cavium.c, which will be used by both the existing OCTEON driver,
      and the new Thunder PCI based driver.
      
      As part of the refactoring simplify the struct cavium_mdiobus by
      removing fields that are only ever used in the probe function and can
      just as well be local variables.
      
      Use readq/writeq in preference to readq_relaxed/writeq_relaxed as the
      relaxed form was an optimization for an early chip revision, and the
      MDIO drivers are not performance bottlenecks that need optimization in
      the first place.
      Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1eefee90
  3. 28 Jan, 2016 1 commit
  4. 22 Oct, 2015 1 commit
  5. 08 Oct, 2015 4 commits
  6. 09 Sep, 2015 1 commit
  7. 31 Jul, 2015 1 commit
  8. 29 Jul, 2015 1 commit
  9. 21 Jul, 2015 1 commit
  10. 08 Jul, 2015 1 commit
  11. 03 Jun, 2015 1 commit
  12. 15 May, 2015 1 commit
  13. 09 May, 2015 1 commit
    • Jean Delvare's avatar
      net: amd-xgbe: Add hardware dependency · 74a78b15
      Jean Delvare authored
      
      
      The amd-xgbe driver currently only works with the Seattle SoC, which
      is ARM64 architecture, so there is no point in building this driver on
      other architectures except for build testing purpose. The dependency
      list can be updated later if the driver ever supports other
      architectures.
      Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
      Cc: Tom Lendacky <thomas.lendacky@amd.com>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      74a78b15
  14. 08 Apr, 2015 1 commit
  15. 16 Jan, 2015 1 commit
  16. 16 Dec, 2014 1 commit
    • David S. Miller's avatar
      net: Allow FIXED_PHY to be modular. · 6539c44d
      David S. Miller authored
      
      
      Otherwise we get things like:
      
      warning: (NET_DSA_BCM_SF2 && BCMGENET && SYSTEMPORT) selects FIXED_PHY which has unmet direct dependencies (NETDEVICES && PHYLIB=y)
      
      In order to make this work we have to rename fixed.c to fixed_phy.c
      because the regulator drivers already have a module named "fixed.o".
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6539c44d
  17. 05 Nov, 2014 1 commit
  18. 05 Oct, 2014 1 commit
  19. 07 Sep, 2014 1 commit
  20. 27 Aug, 2014 1 commit
  21. 05 Jun, 2014 1 commit
  22. 13 Feb, 2014 1 commit
  23. 07 Nov, 2013 1 commit
  24. 10 Jun, 2013 1 commit
  25. 31 May, 2013 1 commit
  26. 16 Apr, 2013 1 commit
  27. 14 Feb, 2013 1 commit
  28. 18 Oct, 2012 1 commit
  29. 30 Aug, 2012 1 commit
  30. 27 Jun, 2012 1 commit
  31. 07 May, 2012 2 commits
    • David Daney's avatar
      netdev/of/phy: Add MDIO bus multiplexer driven by GPIO lines. · 416912a1
      David Daney authored
      
      
      The GPIO pins select which sub bus is connected to the master.
      
      Initially tested with an sn74cbtlv3253 switch device wired into the
      MDIO bus.
      Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      416912a1
    • David Daney's avatar
      netdev/of/phy: Add MDIO bus multiplexer support. · 0ca2997d
      David Daney authored
      
      
      This patch adds a somewhat generic framework for MDIO bus
      multiplexers.  It is modeled on the I2C multiplexer.
      
      The multiplexer is needed if there are multiple PHYs with the same
      address connected to the same MDIO bus adepter, or if there is
      insufficient electrical drive capability for all the connected PHY
      devices.
      
      Conceptually it could look something like this:
      
                         ------------------
                         | Control Signal |
                         --------+---------
                                 |
       ---------------   --------+------
       | MDIO MASTER |---| Multiplexer |
       ---------------   --+-------+----
                           |       |
                           C       C
                           h       h
                           i       i
                           l       l
                           d       d
                           |       |
           ---------       A       B   ---------
           |       |       |       |   |       |
           | PHY@1 +-------+       +---+ PHY@1 |
           |       |       |       |   |       |
           ---------       |       |   ---------
           ---------       |       |   ---------
           |       |       |       |   |       |
           | PHY@2 +-------+       +---+ PHY@2 |
           |       |                   |       |
           ---------                   ---------
      
      This framework configures the bus topology from device tree data.  The
      mechanics of switching the multiplexer is left to device specific
      drivers.
      
      The follow-on patch contains a multiplexer driven by GPIO lines.
      Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0ca2997d
  32. 19 Mar, 2012 1 commit
  33. 19 Dec, 2011 1 commit
  34. 26 Nov, 2011 1 commit
  35. 27 Aug, 2011 1 commit
    • Jeff Kirsher's avatar
      drivers/net: Kconfig & Makefile cleanup · 88491d81
      Jeff Kirsher authored
      
      
      The is does a general cleanup of the drivers/net/ Kconfig and
      Makefile.  This patch create a "core" option and places all
      the networking core drivers into this option (default is yes
      for this option).  In addition, it alphabitizes the Kconfig
      driver options.
      
      As a side cleanup, found that the arcnet, token ring, and PHY
      Kconfig options were a tri-state option and should have been
      a bool option.
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      88491d81