09 Jan, 2014

1 commit


04 Jan, 2014

1 commit


01 Nov, 2012

1 commit

  • Remove all MODULE_VERSION macros and driver-version information (except
    for garmin_gps which uses it in a status reply).

    It is the kernel version that matters and not some private version
    scheme which rarely even gets updated.

    Signed-off-by: Johan Hovold
    Signed-off-by: Greg Kroah-Hartman

    Johan Hovold
     

15 Sep, 2012

1 commit


16 May, 2012

1 commit

  • dbg() is a usb-serial specific macro. This patch converts
    the ipaq.c driver to use dev_dbg() instead to tie into the
    dynamic debug infrastructure.

    CC: Rusty Russell
    CC: Johan Hovold
    CC: Alan Stern
    CC: Mauro Carvalho Chehab
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

09 May, 2012

1 commit

  • This reworks the usb_serial_register_drivers() and
    usb_serial_deregister_drivers() to not need a pointer to a struct
    usb_driver anymore. The usb_driver structure is now created dynamically
    and registered and unregistered as needed.

    This saves lines of code in each usb-serial driver. All in-kernel users
    of these functions were also fixed up at this time. The pl2303 driver
    was tested that everything worked properly.

    Thanks for the idea to do this from Alan Stern.

    Cc: Adhir Ramjiawan
    Cc: Alan Stern
    Cc: Al Borchers
    Cc: Aleksey Babahin
    Cc: Andrew Morton
    Cc: Andrew Worsley
    Cc: Bart Hartgers
    Cc: Bill Pemberton
    Cc: Dan Carpenter
    Cc: Dan Williams
    Cc: Donald Lee
    Cc: Eric Dumazet
    Cc: "Eric W. Biederman"
    Cc: Felipe Balbi
    Cc: Gary Brubaker
    Cc: Jesper Juhl
    Cc: Jiri Kosina
    Cc: Johan Hovold
    Cc: Julia Lawall
    Cc: Kautuk Consul
    Cc: Kuninori Morimoto
    Cc: Lonnie Mendez
    Cc: Matthias Bruestle and Harald Welte
    Cc: Matthias Urlichs
    Cc: Mauro Carvalho Chehab
    Cc: Michal Sroczynski
    Cc: "Michał Wróbel"
    Cc: Oliver Neukum
    Cc: Paul Gortmaker
    Cc: Peter Berger
    Cc: Preston Fick
    Cc: "Rafael J. Wysocki"
    Cc: Rigbert Hamisch
    Cc: Rusty Russell
    Cc: Simon Arlott
    Cc: Support Department
    Cc: Thomas Tuttle
    Cc: Uwe Bonnes
    Cc: Wang YanQing
    Cc: William Greathouse
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

08 May, 2012

2 commits

  • This is now set by the usb-serial core, no need for the driver to
    individually set it.

    Thanks to Alan Stern for the idea to get rid of it.

    Cc: William Greathouse
    Cc: Matthias Bruestle and Harald Welte
    Cc: Lonnie Mendez
    Cc: Peter Berger
    Cc: Al Borchers
    Cc: Gary Brubaker
    Cc: Oliver Neukum
    Cc: Matthias Urlichs
    Cc: Support Department
    Cc: Rusty Russell
    Cc: Alan Stern
    Cc: Mauro Carvalho Chehab
    Cc: Kautuk Consul
    Cc: Bill Pemberton
    Cc: Paul Gortmaker
    Cc: Bart Hartgers
    Cc: Johan Hovold
    Cc: Preston Fick
    Cc: Uwe Bonnes
    Cc: Simon Arlott
    Cc: Andrew Worsley
    Cc: "Michał Wróbel"
    Cc: Andrew Morton
    Cc: Eric Dumazet
    Cc: "Eric W. Biederman"
    Cc: Felipe Balbi
    Cc: Aleksey Babahin
    Cc: Dan Carpenter
    Cc: Jiri Kosina
    Cc: Donald Lee
    Cc: Julia Lawall
    Cc: Michal Sroczynski
    Cc: Wang YanQing
    Cc: Dan Williams
    Cc: Thomas Tuttle
    Cc: Rigbert Hamisch
    Cc: "Rafael J. Wysocki"
    Cc: Kuninori Morimoto
    Cc: Jesper Juhl
    Cc: Adhir Ramjiawan
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • This is now set by the usb-serial core, no need for the driver to
    individually set it.

    Thanks to Alan Stern for the idea to get rid of it.

    Cc: William Greathouse
    Cc: Matthias Bruestle and Harald Welte
    Cc: Lonnie Mendez
    Cc: Peter Berger
    Cc: Al Borchers
    Cc: Gary Brubaker
    Cc: Oliver Neukum
    Cc: Matthias Urlichs
    Cc: Support Department
    Cc: Rusty Russell
    Cc: Alan Stern
    Cc: Mauro Carvalho Chehab
    Cc: Kautuk Consul
    Cc: Bill Pemberton
    Cc: Paul Gortmaker
    Cc: Bart Hartgers
    Cc: Johan Hovold
    Cc: Preston Fick
    Cc: Uwe Bonnes
    Cc: Simon Arlott
    Cc: Andrew Worsley
    Cc: "Michał Wróbel"
    Cc: Andrew Morton
    Cc: Eric Dumazet
    Cc: "Eric W. Biederman"
    Cc: Felipe Balbi
    Cc: Aleksey Babahin
    Cc: Dan Carpenter
    Cc: Jiri Kosina
    Cc: Donald Lee
    Cc: Julia Lawall
    Cc: Michal Sroczynski
    Cc: Wang YanQing
    Cc: Dan Williams
    Cc: Thomas Tuttle
    Cc: Rigbert Hamisch
    Cc: "Rafael J. Wysocki"
    Cc: Kuninori Morimoto
    Cc: Jesper Juhl
    Cc: Adhir Ramjiawan
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

