1. 28 Sep, 2006 8 commits
    • David Brownell's avatar
      musb_hdrc: fix some bugs in the updated host side code · 23da5183
      David Brownell authored
       - Remove an oops in the queue fault cleanup path, caused by using the
         wrong giveback routine (heavy weight vs lighter-weight).  Move a few
         key bits of code into that lighter weight version.
      
       - Trigger that lighter-weight cleanup during URB completion, when the
         URB in question can't yet been handed off to the hardware even if
         it's at the queue head.
      
       - Reduce syslog noise when those fault cleanup paths are triggered from
         scatterlist calls by usb-storage.
      
       - Paranoia: when scheduling, insist that the endpoint fifo isn't smaller
         than required.
      
      Oops observed courtesy of a slightly flakey usb-storage device, which
      once again proves itself handy for testing.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      23da5183
    • David Brownell's avatar
      musb_hdrc: cleanup, mostly related to CPPI · e9b7cce8
      David Brownell authored
       - Remove #ifdefs in favor of new is_cppi_enabled() macro.
       - Trim some tx-start logic, inlining it and removing MGC_{Read,Write}Csr16()
       - Remove remnant of bogus/non-existent host-side ISO bitfield.
      
      For upstream merging, more such #ifdeffery still needs to be removed.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      e9b7cce8
    • David Brownell's avatar
      musb_hdrc: DaVinci-specific updates and cleanups · 5261debe
      David Brownell authored
       - Add header needed for DaVinci build.
       - Remove some partially obsolete comments.
       - Cleaner and more reproducible host side VBUS handling, including
         waiting for it to fall after powerdown on rmmod.
       - Tighten up various state machine transitions and diagnostics
      
      Plus removing some generic #ifdeffery.  The vbus updates make it work more like
      the TUSB code, and the cleanups etc make upstream merging more practical.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      5261debe
    • David Brownell's avatar
      musb_hdrc: add heuristic to make ethernet peripherals use RNDIS RX mode · 652bfff7
      David Brownell authored
      When you're willing to trust the USB host not to commit certain errors, the
      CPPI "rndis" RX mode can be used with the peripheral side g_ether driver.
      (In other cases, rndis rx mode tends to misbehave _very_ rudely ...)
      
      This patch adds a heuristic to detect when the safe scenario is likely, and
      a module parameter to disable the heuristic in contexts when it's likely
      to fail; for example, users of gadgetfs will likely need to disable it.
      
      This gave about a 60% improvement in throughput with CDC Ethernet (!!) and a
      slight reduction in CPU load.  That's measured with TTCP, which pushes a lot
      of full size Ethernet frames and thus can see three IRQs per packet reduced
      to just one, and also get I/O overlap when double buffering packets.  That is,
      net 10 MByte/sec sustained, using double buffering but no DMA transfer queues;
      it's unclear why TX is still just 6 MByte/sec.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      652bfff7
    • Komal Shah's avatar
      [PATCH] ARM: OMAP: Remove <linux/config.h> · 3ddf82bb
      Komal Shah authored
      <linux/config.h> automatically gets included by kbuild
      Signed-off-by: default avatarKomal Shah <komal_shah802003@yahoo.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      3ddf82bb
    • andrzej zaborowski's avatar
      [PATCH] ARM: OMAP: Palm Tungsten E board update · 64688c2d
      andrzej zaborowski authored
      General update of the board file for Palm Tungsten E. Registers the
      platform devices contained in the PDA (ROM chip, keypad, infra-red)
      and updates the configuration for USB and MMC, whose config values
      were previously guessed in most cases due to lack of documentation
      (and now are confirmed by a number of users). Macros for GPIO pins are
      moved to a file in include/asm-arm/arch-omap.
      Signed-off-by: default avatarAndrzej Zaborowski <balrog@zabor.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      64688c2d
    • andrzej zaborowski's avatar
      [PATCH] ARM: OMAP: correct misc 15xx and non-15xx platform code · 67755f3e
      andrzej zaborowski authored
      Disable accesses to SOFT_REQ_REG2 and ULPD_SOFT_DISABLE_REQ_REG
      registers for 15xx processors that don't have these registers. Enable
      level 2 interrupt handler for processors that identify as OMAP 15xx
      (e.g 310) and not 1510 specifically. Also fix the following compiler
      warning (only visible with CONFIG_OMAP_RESET_CLOCKS):
      
      arch/arm/mach-omap1/clock.c: In function 'omap1_clk_disable_unused':
      arch/arm/mach-omap1/clock.c:634: warning: 'return' with a value, in
      function returning void
      Signed-off-by: default avatarAndrzej Zaborowski <balrog@zabor.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      67755f3e
    • Tony Lindgren's avatar
      cd12de1f
  2. 25 Sep, 2006 8 commits
  3. 21 Sep, 2006 17 commits
  4. 20 Sep, 2006 5 commits
  5. 19 Sep, 2006 2 commits