1. 28 4月, 2007 2 次提交
  2. 26 4月, 2007 4 次提交
  3. 25 4月, 2007 1 次提交
    • D
      usb-net/pegasus: fix pegasus carrier detection · c43c49bd
      Dan Williams 提交于
      Broken by 4a1728a2 which switched the
      return semantics of read_mii_word() but didn't fix usage of
      read_mii_word() to conform to the new semantics.
      
      Setting carrier to off based on the NO_CARRIER flag is also incorrect as
      that flag only triggers on TX failure and therefore isn't correct when
      no frames are being transmitted.  Since there is already a 2*HZ MII
      carrier check going on, defer to that.
      
      Add a TRUST_LINK_STATUS feature flag for adapters where the LINK_STATUS
      flag is actually correct, and use that rather than the NO_CARRIER flag.
      Signed-off-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      c43c49bd
  4. 20 3月, 2007 1 次提交
  5. 10 3月, 2007 1 次提交
  6. 24 2月, 2007 2 次提交
  7. 17 2月, 2007 6 次提交
  8. 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
  9. 10 2月, 2007 1 次提交
  10. 08 2月, 2007 3 次提交
    • O
      USB: better ethtool support for kaweth · b3ebd522
      Oliver Neukum 提交于
      this implements enough ethtool support to make NetworkManager happy.
      Signed-off-by: NOliver Neukum <oneukum@suse.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b3ebd522
    • O
      USB: power management for kaweth · b98b98f9
      Oliver Neukum 提交于
      - implements suspend when the network interface is down
      - fixes a typo in comments
      - adds debugging output for power management
      - fixes a compiler warning
      Signed-off-by: NOliver Neukum <oneukum@suse.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b98b98f9
    • O
      rndis_host learns ActiveSync basics · ad55d71a
      Ole Andre Vadla Ravnas 提交于
      Windows Mobile 5 based devices described as supporting "ActiveSync":
      
       - Speak RNDIS but lack the CDC and union descriptors.  This patch
         updates the cdc ethernet code to fake ACM descriptors we need.
      
       - Require RNDIS_MSG_QUERY messages to include a buffer of the size the
         response should generate.  This patch updates the rndis host code to
         pass this will-be-ignored data.
      
      The resulting RNDIS host code has been reported to work with several
      WM5 based devices.
      
      (Note that a fancier patch is available at synce.sf.net.)
      
      
      Some bugfixes, affecting not just ActiveSync:
          (a)	when cleaning up after RNDS init fails, scrub the second interface
      	just like cdc_ether does, so disconnect won't oops.
          (b)	handle peripherals that use the pad-to-end-of-packet option; some
      	devices can't talk to us if that option doesn't work.
          (c)	when choosing configurations, don't forget about an RNDIS config
      	just because the RNDIS driver is dynamically linked.
      
      Cleanup, streamlining, bugfixes, Kconfig, and matching hub driver update.
      Also for paranoia's sake, refuse to talk to something that looks like a
      real modem instead of RNDIS.
      Signed-off-by: NOle Andre Vadla Ravnaas <oleavr@gmail.com>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      ad55d71a
  11. 06 2月, 2007 2 次提交
  12. 04 2月, 2007 1 次提交
  13. 23 1月, 2007 2 次提交
    • D
      USB: rndis_host: fix crash while probing a Nokia S60 mobile · deb31f17
      Daniel Gollub 提交于
      Bug fix for driver rndis_host which fixes rndis_host probing certain
      Nokia S60 (Series 60) mobiles. While the rndis_host get probed by usbnet
      and tries to bind the Nokia mobile the bind is going to fail. The
      rndis_host module tries to release the device, in a wrong way, which
      cause the oops.
      
      Fixes Bugzilla #7201
      Signed-off-by: NDaniel Gollub <dgollub@suse.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      deb31f17
    • A
      USB: asix: Detect internal PHY and enable/use accordingly · d0ffff8f
      Andres Salomon 提交于
      Different AX88772 dongles use different PHYs; the chip is capable of using
      both a primary and secondary PHY, and supports an internal and external PHY.
      
      It appears that some DUB-E100 devices use the internal PHY, so trying to use
      an external one will not work (note that this is different across revisions,
      as well; the "A" and "B" revs of the DUB-E100 use different PHYs!).  The data
      sheet for the AX88772 chip specifies that the internal PHY id will be 0x10,
      so if that's read from the EEPROM, we should use that rather than attempting
      to use an external PHY.
      
      Thanks to Mitch Bradley for pointing this out!
      Signed-off-by: NAndres Salomon <dilinger@debian.org>
      Cc: David Hollis <dhollis@davehollis.com>
      Cc: Chris Ball <cjb@laptop.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d0ffff8f
  14. 06 1月, 2007 1 次提交
  15. 21 12月, 2006 2 次提交
  16. 14 12月, 2006 1 次提交
  17. 08 12月, 2006 2 次提交
  18. 02 12月, 2006 6 次提交
  19. 22 11月, 2006 1 次提交