1. 21 5月, 2010 3 次提交
    • A
      USB: straighten out port feature vs. port status usage · 749da5f8
      Alan Stern 提交于
      This patch (as1349b) clears up the confusion in many USB host
      controller drivers between port features and port statuses.  In mosty
      cases it's true that the status bit is in the position given by the
      corresponding feature value, but that's not always true and it's not
      guaranteed in the USB spec.
      
      There's no functional change, just replacing expressions of the form
      (1 << USB_PORT_FEAT_x) with USB_PORT_STAT_x, which has the same value.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      749da5f8
    • A
      USB: remove bogus USB_PORT_FEAT_*_SPEED symbols · 288ead45
      Alan Stern 提交于
      This patch (as1348) removes the bogus
      USB_PORT_FEAT_{HIGHSPEED,SUPERSPEED} symbols from ch11.h.  No such
      features are defined by the USB spec.  (There is a PORT_LOWSPEED
      feature, but the spec doesn't mention it except to say that host
      software should never use it.)  The speed indicators are port
      statuses, not port features.
      
      As a temporary workaround for the xhci-hcd driver, a fictional
      USB_PORT_STAT_SUPER_SPEED symbol is added.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      CC: Sarah Sharp <sarah.a.sharp@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      288ead45
    • E
      USB: make hcd.h public (drivers dependency) · 27729aad
      Eric Lescouet 提交于
      The usbcore headers: hcd.h and hub.h are shared between usbcore,
      HCDs and a couple of other drivers (e.g. USBIP modules).
      So, it makes sense to move them into a more public location and
      to cleanup dependency of those modules on kernel internal headers.
      This patch moves hcd.h from drivers/usb/core into include/linux/usb/
      Signed-of-by: NEric Lescouet <eric@lescouet.org>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      27729aad
  2. 03 3月, 2010 1 次提交
    • C
      USB: isp1760: Flush the D-cache for the pipe-in transfer buffers · db8516f6
      Catalin Marinas 提交于
      When the HDC driver writes the data to the transfer buffers it pollutes
      the D-cache (unlike DMA drivers where the device writes the data). If
      the corresponding pages get mapped into user space, there are no
      additional cache flushing operations performed and this causes random
      user space faults on architectures with separate I and D caches
      (Harvard) or those with aliasing D-cache.
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      Cc: Matthew Dharm <mdharm-kernel@one-eyed-alien.net>
      Cc: Greg KH <greg@kroah.com>
      Cc: Sebastian Siewior <bigeasy@linutronix.de>
      Cc: Oliver Neukum <oliver@neukum.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      db8516f6
  3. 21 1月, 2010 1 次提交
  4. 23 9月, 2009 1 次提交
  5. 29 5月, 2009 1 次提交
    • W
      USB: isp1760: urb_dequeue doesn't always find the urbs · 0afb20e0
      Warren Free 提交于
      The option driver (and presumably others) allocates several URBs when it
      opens and tries to free them when it closes. The isp1760_urb_dequeue
      function gets called, but the packet being dequeued is not necessarily at
      the
      front of one of the 32 queues. If not, the isp1760_urb_done function doesn't
      get called for the URB and the process trying to free it hangs forever on a
      wait_queue. This patch does two things. If the URB being dequeued has others
      queued behind it, it re-queues them. And it searches the queues looking for
      the URB being dequeued rather than just looking at the one at the front of
      the queue.
      
      [bigeasy@linutronix] whitespace fixes, reformating
      
      Cc: stable <stable@kernel.org>
      Signed-off-by: NWarren Free <wfree@ipmn.com>
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0afb20e0
  6. 25 3月, 2009 3 次提交
  7. 08 1月, 2009 1 次提交
  8. 22 8月, 2008 1 次提交
  9. 14 8月, 2008 3 次提交
  10. 22 7月, 2008 4 次提交
  11. 12 6月, 2008 1 次提交
  12. 15 5月, 2008 1 次提交
  13. 03 5月, 2008 1 次提交