Permalink
Switch branches/tags
Commits on May 2, 2008
  1. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/viro/vfs-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
      [PATCH] fix sysctl_nr_open bugs
      [PATCH] sanitize anon_inode_getfd()
      [PATCH] split linux/file.h
      [PATCH] make osf_select() use core_sys_select()
      [PATCH] remove horrors with irix tty ioctls handling
      [PATCH] fix file and descriptor handling in perfmon
    torvalds committed May 2, 2008
  2. Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6

    * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (32 commits)
      USB GADGET/PERIPHERAL: g_file_storage Bulk-Only Transport compliance, clear-feature ignore
      USB GADGET/PERIPHERAL: g_file_storage Bulk-Only Transport compliance
      usb_serial: some coding style fixes
      USB: Remove redundant dependencies on USB_ATM.
      USB: UHCI: disable remote wakeup when it's not needed
      USB: OHCI: work around bogus compiler warning
      USB: add Cypress c67x00 OTG controller HCD driver
      USB: add Cypress c67x00 OTG controller core driver
      USB: add Cypress c67x00 low level interface code
      USB: airprime: unlock mutex instead of trying to lock it again
      USB: storage: Update mailling list address
      USB: storage: UNUSUAL_DEVS() for PanDigital Picture frame.
      USB: Add the USB 2.0 extension descriptor.
      USB: add more FTDI device ids
      USB: fix cannot work usb storage when using ohci-sm501
      usb: gadget zero timer init fix
      usb: gadget zero style fixups (mostly whitespace)
      usb serial gadget: CDC ACM fixes
      usb: pxa27x_udc driver
      USB: INTOVA Pixtreme camera mass storage device
      ...
    torvalds committed May 2, 2008
  3. Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6

    * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6:
      driver-core: add dev_name() to help transition away from using bus_id
    torvalds committed May 2, 2008
  4. USB GADGET/PERIPHERAL: g_file_storage Bulk-Only Transport compliance,…

    … clear-feature ignore
    
    Gadget tells controller driver to ignore Clear-Feature(HALT_ENDPOINT)
    
    Signed-off-by: David Lopo <lopo.david@gmail.com>
    Acked-by: Alan Stern <stern@rowland.harvard.edu>
    David Lopo committed with gregkh Apr 29, 2008
  5. USB GADGET/PERIPHERAL: g_file_storage Bulk-Only Transport compliance

    Gadget can tell controller driver to ignore Clear-Feature(HALT_ENDPOINT)
    This API change enables future support for Bulk-Only Transport compliance
    
    Signed-off-by: David Lopo <lopo.david@gmail.com>
    Acked-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    David Lopo committed with gregkh Apr 29, 2008
  6. usb_serial: some coding style fixes

    Signed-off-by: Alan Cox <alan@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Alan-Cox committed with gregkh Apr 29, 2008
  7. USB: Remove redundant dependencies on USB_ATM.

    Given that the bulk of the Kconfig file is enclosed in "if USB_ATM",
    remove the unnecessary dependencies.
    
    Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    rpjday committed with gregkh Apr 25, 2008
  8. USB: UHCI: disable remote wakeup when it's not needed

    This patch (as1084b) fixes the way uhci-hcd handles polling and
    remote wakeups for its root hubs.  When remote wakeup is disabled,
    neither interrupts nor polling should be enabled during a root-hub
    suspend.  Likewise, if interrupts are enabled during suspend then
    polling isn't needed.
    
    Furthermore the EGSM (Enter Global Suspend Mode) bit shouldn't be set
    in the Command register unless remote wakeup is enabled.  Apparently
    some controllers will issue a remote-wakeup interrupt whenever EGSM
    is on, even if Resume-Detect interrupts are supposedly disabled.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Alan Stern committed with gregkh Apr 22, 2008
  9. USB: OHCI: work around bogus compiler warning

    The patch (as1086) works around a bogus "uninitialized variable"
    warning generated by some versions of GCC.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Alan Stern committed with gregkh Apr 22, 2008
  10. USB: add Cypress c67x00 OTG controller HCD driver

    This patch adds HCD support for the Cypress c67x00 family of devices.
    
    Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    jacmet committed with gregkh Apr 27, 2008
  11. USB: add Cypress c67x00 OTG controller core driver

    This patch add the core driver for the c67x00 USB OTG controller.  The core
    driver is responsible for the platform bus binding and creating either
    USB HCD or USB Gadget instances for each of the serial interface engines
    on the chip.
    
    This driver does not directly implement the HCD or gadget behaviours; it
    just controls access to the chip.
    
    Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    jacmet committed with gregkh Apr 27, 2008
  12. USB: add Cypress c67x00 low level interface code

    This patch adds the low level support code for the Cypress c67x00 family of
    OTG controllers.  The low level code is responsible for register access and
    implements the software protocol for communicating with the 16bit
    microcontroller inside the c67x00 device.
    
    Communication is done over the HPI interface (16bit SRAM-like parallel bus).
    
    Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    jacmet committed with gregkh Apr 27, 2008
  13. USB: airprime: unlock mutex instead of trying to lock it again

    The following patch fixes a [probable] copy & paste mistake in
    airprime.c. Instead of unlocking an acquired mutex, the actual
    code tries to lock it again.
    
    Signed-off-by: Leonardo Chiquitto <lchiquitto@novell.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    lchiquitto committed with gregkh Apr 22, 2008
  14. USB: storage: Update mailling list address

    drivers/usb/storage/unusual_devs.h lists the address
    linux-usb-devel@lists.sourceforge.net for patches to that file. This
    address results in a bounce and a pointer to vger. This patch updates
    the address in the header file.
    
    Signed-off-by: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    lunn committed with gregkh Apr 23, 2008
  15. USB: storage: UNUSUAL_DEVS() for PanDigital Picture frame.

    Signed-off-by: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    lunn committed with gregkh Apr 24, 2008
  16. USB: Add the USB 2.0 extension descriptor.

    This device descriptor was added by the recent USB Link Power Management (LPM)
    ECN.  It indicates whether the USB device supports LPM.
    
    This descriptor is grouped under a Binary Device Object Store (BOS) descriptor.
    Update the BOS comments to indicate any USB device (not just wireless USB
    devices) can implement BOS descriptors.
    
    Signed-off-by: Sarah Sharp <sarah.a.sharp@intel.com>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    sarahsharp committed with gregkh Apr 25, 2008
  17. USB: add more FTDI device ids

    Add more usb device ids to the ftdi driver.
    
    From: Peter Mack <Peter.Mack@scs-ptc.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Peter Mack committed with gregkh Apr 22, 2008
  18. USB: fix cannot work usb storage when using ohci-sm501

    When I used ohci-sm501, hcd_alloc_coherent() in map_urb_for_dma() is not
    called, because usb_sg_init() always sets URB_NO_TRANSFER_DMA_MAP.
    
    dmesg (CONFIG_USB_STORAGE_DEBUG enabled):
    
    usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6
    usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
    usb-storage: Status code 0; transferred 31/31
    usb-storage: -- transfer complete
    usb-storage: Bulk command transfer result=0
    usb-storage: usb_stor_bulk_transfer_sglist: xfer 36 bytes, 1 entries
    usb-storage: Status code -75; transferred 0/36
    usb-storage: -- babble
    usb-storage: Bulk data transfer result 0x3
    usb-storage: Attempting to get CSW...
    usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
    usb-storage: Status code 0; transferred 13/13
    usb-storage: -- transfer complete
    usb-storage: Bulk status result = 0
    usb-storage: Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0
    usb-storage: scsi cmd done, result=0x2
    
    Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Yoshihiro Shimoda committed with gregkh Apr 21, 2008
  19. usb: gadget zero timer init fix

    Initialize timer earlier so if an error occurs allocating USB request
    or buffer request (zero_bind) Gadget Zero will not hang trying to
    delete an uninitialized timer (zero_unbind).
    
    Signed-off-by: David Lopo <lopo.david@gmail.com>
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    David Lopo committed with gregkh Apr 19, 2008
  20. usb: gadget zero style fixups (mostly whitespace)

    Minor updates to "Gadget Zero".
    
     - Primarily these are whitespace updates to address the fact that since
       this was written, Documentation/CodingStyle was changed to disapprove
       of parts of the original coding style.
    
     - Update a few comments that weren't quite correct, notably mentioning
       the "autoresume" module parameter.
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    David Brownell committed with gregkh Apr 19, 2008
  21. usb serial gadget: CDC ACM fixes

    Based on a patch from <Aurel.Thomi@ruag.com>, this makes the
    CDC-ACM support in the serial gadget handle the SET_LINE_CODING
    and SET_CONTROL_LINE_STATE requests ... which should improve
    interop with at least MS-Windows "usbser.sys" if not some other
    ACM host drivers.
    
    It also adds a few REVISIT comments where this code plays a bit
    loose with the CDC ACM spec.  If this were used to hook up to a
    real RS232 or modem link, those places would need a bit of work.
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    David Brownell committed with gregkh Apr 19, 2008
  22. usb: pxa27x_udc driver

    Adds pxa27x udc driver to support USB peripherals on pxa27x chips.
    
    The driver is compatible with: Gadget Zero, the File Storage
    gadget, and the Ethernet gadget (only in CDC subset mode).
    
    The driver can't properly support multiple interfaces, because
    of hardware bugs without possible workaround.  That means no
    RNDIS support from g_ether, and no CDC ACM support in g_serial.
    
    Signed-off-by: Robert Jarzmik <rjarzmik@free.fr>
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Robert Jarzmik committed with gregkh Apr 18, 2008
  23. USB: INTOVA Pixtreme camera mass storage device

    FIX_CAPACITY is all that's needed.
    
    
    Cc: Alan Stern <stern@rowland.harvard.edu>
    Cc: Phil Dibowitz <phil@ipom.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    RohanHart committed with gregkh Apr 18, 2008
  24. USB: mos7840: test and propagate set_uart_reg return value

    The test for an mos7840_set_uart_reg() error return value only works when
    status is signed. propagate its error value.
    
    Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
    Cc: SL Baur <steve@xemacs.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Roel Kluin committed with gregkh Apr 17, 2008
  25. USB: usbtest displays diagnostics again

    Minor cleanup to the "usbtest" driver, mostly to resolve a regression:
    all the important diagnostics were at KERN_DEBUG, so that when the
    "#define DEBUG" was removed from the top of that file it stopped
    providing diagnostics.  Fix by using KERN_ERROR.  Also:
    
     - Stop using the legacy dbg() calls
     - Simplify the internal debug macros
     - Correct some test descriptions:
    	* Test #10 subcase 7 should *always* stall
    	* Test #10 subcase 8 *may* stall
     - Diagnostic about control queue test failures is more informative
     - Fix some whitespace "bugs"
    
    And add a warning about the rude interaction between usbfs ioctl()
    and khubd during device disconnect ... don't unplug a device under
    test, that will wedge.
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    David Brownell committed with gregkh Apr 26, 2008
  26. ub: Cosmetics

    Fix a few comments and printk statements.
    
    Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Pete Zaitcev committed with gregkh Apr 19, 2008
  27. ub: Ignore bad residue

    I hoped to continue to ignore this problem or use libusual, but these
    days it's simpler to work around than to deal with it. Let's attempt to
    use bad residue devices and hope that upper level integrity checks catch
    any problems (e.g. please use sha1sum on your backups).
    
    Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Pete Zaitcev committed with gregkh Apr 19, 2008
  28. ub: Tune retries

    Make ub to fail faster in hopeless cases.
    
    Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Pete Zaitcev committed with gregkh Apr 19, 2008
  29. ub: Fix timeouts

    The wodim says:
    "close track/session scsi sendcmd: cmd timeout after 5.000 (480) s"
    This happened because we ignored the supplied timeout and used 5s.
    
    It's not completely correct to apply a timeout meant for the complete
    command to any single URB, but we don't have many URBs per command, so
    this is simple and works.
    
    Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Pete Zaitcev committed with gregkh Apr 19, 2008
  30. usb: libusual kthread_run() called with wrong format.

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    rustyrussell committed with gregkh Apr 20, 2008
  31. usb-storage: add unusual_devs entry for Samsung YP-U3

    This patch (as1088) adds an unusual_devs entry for Samsung's YP-U3.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Cc: Phil Dibowitz <phil@ipom.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Alan Stern committed with gregkh Apr 28, 2008
  32. USB: storage/onetouch.c: make a function static

    This patch makes the needlessly global onetouch_release_input() static.
    
    Signed-off-by: Adrian Bunk <bunk@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Adrian Bunk committed with gregkh Apr 28, 2008
  33. usb-storage: fix build failure in OneTouch driver

    If USB storage is built-in but input subsystem is made modular then
    OneTouch button functionality can not be selected.
    
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
    Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    dtor committed with gregkh Apr 28, 2008
  34. usb: ldusb: ld_usb semaphore to mutex

    Signed-off-by: Daniel Walker <dwalker@mvista.com>
    Acked-by: Matthew Wilcox <willy@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Daniel Walker committed with gregkh Apr 28, 2008
  35. USB: ISP1760 HCD driver

    This driver has been written from scratch and supports the ISP1760. ISP1761
    might (should) work as well but the OTG isn't supported. Also ISO packets are
    not. However, it works on my little PowerPC board.
    
    Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Sebastian Siewior committed with gregkh Apr 23, 2008