28 Sep, 2006

1 commit

  • The purpose of this patch is to split off the case when a device does
    not reply on the lower level (which is reported by HC hardware), and
    a case when the device accepted the request, but does not reply at
    upper level. This redefinition allows to diagnose issues easier,
    without asking the user if the -110 happened "immediately".

    The usbmon splits such cases already thanks to its timestamp, but
    it's not always available.

    I adjusted all drivers which I found affected (by searching for "urb").
    Out of tree drivers may suffer a little bit, but I do not expect much
    breakage. At worst they may print a few messages.

    Signed-off-by: Pete Zaitcev
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev
     

05 Jan, 2006

1 commit

  • The attached patch makes a cleanup of isp116x-hcd. Most of the volume of
    the patch comes from 2 sources: moving the code around to get rid of a
    few function prototypes and reworking register dumping functions/macros.
    Among other things, switched over from using procfs to debugfs.

    Cleanup. The following changes were made:

    - Rework register dumping code so it can be used for dumping
    to both syslog and debugfs.
    - Switch from procfs to debugfs..
    - Die gracefully on Unrecoverable Error interrupt.
    - Fix memory leak in isp116x_urb_enqueue(), if HC happens to
    die in a narrow time window.
    - Fix a 'sparce' warning (unnecessary cast).
    - Report Devices Removable for root hub ports by default
    (was Devices Permanently Attached).
    - Move bus suspend/resume functions down in code to get rid of
    a few function prototypes.
    - A number of one-line cleanups.
    - Add an entry to MAINTAINERS.

    Signed-off-by: Olav Kongas
    Signed-off-by: Greg Kroah-Hartman

    MAINTAINERS | 6
    drivers/usb/host/isp116x-hcd.c | 429 ++++++++++++++++-------------------------
    drivers/usb/host/isp116x.h | 83 +++++--
    3 files changed, 230 insertions(+), 288 deletions(-)

    Olav Kongas
     

29 Oct, 2005

1 commit

  • This makes the isp116x driver stop using usb_suspend_device() and
    usb_resume_device() ... usbcore now calls to the root hub methods,
    removing the need for this. It also switches from keventd to khubd
    for remote wakeup. (Compile tested.)

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    drivers/usb/host/isp116x-hcd.c | 29 ++++-------------------------
    drivers/usb/host/isp116x.h | 1 -
    2 files changed, 4 insertions(+), 26 deletions(-)

    David Brownell
     

28 Jun, 2005

1 commit

  • This patch provides an "isp116x-hcd" driver for Philips'
    ISP1160/ISP1161 USB host controllers.

    The driver:
    - is relatively small, meant for use on embedded platforms.
    - runs usbtests 1-14 without problems for days.
    - has been in use by 6-7 different people on ARM and PPC platforms,
    running a range of devices including USB hubs.
    - supports suspend/resume of both the platform device and the root hub;
    supports remote wakeup of the root hub (but NOT the platform device)
    by USB devices.
    - does NOT support ISO transfers (nobody has asked for them).
    - is PIO-only.

    Signed-off-by: Olav Kongas
    Signed-off-by: Greg Kroah-Hartman

    Olav Kongas