28 Oct, 2008

1 commit

  • A number of places still use %02x:...:%02x because it's
    in debug statements or for no real reason. Make a few
    of them use %pM.

    Signed-off-by: Johannes Berg
    Signed-off-by: David S. Miller

    Johannes Berg
     

23 Oct, 2008

1 commit

  • This patch (as1150) fixes a problem in the speedtch driver. When it
    resets the modem during probe it will be unbound from the other
    interfaces it has claimed, because it doesn't define a pre_reset and a
    post_reset method.

    The patch defines "do-nothing" methods. This fixes Bugzilla #11767.

    Signed-off-by: Alan Stern
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     

18 Oct, 2008

1 commit


23 Sep, 2008

1 commit


24 Aug, 2008

1 commit


14 Aug, 2008

1 commit


22 Jul, 2008

2 commits


10 Jul, 2008

2 commits


03 May, 2008

1 commit


29 Apr, 2008

2 commits


25 Apr, 2008

3 commits


19 Apr, 2008

1 commit


02 Feb, 2008

3 commits


15 Oct, 2007

1 commit


13 Oct, 2007

8 commits

  • When an error occurs, existing logging uses dbg() so the cause of a
    problem is hard to determine. Error conditions shouldn't only be
    properly reported with debugging enabled.

    A side effect of this change is that when an uninitialised device is
    started, a log message similar to the following is sent:
    cxacru 5-2:1.0: receive of cm 0x90 failed (-104)
    This is normal - the device did not respond so firmware will be loaded.

    Signed-off-by: Simon Arlott
    Acked-by: Duncan Sands
    Signed-off-by: Greg Kroah-Hartman

    Simon Arlott
     
  • Update copyrights and remove not necessary warning (ueagle-atm works
    well on suspend/resume).

    Signed-off-by: Stanislaw Gruszka
    Signed-off-by: Greg Kroah-Hartman

    Stanislaw Gruszka
     
  • Do not sleep in kernel thread when device is disconnected, this make faster
    suspending and module unloading. Use one wait queue for sleeping.

    Signed-off-by: Stanislaw Gruszka
    Signed-off-by: Greg Kroah-Hartman

    Stanislaw Gruszka
     
  • Ueagle-atm driver load DSP firmware in function, which is running from
    common workqueue. In some (error) circumstances loading firmware may
    sleep for long periods (even 60 seconds, depending on timeout). This
    block keyboard driver, which also use common workqueue. To fix problem
    use custom workqueue in ueagle-atm.

    Signed-off-by: Stanislaw Gruszka
    Signed-off-by: Greg Kroah-Hartman

    Stanislaw Gruszka
     
  • Let's user control how much USB bus bandwidth will be reserved by
    ueagle-atm device. This make possible to share bus with other devices
    when ueagle-atm driver works in isochronous mode.

    Signed-off-by: Stanislaw Gruszka
    Signed-off-by: Greg Kroah-Hartman

    Stanislaw Gruszka
     
  • Support for Devolo and Elsa chipsets. These chipsets have no information
    about ADSL annex (line type) encoded in USB descriptors. Driver try to
    get this information from USB VID and PID or it can be explicitly set by
    the user through module parameter. Thanks to Johann Hanne, whose make
    most of this patch.

    Signed-off-by: Stanislaw Gruszka
    Signed-off-by: Greg Kroah-Hartman

    Stanislaw Gruszka
     
  • Add support to newest chipset of eagle family. It is compatible with
    older chipsets at USB level. However DSP firmware and CMVs
    (Configuration and Management Variables) have different format of data
    and are sent/received by different way.

    Signed-off-by: Stanislaw Gruszka
    Signed-off-by: Greg Kroah-Hartman

    Stanislaw Gruszka
     
  • This trivial patch removes the unneeded pointer intf returned from
    usb_ifnum_to_if(), which is never used. The check for NULL can be simply done
    by if (!usb_ifnum_to_if(usb_dev, 2)).

    Signed-off-by: Micah Gruber
    Signed-off-by: Greg Kroah-Hartman

    Micah Gruber
     

23 Aug, 2007

2 commits


20 Jul, 2007

4 commits


18 Jul, 2007

1 commit

  • Currently, the freezer treats all tasks as freezable, except for the kernel
    threads that explicitly set the PF_NOFREEZE flag for themselves. This
    approach is problematic, since it requires every kernel thread to either
    set PF_NOFREEZE explicitly, or call try_to_freeze(), even if it doesn't
    care for the freezing of tasks at all.

    It seems better to only require the kernel threads that want to or need to
    be frozen to use some freezer-related code and to remove any
    freezer-related code from the other (nonfreezable) kernel threads, which is
    done in this patch.

    The patch causes all kernel threads to be nonfreezable by default (ie. to
    have PF_NOFREEZE set by default) and introduces the set_freezable()
    function that should be called by the freezable kernel threads in order to
    unset PF_NOFREEZE. It also makes all of the currently freezable kernel
    threads call set_freezable(), so it shouldn't cause any (intentional)
    change of behaviour to appear. Additionally, it updates documentation to
    describe the freezing of tasks more accurately.

    [akpm@linux-foundation.org: build fixes]
    Signed-off-by: Rafael J. Wysocki
    Acked-by: Nigel Cunningham
    Cc: Pavel Machek
    Cc: Oleg Nesterov
    Cc: Gautham R Shenoy
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     

13 Jul, 2007

1 commit

  • This changes the format of unknown status values to be less verbose and
    uses an array instead of several different snprintf calls. Since only
    enum values are assigned to it, poll_state is changed from int to enum.
    Use abs() for dB values instead of two almost identical return lines.

    Signed-off-by: Simon Arlott
    Acked-by: Duncan Sands
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Simon Arlott
     

09 Jun, 2007

2 commits

  • The sysfs adsl_status attribute ignores (aside from returning -EIO to the
    user) any error sending a START/STOP command to the device and there is at
    least one firmware which never sends a response but appears to work
    regardless. Therefore atm_start should also continue if an error is received
    so that such firmware is usable.

    The official Conexant driver doesn't expect a reply either but this is for
    another device (E2 router) and a commonly used firmware does respond.

    Also, there is no point in changing -ECONNRESET to -ETIMEDOUT since nothing
    ever checks for either of these values.

    Signed-off-by: Simon Arlott
    Cc: Duncan Sands
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Simon Arlott
     
  • Since usbatm doesn't set the usb_interface driver data until after calling
    bind and heavy_init, it would be NULL when the sysfs attributes are read.
    Reading the MAC address from atm_dev before atm_dev exists would have been
    be possible too.

    Calling create_device_file in atm_start will avoid this problem, and the
    data is useless until the first status poll runs. However, it must be
    ready before a status poll does a printk on line status change otherwise
    userspace could react before the files exist.

    For completeness I've moved remove_device_file to atm_stop so it's not
    called in unbind when it's not needed. There's no point starting ADSL if
    atm_start could still fail either.

    Signed-off-by: Simon Arlott
    Cc: Duncan Sands
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Simon Arlott
     

10 May, 2007

1 commit