“2f951a5db5b55f65eb02d9a90aa7cecafde9f8b8”上不存在“git@gitcode.net:openeuler/kernel.git”
  1. 28 4月, 2007 2 次提交
  2. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  3. 10 2月, 2007 1 次提交
    • R
      phy devices: use same arg types · 1a168934
      Randy Dunlap 提交于
      sparse complains about differing types from prototype to
      definition, so change the u32 to phy_interface_t:
      
      drivers/net/phy/phy_device.c:140:19: error: symbol 'phy_connect' redeclared with different type (originally declared at include/linux/phy.h:362) - incompatible argument 5 (different signedness)
      drivers/net/phy/phy_device.c:190:19: error: symbol 'phy_attach' redeclared with different type (originally declared at include/linux/phy.h:360) - incompatible argument 4 (different signedness)
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      1a168934
  4. 14 12月, 2006 1 次提交
  5. 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
  6. 01 10月, 2006 1 次提交
  7. 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
  8. 20 8月, 2006 1 次提交
  9. 01 7月, 2006 1 次提交
  10. 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
  11. 06 11月, 2005 1 次提交
  12. 24 9月, 2005 1 次提交
  13. 29 8月, 2005 1 次提交
  14. 11 8月, 2005 2 次提交
  15. 31 7月, 2005 1 次提交