<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/usb/serial/aircable.c, branch next</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=next</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=next'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2014-01-03T20:39:31+00:00</updated>
<entry>
<title>USB: serial: correct spelling mistakes in comments</title>
<updated>2014-01-03T20:39:31+00:00</updated>
<author>
<name>Rahul Bedarkar</name>
<email>rahulbedarkar89@gmail.com</email>
</author>
<published>2014-01-02T13:59:24+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=cd8c50532a42065339be1fe550e66b89d7ffd14f'/>
<id>urn:sha1:cd8c50532a42065339be1fe550e66b89d7ffd14f</id>
<content type='text'>
Signed-off-by: Rahul Bedarkar &lt;rahulbedarkar89@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: switch tty_flip_buffer_push</title>
<updated>2013-01-16T06:30:15+00:00</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2013-01-03T14:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2e124b4a390ca85325fae75764bef92f0547fa25'/>
<id>urn:sha1:2e124b4a390ca85325fae75764bef92f0547fa25</id>
<content type='text'>
Now, we start converting tty buffer functions to actually use
tty_port. This will allow us to get rid of the need of tty in many
call sites. Only tty_port will needed and hence no more
tty_port_tty_get in those paths.

Now, the one where most of tty_port_tty_get gets removed:
tty_flip_buffer_push.

IOW we also closed all the races in drivers not using tty_port_tty_get
at all yet.

Also we move tty_flip_buffer_push declaration from include/linux/tty.h
to include/linux/tty_flip.h to all others while we are changing it
anyway.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: switch tty_insert_flip_string</title>
<updated>2013-01-16T06:22:35+00:00</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2013-01-03T14:53:04+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=05c7cd39907184328f48d3e7899f9cdd653ad336'/>
<id>urn:sha1:05c7cd39907184328f48d3e7899f9cdd653ad336</id>
<content type='text'>
Now, we start converting tty buffer functions to actually use
tty_port. This will allow us to get rid of the need of tty in many
call sites. Only tty_port will needed and hence no more
tty_port_tty_get in those paths.

tty_insert_flip_string this time.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: serial: remove driver version information</title>
<updated>2012-10-31T19:48:06+00:00</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2012-10-31T10:59:52+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bcbec053d2197031d04b8e040c61695b5d7a949d'/>
<id>urn:sha1:bcbec053d2197031d04b8e040c61695b5d7a949d</id>
<content type='text'>
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 &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: serial: aircable.c: remove debug module parameter</title>
<updated>2012-09-14T19:31:18+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-09-14T19:31:18+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c34518dce9e66ee17b9de85fe0b3a9ea018405f9'/>
<id>urn:sha1:c34518dce9e66ee17b9de85fe0b3a9ea018405f9</id>
<content type='text'>
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: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
CC: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
CC: Alan Stern &lt;stern@rowland.harvard.edu&gt;
CC: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: aircable.c: remove dbg() usage</title>
<updated>2012-05-15T23:27:08+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-05-15T23:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=66afb5b535fe34cd6b33d2ef45aac24fac9370f8'/>
<id>urn:sha1:66afb5b535fe34cd6b33d2ef45aac24fac9370f8</id>
<content type='text'>
dbg() is a usb-serial specific macro.  This patch converts
the aircable.c driver to use dev_dbg() instead to tie into the
dynamic debug infrastructure.

