1. 12 12月, 2009 1 次提交
  2. 15 10月, 2009 1 次提交
  3. 23 9月, 2009 1 次提交
    • B
      USB: gadget: Add EEM gadget driver · 9b39e9dd
      Brian Niebuhr 提交于
      This patch adds a CDC EEM ethernet gadget driver.  CDC EEM is a newer
      USB ethernet specification that uses a simpler interface than the older
      CDC ECM.  This makes CDC EEM usable by a wider set of USB hardware.
      By default the ethernet gadget will still use CDC ECM/Subset, but kernel
      configuration and/or a module parameter will allow alternative use of
      the CDC EEM protocol.
      
      Changes since last version:
      	- Brought in missing RNDIS changes that caused compile error
      	- Modified 'sentinel CRC' checking to match EEM host driver
      Signed-off-by: NBrian Niebuhr <bniebuhr@efjohnson.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9b39e9dd
  4. 13 7月, 2009 1 次提交
    • D
      USB: RNDIS gadget, fix issues talking from PXA · 4e19f220
      David Brownell 提交于
      The reworked Ethernet gadget has an RNDIS interop problem when used
      with the CDC subset driver ... e.g. on PXA 2xx and 3xx hardware,
      which currently has a hard time talking to MS-Windows hosts.
      
      The issue is that Microsoft requires USB_CLASS_COMM.  Fix by tweaking
      the CDC subset driver to not switch to USB_CLASS_VENDOR_SPEC if RNDIS
      is used in some other device configuration.
      
      [ UPDATED:  some "statements" were comma-terminated; fix that. ]
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Aric Blumer <aric@sdgsystems.net>
      Cc: stable <stable@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4e19f220
  5. 25 3月, 2009 1 次提交
  6. 18 10月, 2008 1 次提交
  7. 17 10月, 2008 1 次提交
  8. 26 7月, 2008 1 次提交
  9. 22 7月, 2008 3 次提交
    • D
      usb ethernet gadget: use composite gadget framework · 0391c828
      David Brownell 提交于
      Building on the previous patches which took code from this driver and
      pakaged it in more-reusable network "function" components, this patch
      gets rid of the original code and uses those components instead.
      
      As seen with the other gadget driver conversions, the resulting code
      is much easier to understand and (presumably) work with.  In this case
      that's especially true, since the Ethernet gadget had grown to handle
      three (!) different Ethernet-over-USB protocols.  This modularization
      should make it much easier to add a fourth option for the newish CDC
      "Ethernet Emulation Model" (or EEM).
      
      Lightly tested, primarily at full speed.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0391c828
    • D
      usb gadget: RNDIS cleanups · 15b2d2b5
      David Brownell 提交于
      Some cleanup to the RNDIS code:
      
       - Minor bugfix:  rndis_unit() is supposed to put the link into the
         RNDIS_UNINITIALIZED state, which does not mean "unused".  There's
         a separate method to stop using the link.  (Bug doesn't affect
         anything right now because of how the code is used.)
      
       - Reduce coupling between RNDIS code and its user(s), in preparation
         for updates in that code:
      
          * Decouple RNDIS_RESPONSE_AVAILABLE notifications from net_device
            by passing just a void* handle.  (Also, remove the unused return
            value of the notification callback.)
          * When it needs a copy of net_device stats, just ask for it
      
       - Remove unused/untested code backing various never-used OIDs:
      
          * RNDIS_PM, RNDIS_WAKEUP ... "should" get implemented, but the
            relevant docs were unclear, ambguous, and incomplete.  Someone
            with access to the Hidden Gospels (maybe in the EU?) might be
            able to figure out what this should do.
          * RNDIS_OPTIONAL_STATS ... as the name suggests, optional.  Never
            implemented in part because not all the semantics were clear.
          * OID_GEN_RNDIS_CONFIG_PARAMETER, which has been #if 0 forever.
      
       - A few small whitespace fixes
      
      Plus switch the VERBOSE symbol over to the newer VERBOSE_DEBUG style.
      
      There should be no functional changes because of this patch; it's a
      net source code shrink (because of the dead/unused code removal) and
      a small object code shrink (a couple hundred bytes on ARMv5).
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      15b2d2b5
    • K
      USB: usb dev_name() instead of dev->bus_id · 7071a3ce
      Kay Sievers 提交于
      The bus_id field is going away, use the dev_name() function instead.
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7071a3ce
  10. 10 7月, 2008 1 次提交
  11. 03 5月, 2008 1 次提交
  12. 25 4月, 2008 2 次提交
  13. 22 2月, 2008 1 次提交
  14. 02 2月, 2008 1 次提交
  15. 13 10月, 2007 3 次提交
  16. 11 10月, 2007 1 次提交
  17. 31 7月, 2007 1 次提交
  18. 20 7月, 2007 1 次提交
  19. 13 7月, 2007 3 次提交
  20. 09 5月, 2007 1 次提交
  21. 28 4月, 2007 2 次提交
  22. 26 4月, 2007 1 次提交
  23. 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
  24. 08 2月, 2007 3 次提交
  25. 02 12月, 2006 1 次提交
  26. 22 11月, 2006 1 次提交
  27. 02 10月, 2006 1 次提交
    • S
      [PATCH] namespaces: utsname: use init_utsname when appropriate · 96b644bd
      Serge E. Hallyn 提交于
      In some places, particularly drivers and __init code, the init utsns is the
      appropriate one to use.  This patch replaces those with a the init_utsname
      helper.
      
      Changes: Removed several uses of init_utsname().  Hope I picked all the
      	right ones in net/ipv4/ipconfig.c.  These are now changed to
      	utsname() (the per-process namespace utsname) in the previous
      	patch (2/7)
      
      [akpm@osdl.org: CIFS fix]
      Signed-off-by: NSerge E. Hallyn <serue@us.ibm.com>
      Cc: Kirill Korotaev <dev@openvz.org>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Herbert Poetzl <herbert@13thfloor.at>
      Cc: Andrey Savochkin <saw@sw.ru>
      Cc: Serge Hallyn <serue@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      96b644bd
  28. 28 9月, 2006 3 次提交