1. 21 5月, 2010 2 次提交
  2. 03 3月, 2010 1 次提交
  3. 16 12月, 2009 1 次提交
  4. 23 9月, 2009 1 次提交
  5. 13 7月, 2009 1 次提交
  6. 16 6月, 2009 1 次提交
    • A
      USB: EHCI: update toggle state for linked QHs · b18ffd49
      Alan Stern 提交于
      This patch (as1245) fixes a bug in ehci-hcd.  When an URB is queued
      for an endpoint whose QH is already in the LINKED state, the QH
      doesn't get refreshed.  As a result, if usb_clear_halt() was called
      during the time that the QH was linked but idle, the data toggle value
      in the QH doesn't get reset.
      
      The symptom is that after a clear_halt, data gets lost and transfers
      time out.  This problem is starting to show up now because the
      "ehci-hcd unlink speedups" patch causes QHs with no queued URBs to
      remain linked for a suitable time.
      
      The patch utilizes the new endpoint_reset mechanism to fix the
      problem.  When an endpoint is reset, the new method forcibly unlinks
      the QH (if necessary) and safely updates the toggle value.  This
      allows qh_update() to be simplified and avoids using usb_device's
      toggle bits in a rather unintuitive way.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      CC: David Brownell <david-b@pacbell.net>
      Tested-by: NDavid <david@unsolicited.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b18ffd49
  7. 22 7月, 2008 2 次提交
  8. 30 5月, 2008 1 次提交
    • A
      USB: EHCI: suppress unwanted error messages · 3a31155c
      Alan Stern 提交于
      This patch (as1096) fixes an annoying problem: When a full-speed or
      low-speed device is plugged into an EHCI controller, it fails to
      enumerate at high speed and then is handed over to the companion
      controller.  But usbcore logs a misleading and unwanted error message
      when the high-speed enumeration fails.
      
      The patch adds a new HCD method, port_handed_over, which asks whether
      a port has been handed over to a companion controller.  If it has, the
      error message is suppressed.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      CC: David Brownell <david-b@pacbell.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      3a31155c
  9. 25 4月, 2008 1 次提交
    • D
      USB: ehci minor SOC bus glue fixes · 135db048
      David Brownell 提交于
      Various minor fixes to some SOC bus glue for EHCI:
      
       - Remove a bogus copyright (by "me"!) which someone added to the FSL
         driver, and an irrelevant comment.
      
       - Un-break MODULE_ALIAS() directives after platform_bus hotplugging
         acquired a backwards-incompatible change.  (Which didn't fix ANY
         of the in-tree drivers it prevented from hotplugging -- sigh.)
      
       - Remove some bogus assignments of platform_bus_type; that's done by
         the platform_bus code.
      
       - Add some FIXMEs for drivers with that pointless two-level idiom for
         probe() and remove() routines.  ("Obfuscation" is a non-goal.)
         That should help avoid future bus glue which copies that idiom.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      135db048
  10. 02 2月, 2008 1 次提交
  11. 13 10月, 2007 1 次提交
  12. 23 8月, 2007 1 次提交
  13. 28 9月, 2006 1 次提交
    • A
      USB: Properly unregister reboot notifier in case of failure in ehci hcd · 64a21d02
      Aleksey Gorelov 提交于
      If some problem occurs during ehci startup, for instance, request_irq fails,
      echi hcd driver tries it best to cleanup, but fails to unregister reboot
      notifier, which in turn leads to crash on reboot/poweroff.
      
      The following patch resolves this problem by not using reboot notifiers
      anymore, but instead making ehci/ohci driver get its own shutdown method.  For
      PCI, it is done through pci glue, for everything else through platform driver
      glue.
      
      One downside: sa1111 does not use platform driver stuff, and does not have its
      own shutdown hook, so no 'shutdown' is called for it now.  I'm not sure if it
      is really necessary on that platform, though.
      Signed-off-by: NAleks Gorelov <dared1st@yahoo.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      64a21d02
  14. 13 7月, 2006 1 次提交
    • D
      [PATCH] USB: au1200: EHCI and OHCI fixes · d14feb5e
      Daniel Mack 提交于
      I received an DBAU1200 eval kit from AMD a few days ago and tried to
      enable the USB2 port, but the current linux-2.6 GIT did not even
      compile with CONFIG_SOC_1200, CONFIG_SOC_AU1X00, CONFIG_USB_EHCI and
      CONFIG_USB_OHCI set.
      Furthermore, in ehci-hcd.c, platform_driver_register() was called with
      an improper argument of type 'struct device_driver *' which of course
      ended up in a kernel oops. How could that ever have worked on your
      machines?
      
      Anyway, here's a trivial patch that makes the USB subsystem working
      on my board for both OHCI and EHCI.
      It also removes the /* FIXME use "struct platform_driver" */.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Acked-by: NDavid Brownell <david-b@pacbell.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d14feb5e
  15. 03 7月, 2006 1 次提交
  16. 22 6月, 2006 2 次提交
  17. 21 3月, 2006 1 次提交