04 May, 2012

1 commit


20 Apr, 2012

2 commits


25 Feb, 2012

1 commit


13 Jan, 2012

1 commit


16 Nov, 2011

1 commit


11 Aug, 2010

1 commit


21 May, 2010

2 commits

  • Kill custom fifo, read and write implementations (single-urb and fifo,
    but still maintained list of 256*256b urb buffers per port).

    Compile-only tested.

    Signed-off-by: Johan Hovold
    Signed-off-by: Greg Kroah-Hartman

    Johan Hovold
     
  • Allow drivers to define custom bulk in/out buffer sizes in struct
    usb_serial_driver. If not set, fall back to the default buffer size
    which matches the endpoint size.

    Three drivers are currently freeing the pre-allocated buffers and
    allocating larger ones to achieve this at port probe (ftdi_sio) or even
    at port open (ipaq and iuu_phoenix), which needless to say is suboptimal.

    Signed-off-by: Johan Hovold
    Signed-off-by: Greg Kroah-Hartman

    Johan Hovold
     

03 Mar, 2010

1 commit


10 Oct, 2009

1 commit

  • This patch (as1293) fixes a problem with the ipaq serial driver. It
    tries to bind to all the interfaces, even those that don't have enough
    endpoints. The symptom is an invalid memory reference and oops when
    the device is plugged in.

    Signed-off-by: Alan Stern
    CC: stable
    Tested-by: Matthias Geissert
    Tested-by: Tilman Schmidt
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     

20 Sep, 2009

1 commit


16 Jun, 2009

1 commit

  • This patch (as1254) splits up the shutdown method of usb_serial_driver
    into a disconnect and a release method.

    The problem is that the usb-serial core was calling shutdown during
    disconnect handling, but drivers didn't expect it to be called until
    after all the open file references had been closed. The result was an
    oops when the close method tried to use memory that had been
    deallocated by shutdown.

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

    Alan Stern
     

11 Jun, 2009

1 commit

  • This allows us to clean stuff up, but is probably also going to cause
    some app breakage with buggy apps as we now implement proper POSIX behaviour
    for USB ports matching all the other ports. This does also mean other apps
    that break on USB will now work properly.

    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Alan Cox
     

24 Apr, 2009

1 commit


25 Mar, 2009

1 commit

  • The ipaq driver currently enforces one port on all devices. This
    is correct for 2 and 3 endpoint devices, but with 4 endpoint devices
    meaningful communication occurs on the second pair.

    This patch allows 2 ports for 4 endpoint devices.

    Signed-off-by: Mark Ellis
    Signed-off-by: Greg Kroah-Hartman

    Mark Ellis
     

18 Oct, 2008

2 commits


14 Oct, 2008

1 commit

  • Use kref in the USB serial drivers so that we don't free tty structures
    from under the URB receive handlers as has historically been the case if
    you were unlucky. This also gives us a framework for general tty drivers to
    use tty_port objects and refcount.

    Contains two err->dev_err changes merged together to fix clashes in the
    -next tree.

    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Alan Cox
     

27 Jul, 2008

1 commit


23 Jul, 2008

2 commits

  • Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • USB serial likes to use port->tty back pointers for the real work it does and
    to do so without any actual locking. Unfortunately when you consider hangup
    events, hangup/parallel reopen or even worse hangup followed by parallel close
    events the tty->port and port->tty pointers are not guaranteed to be the same
    as port->tty is the active tty while tty->port is the port the tty may or
    may not still be attached to.

    So rework the entire API to pass the tty struct. For console cases we need
    to pass both for now. This shows up multiple drivers that immediately crash
    with USB console some of which have been fixed in the process.

    Longer term we need a proper tty as console abstraction

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Linus Torvalds

    Alan Cox
     

22 Jul, 2008

1 commit


04 Jul, 2008

2 commits


25 Apr, 2008

4 commits


20 Oct, 2007

1 commit

  • * Convert files to UTF-8.

    * Also correct some people's names
    (one example is Eißfeldt, which was found in a source file.
    Given that the author used an ß at all in a source file
    indicates that the real name has in fact a 'ß' and not an 'ss',
    which is commonly used as a substitute for 'ß' when limited to
    7bit.)

    * Correct town names (Goettingen -> Göttingen)

    * Update Eberhard Mönkeberg's address (http://lkml.org/lkml/2007/1/8/313)

    Signed-off-by: Jan Engelhardt
    Signed-off-by: Adrian Bunk

    Jan Engelhardt
     

13 Oct, 2007

2 commits