1. 15 3月, 2016 1 次提交
    • D
      phy: mdio-octeon: Refactor into two files/modules · 1eefee90
      David Daney 提交于
      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: NDavid Daney <david.daney@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1eefee90
  2. 29 1月, 2016 1 次提交
  3. 22 10月, 2015 1 次提交
  4. 08 10月, 2015 4 次提交
  5. 10 9月, 2015 1 次提交
  6. 01 8月, 2015 1 次提交
  7. 30 7月, 2015 1 次提交
  8. 21 7月, 2015 1 次提交
  9. 09 7月, 2015 1 次提交
  10. 04 6月, 2015 1 次提交
  11. 16 5月, 2015 1 次提交
  12. 10 5月, 2015 1 次提交
    • J
      net: amd-xgbe: Add hardware dependency · 74a78b15
      Jean Delvare 提交于
      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: NJean Delvare <jdelvare@suse.de>
      Cc: Tom Lendacky <thomas.lendacky@amd.com>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      74a78b15
  13. 09 4月, 2015 1 次提交
  14. 17 1月, 2015 1 次提交
  15. 17 12月, 2014 1 次提交
    • D
      net: Allow FIXED_PHY to be modular. · 6539c44d
      David S. Miller 提交于
      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: NDavid S. Miller <davem@davemloft.net>
      6539c44d
  16. 06 11月, 2014 1 次提交
  17. 06 10月, 2014 1 次提交
  18. 08 9月, 2014 1 次提交
  19. 28 8月, 2014 1 次提交
  20. 06 6月, 2014 1 次提交
  21. 14 2月, 2014 1 次提交
  22. 08 11月, 2013 1 次提交
  23. 11 6月, 2013 1 次提交
  24. 01 6月, 2013 1 次提交
  25. 16 4月, 2013 1 次提交
  26. 14 2月, 2013 1 次提交
  27. 19 10月, 2012 1 次提交
  28. 31 8月, 2012 1 次提交
  29. 28 6月, 2012 1 次提交
  30. 08 5月, 2012 2 次提交
    • D
      netdev/of/phy: Add MDIO bus multiplexer driven by GPIO lines. · 416912a1
      David Daney 提交于
      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: NDavid Daney <david.daney@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      416912a1
    • D
      netdev/of/phy: Add MDIO bus multiplexer support. · 0ca2997d
      David Daney 提交于
      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: NDavid Daney <david.daney@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0ca2997d
  31. 20 3月, 2012 1 次提交
  32. 20 12月, 2011 1 次提交
  33. 27 11月, 2011 1 次提交
  34. 27 8月, 2011 1 次提交
    • J
      drivers/net: Kconfig & Makefile cleanup · 88491d81
      Jeff Kirsher 提交于
      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: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      88491d81
  35. 17 6月, 2011 1 次提交
  36. 12 2月, 2011 1 次提交