1. 25 3月, 2009 1 次提交
  2. 28 2月, 2009 1 次提交
  3. 08 1月, 2009 3 次提交
  4. 18 10月, 2008 5 次提交
  5. 14 8月, 2008 1 次提交
  6. 22 7月, 2008 2 次提交
    • R
      usb gadget: g_cdc dependso on NET · 4ddd9ec1
      Randy Dunlap 提交于
      g_cdc needs to depend on NET, otherwise net-related build errors happen:
      
      ERROR: "netif_carrier_on" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "netif_carrier_off" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "netif_rx" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "alloc_etherdev_mq" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "free_netdev" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "register_netdev" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "print_mac" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "dev_kfree_skb_any" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "__alloc_skb" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "eth_type_trans" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "unregister_netdev" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "__netif_schedule" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "skb_put" [drivers/usb/gadget/g_cdc.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4ddd9ec1
    • D
      usb gadget: new "CDC Composite" gadget driver · 19e20680
      David Brownell 提交于
      This is a simple example of a composite gadget, combining two
      Communications Class Device (CDC) functions:  ECM and ACM.
      
      This provides a clear example of how the composite gadget framework
      is intended to work.  It's surprising that MS-Windows (or at least,
      XP and previous) won't "just work" with something this simple...
      
      One /proc/bus/usb/devices listing looks like:
      
        T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 46 Spd=480 MxCh= 0
        D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
        P:  Vendor=0525 ProdID=a4aa Rev= 3.01
        S:  Manufacturer=Linux 2.6.26-rc6-pnut with net2280
        S:  Product=CDC Composite Gadget
        C:* #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr=  2mA
        I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
        E:  Ad=83(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
        I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
        I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
        E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
        E:  Ad=86(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
        I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
        E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      
      Not all USB peripheral controller hardware can support this driver.
      All the highspeed-capable peripheral controllers with drivers now in
      the mainline kernel seem to support this, as does omap_udc.  But
      many full speed controllers don't have enough endpoints, or (as with
      the PXA controllers) don't support altsettings.
      
      Lightly tested.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      19e20680
  7. 10 7月, 2008 1 次提交
  8. 02 6月, 2008 1 次提交
  9. 03 5月, 2008 1 次提交
  10. 25 4月, 2008 1 次提交
  11. 07 4月, 2008 1 次提交
  12. 11 3月, 2008 1 次提交
  13. 02 2月, 2008 3 次提交
  14. 26 1月, 2008 1 次提交
  15. 13 10月, 2007 1 次提交
  16. 20 7月, 2007 2 次提交
  17. 13 7月, 2007 3 次提交
  18. 12 5月, 2007 1 次提交
  19. 28 4月, 2007 2 次提交
  20. 02 12月, 2006 1 次提交
  21. 04 10月, 2006 1 次提交
  22. 28 9月, 2006 2 次提交
    • J
      USB: fix typo in drivers/usb/gadget/Kconfig · e113f29c
      Jules Villard 提交于
      This tiny patch fixes a typo in drivers/usb/gadget/Kconfig. The typo
      is present in 2.6.18-rc4 and in the corresponding -mm tree (and AFAIK,
      FYI and FWIW was present in previous kernel versions as well).
      
      From: Jules Villard <jvillard@ens-lyon.fr>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e113f29c
    • B
      USB: gmidi: New USB MIDI Gadget class driver. · f2ebf92c
      Ben Williamson 提交于
      This driver is glue between the USB gadget interface
      and the ALSA MIDI interface. It allows us to appear
      as a MIDI Streaming device to a host system on the
      other end of a USB cable.
      
      This includes linux/usb/audio.h and linux/usb/midi.h
      containing definitions from the relevant USB specifications
      for USB audio and USB MIDI devices.
      
      The following changes have been made since the first RFC
      posting:
      
      * Bug fixes to endpoint handling.
      * Workaround for USB_REQ_SET_CONFIGURATION handling,
        not understood yet.
      * Added SND and SND_RAWMIDI dependencies in Kconfig.
      * Moved usb_audio.h and usb_midi.h to usb/*.h
      * Added module parameters for ALSA card index and id.
      * Added module parameters for USB descriptor IDs and strings.
      * Removed some unneeded stuff inherited from zero.c, more to go.
      * Provide DECLARE_* macros for the variable-length structs.
      * Use kmalloc instead of usb_ep_alloc_buffer.
      * Limit source to 80 columns.
      * Return actual error code instead of -ENOMEM in a few places.
      Signed-off-by: NBen Williamson <ben.williamson@greyinnovation.com>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f2ebf92c
  23. 03 8月, 2006 1 次提交
  24. 15 4月, 2006 1 次提交
  25. 21 3月, 2006 1 次提交
  26. 28 6月, 2005 1 次提交