09 Jan, 2014
1 commit
-
None of these files are actually using any __init type directives
and hence don't need to include . Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.Signed-off-by: Paul Gortmaker
Signed-off-by: Greg Kroah-Hartman
04 Jan, 2014
1 commit
-
Declare device-id tables as const where possible.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman
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
15 Sep, 2012
1 commit
-
Now that the dbg() macro is no longer being used in the driver,
the debug module parameter doesn't do anything at all. So remove
it so as to not confuse people.CC: Rusty Russell
CC: Johan Hovold
CC: Alan Stern
CC: Mauro Carvalho Chehab
Signed-off-by: Greg Kroah-Hartman
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
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
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 -
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
04 May, 2012
1 commit
-
dbg() was used a lot a long time ago to trace code flow. Now that we have
ftrace, this isn't needed at all, so remove these calls.CC: Rusty Russell
CC: Johan Hovold
CC: Alan Stern
CC: Mauro Carvalho Chehab
Signed-off-by: Greg Kroah-Hartman
20 Apr, 2012
2 commits
-
With the recent change to remove the module parameters from the ipaq
driver, we ended up with a duplicate id in the driver. This patch
removes it.Reported-by: Bjørn Mork
Signed-off-by: Greg Kroah-Hartman -
This driver is for devices that are no longer being made, so the ability
to add new device ids when loading the module is not a feature that
anyone uses anymore. So remove it, which simplifies the startup code a
lot, and saves space.If you still need to dynamically load device ids, that can be done
through sysfs.Signed-off-by: Greg Kroah-Hartman
25 Feb, 2012
1 commit
-
This patch (as1525) modifies the following usb-serial drivers to
utilize the new usb_serial_{de}register_drivers() routines:io_edgeport, io_ti, ipaq, ipw, ir-usb, and iuu_phoenix.
Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman
13 Jan, 2012
1 commit
-
module_param(bool) used to counter-intuitively take an int. In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.It's time to remove the int/unsigned int option. For this version
it'll simply give a warning, but it'll break next kernel version.Acked-by: Mauro Carvalho Chehab
Signed-off-by: Rusty Russell
16 Nov, 2011
1 commit
-
Remove remaining changelogs from file headers (can still be retrieved
through git).
Remove even older changelog entries stored in Changelog.history.
Remove outdated todo entries from belkin_sa.Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman
11 Aug, 2010
1 commit
-
ipaq already had this device id defined:
{ USB_DEVICE(0x0BB4, 0x00CF) }, /* HTC USB Modem */
Revert the commit which adds the duplicate entry.
This reverts commit 04cab1329336d4577d6638360c905e360934b425.
Originally-by: Ben Collins
Signed-off-by: Leann Ogasawara
Signed-off-by: Greg Kroah-Hartman
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 -
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
03 Mar, 2010
1 commit
-
We have lots of callers that do not need to do this in the first place.
Remove the calls as they both cost CPU and for big buffers can mess up the
multi-page allocation avoidance.Signed-off-by: Alan Cox
Signed-off-by: Greg Kroah-Hartman
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
20 Sep, 2009
1 commit
-
And indeed none of them use it. Clean this up as it will make moving to a
standard open method rather easier.Signed-off-by: Alan Cox
Signed-off-by: Greg Kroah-Hartman
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
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
24 Apr, 2009
1 commit
-
This removes tty->low_latency from all USB serial drivers that push
data into the tty layer at hard interrupt context. It's no longer needed
and actually harmful.Signed-off-by: Oliver Neukum
Cc: Alan Cox
Signed-off-by: Greg Kroah-Hartman
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
18 Oct, 2008
2 commits
-
err() is going away, so switch to dev_err() or printk() if it's really
needed.Signed-off-by: Greg Kroah-Hartman
-
USB should not be having it's own printk macros, so remove info() and
use the system-wide standard of dev_info() wherever possible.Signed-off-by: Greg Kroah-Hartman
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
27 Jul, 2008
1 commit
-
The fix NULLed a pointer without freeing it.
Signed-off-by: Oliver Neukum
Reported-by: Juha Motorsportcom
Signed-off-by: Linus Torvalds
23 Jul, 2008
2 commits
-
Signed-off-by: Alan Cox
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Linus Torvalds -
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
22 Jul, 2008
1 commit
-
in the error case the ipaq driver leaves a dangling pointer to already
freed memory that will be freed again.Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
04 Jul, 2008
2 commits
-
The reason for forcing a number of ports should be documented.
Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman -
Fixes bugzilla.kernel.org #10868
Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
25 Apr, 2008
4 commits
-
urb->context code cleanup
Signed-off-by: Ming Lei
Signed-off-by: Greg Kroah-Hartman -
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison
Signed-off-by: Greg Kroah-Hartman -
The usb-serial core no longer checks these fields so remove them from
all of the individual drivers. They will be removed from the usb-serial
core in a patch later in the series.Signed-off-by: Greg Kroah-Hartman
-
The ipaq module supports devices with one endpoint only. Some devices,
e.g. Yakumo Delta 300, have more than one endpoint.This patch fixes support for devices having up to 2 endpoints which used
to work on older kernel versions.Signed-off-by: Matthias Geissert
Signed-off-by: Greg Kroah-Hartman
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
13 Oct, 2007
2 commits
-
This patch supports for SHARP WS011SH[0] to ipaq.c
[0]: http://www.willcom-inc.com/ja/lineup/ws/011sh/index.html
(Sorry , Japanese only.)Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Greg Kroah-Hartman -
the error code paths can be enter with buffers to freed buffers.
Serial core would do a kfree() on memory already freed.Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman