1. 11 3月, 2014 1 次提交
    • S
      usb: create common header virtual root hub descriptors · eb838e7d
      Stephen Warren 提交于
      Many USB host controller drivers contain almost identical copies of the
      same virtual root hub descriptors. Put these into a common file to avoid
      duplication.
      
      Note that there were some very minor differences between the descriptors
      in the various files, such as:
      
      - USB 1.0 vs. USB 1.1
      - Manufacturer/Device ID
      - Max packet size
      - String content
      
      I assume these aren't relevant.
      
      Cc: Thomas Lange <thomas@corelatus.se>
      Cc: Shinya Kuribayashi <skuribay@pobox.com>
      Cc: Gary Jennejohn <garyj@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Eric Millbrandt <emillbrandt@coldhaus.com>
      Cc: Pierre Aubert <p.aubert@staubli.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Denis Peter <d.peter@mpl.ch>
      Cc: Rodolfo Giometti <giometti@linux.it>
      Cc: Zhang Wei <wei.zhang@freescale.com>
      Cc: Mateusz Zalega <m.zalega@samsung.com>
      Cc: Remy Bohmer <linux@bohmer.net>
      Cc: Markus Klotzbuecher <mk@denx.de>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Gary Jennejohn <garyj@denx.de>
      Cc: C Nauman <cnauman@diagraph.com>
      Cc: David Müller <d.mueller@elsoft.ch>
      Cc: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Cc: Thomas Abraham <t-abraham@ti.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Andrew Murray <amurray@embedded-bits.co.uk>
      Cc: Matej Frančeškin <matej.franceskin@comtrade.com>
      Cc: Cliff Cai <cliff.cai@analog.com>
      Cc: Bryan Wu <cooloney@gmail.com>
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      eb838e7d
  2. 21 10月, 2013 1 次提交
  3. 24 7月, 2013 1 次提交
  4. 20 11月, 2012 1 次提交
    • I
      usb: use linux/usb/ch9.h instead of usbdescriptors.h · c60795f4
      Ilya Yanok 提交于
      Linux usb/ch9.h seems to have all the same information (and more)
      as usbdescriptors.h so use the former instead of the later one.
      
      As a consequense of this change USB_SPEED_* values don't correspond
      directly to EHCI speed encoding anymore, I've added necessary
      recoding in EHCI driver. Also there is no point to put speed into
      pipe anymore so it's removed and a bunch of host drivers fixed to
      look at usb_device->speed instead.
      
      Old usbdescriptors.h included is not removed as it seems to be
      used by old USB device code.
      
      This makes usb.h and usbdevice.h incompatible. Fortunately the
      only place that tries to include both are the old MUSB code and
      it needs usb.h only for USB_DMA_MINALIGN used in aligned attribute
      on musb_regs structure but this attribute seems to be unneeded
      (old MUSB code doesn't support any DMA at all).
      Signed-off-by: NIlya Yanok <ilya.yanok@cogentembedded.com>
      c60795f4
  5. 16 10月, 2012 1 次提交
  6. 19 3月, 2012 1 次提交
    • M
      usb: replace wait_ms() with mdelay() · 5b84dd67
      Mike Frysinger 提交于
      Common code has a mdelay() func, so use that instead of the usb-specific
      wait_ms() func.  This also fixes the build errors:
      
      ohci-hcd.c: In function 'submit_common_msg':
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1519:9: sorry, unimplemented: called from here
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1816:10: sorry, unimplemented: called from here
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1827:10: sorry, unimplemented: called from here
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1844:10: sorry, unimplemented: called from here
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1563:11: sorry, unimplemented: called from here
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1583:9: sorry, unimplemented: called from here
      make[1]: *** [ohci-hcd.o] Error 1
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      Acked-by: NMarek Vasut <marex@denx.de>
      5b84dd67
  7. 13 4月, 2010 1 次提交
  8. 16 5月, 2009 1 次提交
  9. 07 4月, 2009 1 次提交
  10. 29 11月, 2008 1 次提交
  11. 14 10月, 2008 1 次提交
    • R
      The PIPE_INTERRUPT flag is used wrong · 9dbc3667
      Remy Bohmer 提交于
      At a lot of places in the code the PIPE_INTERRUPT flags and friends
      are used wrong. The wrong bits are compared to this flag resulting
      in wrong conditions. Also there are macros that should be used for
      PIPE_* flags.
      This patch tries to fix them all, however, I was not able to test the
      changes, because I do not have any of these boards.
      
      Review required!
      Signed-off-by: NRemy Bohmer <linux@bohmer.net>
      Signed-off-by: NMarkus Klotzbuecher <mk@denx.de>
      9dbc3667
  12. 21 5月, 2008 1 次提交
    • W
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk 提交于
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      53677ef1
  13. 10 1月, 2008 1 次提交
  14. 26 11月, 2007 1 次提交
  15. 02 10月, 2007 1 次提交
    • T
      Bugfix: Use only one PTD for one endpoint · 785c1347
      Timo Ketola 提交于
      Original isp116x-hcd code prepared multiple PTDs for longer than 16
      byte transfers for one endpoint. That is unnecessary because the
      ISP116x is able to split long data from one PTD into multiple
      transactions based on the buffer size of the endpoint. It also caused
      serious problems if the endpoint NAKed some of the transactions. In
      that case ISP116x wouldn't notice that the other PTDs were for the same
      endpoint and would try the other PTDs possibly out of order. That would
      break the whole transfer.
      
      This patch makes isp116x_submit_job to use one PTD for one transfer.
      Signed-off-by: NTimo Ketola <timo.ketola@exertus.fi>
      Signed-off-by: NMarkus Klotzbuecher <mk@denx.de>
      785c1347
  16. 06 6月, 2007 1 次提交
  17. 03 4月, 2007 1 次提交