1. 02 12月, 2006 2 次提交
    • A
      [PATCH] PHY: Add support for configuring the PHY connection interface · e8a2b6a4
      Andy Fleming 提交于
      Most PHYs connect to an ethernet controller over a GMII or MII
      interface.  However, a growing number are connected over
      different interfaces, such as RGMII or SGMII.
      
      The ethernet driver will tell the PHY what type of connection it
      is by setting it manually, or passing it in through phy_connect
      (or phy_attach).
      
      Changes include:
      * Updates to documentation
      * Updates to PHY Lib consumers
      * Changes to PHY Lib to add interface support
      * Some minor changes to whitespace in phy.h
      * gianfar driver now detects interface and passes appropriate
        value to PHY Lib
      Signed-off-by: NAndrew Fleming <afleming@freescale.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      e8a2b6a4
    • A
      [PATCH] Fixed a number of bugs in the PHY Layer · 6b655529
      Andy Fleming 提交于
      * genphy_update_link is now exported
      * Added a fix from ncase@xes-inc.com which changes forcing so it
        only updates the link.  Otherwise, it never tries the lower
        values, since it is always overwriting the speed/duplex values
        with the current ones, rather than the intended ones.
      * Fixed a bug where bringing up a PHY with no link caused it to
        timeout, and enter forcing mode.  Once in forcing mode,
        plugging in the link didn't autonegotiate.  Now the AN state
        detects the lack of link, and enters the NO_LINK state.  AN
        only times out if the link is up and AN fails
      * Cleaned up the PHY_AN case, reducing one level of indentation
        for the timeout code.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      6b655529
  2. 01 10月, 2006 1 次提交
  3. 26 9月, 2006 1 次提交
    • E
      [PATCH] Signedness issue in drivers/net/phy/phy_device.c · 84c22d79
      Eric Sesterhenn 提交于
      While checking gcc 4.1 -Wextra warnings, I stumbled across the following
      two warnings:
      
      drivers/net/phy/phy_device.c:528: warning: comparison of unsigned expression < 0 is always false
      drivers/net/phy/phy_device.c:546: warning: comparison of unsigned expression < 0 is always false
      
      Since phy_read() returns an integer and can return negative values, it seems
      to me the best way to get proper error handling working again is to make val
      an int.  Currently it is an u32, so the < 0 check always fails.
      Signed-off-by: NEric Sesterhenn <snakebyte@gmx.de>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      84c22d79
  4. 20 8月, 2006 1 次提交
  5. 01 7月, 2006 1 次提交
  6. 24 12月, 2005 1 次提交
    • O
      [PATCH] missing license for libphy.ko · afcceaa3
      Olaf Hering 提交于
      Andy,
      
      libphy has no license tag. Something like the attached (untested!) patch
      is needed. Hopefully such a change finds its way into 2.6.15.
      
      filename: /lib/modules/2.6.15-rc5-3-ppc64/kernel/drivers/net/phy/libphy.ko
      vermagic:       2.6.15-rc5-3-ppc64 SMP gcc-4.1
      depends:
      srcversion:     ACC921B5E82701BE1E6F603
      
       drivers/net/phy/phy_device.c |    4 ++++
       1 files changed, 4 insertions(+)
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      afcceaa3
  7. 06 11月, 2005 1 次提交
  8. 24 9月, 2005 1 次提交
  9. 29 8月, 2005 1 次提交
  10. 11 8月, 2005 2 次提交
  11. 31 7月, 2005 1 次提交