CC: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
CC: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
CC: Alan Stern &lt;stern@rowland.harvard.edu&gt;
CC: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: serial: rework usb_serial_register/deregister_drivers()</title>
<updated>2012-05-08T22:46:14+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-05-08T22:46:14+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=68e24113457e437b1576670f2419b77ed0531e9e'/>
<id>urn:sha1:68e24113457e437b1576670f2419b77ed0531e9e</id>
<content type='text'>
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 &lt;adhirramjiawan0@gmail.com&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: Al Borchers &lt;alborchers@steinerpoint.com&gt;
Cc: Aleksey Babahin &lt;tamerlan311@gmail.com&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Andrew Worsley &lt;amworsley@gmail.com&gt;
Cc: Bart Hartgers &lt;bart.hartgers@gmail.com&gt;
Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Dan Carpenter &lt;error27@gmail.com&gt;
Cc: Dan Williams &lt;dcbw@redhat.com&gt;
Cc: Donald Lee &lt;donald@asix.com.tw&gt;
Cc: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Cc: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Cc: Felipe Balbi &lt;balbi@ti.com&gt;
Cc: Gary Brubaker &lt;xavyer@ix.netcom.com&gt;
Cc: Jesper Juhl &lt;jj@chaosbits.net&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Johan Hovold &lt;jhovold@gmail.com&gt;
Cc: Julia Lawall &lt;julia@diku.dk&gt;
Cc: Kautuk Consul &lt;consul.kautuk@gmail.com&gt;
Cc: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Cc: Lonnie Mendez &lt;dignome@gmail.com&gt;
Cc: Matthias Bruestle and Harald Welte &lt;support@reiner-sct.com&gt;
Cc: Matthias Urlichs &lt;smurf@smurf.noris.de&gt;
Cc: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Cc: Michal Sroczynski &lt;msroczyn@gmail.com&gt;
Cc: "Michał Wróbel" &lt;michal.wrobel@flytronic.pl&gt;
Cc: Oliver Neukum &lt;oliver@neukum.name&gt;
Cc: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Cc: Peter Berger &lt;pberger@brimson.com&gt;
Cc: Preston Fick &lt;preston.fick@silabs.com&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Cc: Rigbert Hamisch &lt;rigbert@gmx.de&gt;
Cc: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Cc: Simon Arlott &lt;simon@fire.lp0.eu&gt;
Cc: Support Department &lt;support@connecttech.com&gt;
Cc: Thomas Tuttle &lt;ttuttle@chromium.org&gt;
Cc: Uwe Bonnes &lt;bon@elektron.ikp.physik.tu-darmstadt.de&gt;
Cc: Wang YanQing &lt;Udknight@gmail.com&gt;
Cc: William Greathouse &lt;wgreathouse@smva.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: serial: remove usb_serial_disconnect call in all drivers</title>
<updated>2012-05-07T21:02:13+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-05-07T21:02:13+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=32078f915d1acab356080b144aa89fe3487f3979'/>
<id>urn:sha1:32078f915d1acab356080b144aa89fe3487f3979</id>
<content type='text'>
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 &lt;wgreathouse@smva.com&gt;
Cc: Matthias Bruestle and Harald Welte &lt;support@reiner-sct.com&gt;
Cc: Lonnie Mendez &lt;dignome@gmail.com&gt;
Cc: Peter Berger &lt;pberger@brimson.com&gt;
Cc: Al Borchers &lt;alborchers@steinerpoint.com&gt;
Cc: Gary Brubaker &lt;xavyer@ix.netcom.com&gt;
Cc: Oliver Neukum &lt;oliver@neukum.name&gt;
Cc: Matthias Urlichs &lt;smurf@smurf.noris.de&gt;
Cc: Support Department &lt;support@connecttech.com&gt;
Cc: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Cc: Kautuk Consul &lt;consul.kautuk@gmail.com&gt;
Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Cc: Bart Hartgers &lt;bart.hartgers@gmail.com&gt;
Cc: Johan Hovold &lt;jhovold@gmail.com&gt;
Cc: Preston Fick &lt;preston.fick@silabs.com&gt;
Cc: Uwe Bonnes &lt;bon@elektron.ikp.physik.tu-darmstadt.de&gt;
Cc: Simon Arlott &lt;simon@fire.lp0.eu&gt;
Cc: Andrew Worsley &lt;amworsley@gmail.com&gt;
Cc: "Michał Wróbel" &lt;michal.wrobel@flytronic.pl&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Cc: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Cc: Felipe Balbi &lt;balbi@ti.com&gt;
Cc: Aleksey Babahin &lt;tamerlan311@gmail.com&gt;
Cc: Dan Carpenter &lt;error27@gmail.com&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Donald Lee &lt;donald@asix.com.tw&gt;
Cc: Julia Lawall &lt;julia@diku.dk&gt;
Cc: Michal Sroczynski &lt;msroczyn@gmail.com&gt;
Cc: Wang YanQing &lt;Udknight@gmail.com&gt;
Cc: Dan Williams &lt;dcbw@redhat.com&gt;
Cc: Thomas Tuttle &lt;ttuttle@chromium.org&gt;
Cc: Rigbert Hamisch &lt;rigbert@gmx.de&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Cc: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Cc: Jesper Juhl &lt;jj@chaosbits.net&gt;
Cc: Adhir Ramjiawan &lt;adhirramjiawan0@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: serial: remove usb_serial_probe call in all drivers</title>
<updated>2012-05-07T20:48:33+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-05-07T20:48:33+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5026bb07be87ef5892742e6853ae6efa0f41961f'/>
<id>urn:sha1:5026bb07be87ef5892742e6853ae6efa0f41961f</id>
<content type='text'>
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 &lt;wgreathouse@smva.com&gt;
Cc: Matthias Bruestle and Harald Welte &lt;support@reiner-sct.com&gt;
Cc: Lonnie Mendez &lt;dignome@gmail.com&gt;
Cc: Peter Berger &lt;pberger@brimson.com&gt;
Cc: Al Borchers &lt;alborchers@steinerpoint.com&gt;
Cc: Gary Brubaker &lt;xavyer@ix.netcom.com&gt;
Cc: Oliver Neukum &lt;oliver@neukum.name&gt;
Cc: Matthias Urlichs &lt;smurf@smurf.noris.de&gt;
Cc: Support Department &lt;support@connecttech.com&gt;
Cc: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Cc: Kautuk Consul &lt;consul.kautuk@gmail.com&gt;
Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Cc: Bart Hartgers &lt;bart.hartgers@gmail.com&gt;
Cc: Johan Hovold &lt;jhovold@gmail.com&gt;
Cc: Preston Fick &lt;preston.fick@silabs.com&gt;
Cc: Uwe Bonnes &lt;bon@elektron.ikp.physik.tu-darmstadt.de&gt;
Cc: Simon Arlott &lt;simon@fire.lp0.eu&gt;
Cc: Andrew Worsley &lt;amworsley@gmail.com&gt;
Cc: "Michał Wróbel" &lt;michal.wrobel@flytronic.pl&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Cc: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Cc: Felipe Balbi &lt;balbi@ti.com&gt;
Cc: Aleksey Babahin &lt;tamerlan311@gmail.com&gt;
Cc: Dan Carpenter &lt;error27@gmail.com&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Donald Lee &lt;donald@asix.com.tw&gt;
Cc: Julia Lawall &lt;julia@diku.dk&gt;
Cc: Michal Sroczynski &lt;msroczyn@gmail.com&gt;
Cc: Wang YanQing &lt;Udknight@gmail.com&gt;
Cc: Dan Williams &lt;dcbw@redhat.com&gt;
Cc: Thomas Tuttle &lt;ttuttle@chromium.org&gt;
Cc: Rigbert Hamisch &lt;rigbert@gmx.de&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Cc: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Cc: Jesper Juhl &lt;jj@chaosbits.net&gt;
Cc: Adhir Ramjiawan &lt;adhirramjiawan0@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: serial: aircable.c: use module_usb_serial_driver</title>
<updated>2012-02-28T21:11:32+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-02-28T21:11:32+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6f84a5198f3ff537da2a0a0d2d50e6d8f91d0383'/>
<id>urn:sha1:6f84a5198f3ff537da2a0a0d2d50e6d8f91d0383</id>
<content type='text'>
This converts the aircable.c driver to use the module_usb_serial_driver() call
instead of having to have a module_init/module_exit function, saving a lot
of duplicated code.

CC: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
CC: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
CC: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
CC: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
