<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/serial/serial_core.c, branch linux-2.6.32.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-11-26T17:10:38Z</updated>
<entry>
<title>tty: Make tiocgicount a handler</title>
<updated>2011-11-26T17:10:38Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2011-11-13T15:24:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb44c0460c54e9f3f37d139f67c52b753319dd67'/>
<id>urn:sha1:eb44c0460c54e9f3f37d139f67c52b753319dd67</id>
<content type='text'>
commit d281da7ff6f70efca0553c288bb883e8605b3862 upstream

Dan Rosenberg noted that various drivers return the struct with uncleared
fields. Instead of spending forever trying to stomp all the drivers that
get it wrong (and every new driver) do the job in one place.

This first patch adds the needed operations and hooks them up, including
the needed USB midlayer and serial core plumbing.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
</content>
</entry>
<entry>
<title>tty, serial: Fix race and NULL check in uart_close()</title>
<updated>2009-10-12T17:21:33Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2009-10-12T17:13:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eea7e17e0eb23729d58368420659f8e7c357d82e'/>
<id>urn:sha1:eea7e17e0eb23729d58368420659f8e7c357d82e</id>
<content type='text'>
Commit 46d57a449aa1 ("serial: use tty_port pointers in the core code")
contained two bugs that causes (rare) crashes:

 - the rename typoed one site

 - a NULL check was missed

Reported-and-tested-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Greg KH &lt;gregkh@suse.de&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>serial core: fix new kernel-doc warnings</title>
<updated>2009-09-23T18:24:57Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2009-09-21T18:12:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b9894f342a39601bb0420b7b8c7e445670c1b51'/>
<id>urn:sha1:1b9894f342a39601bb0420b7b8c7e445670c1b51</id>
<content type='text'>
Fix new kernel-doc warnings in serial_core.[hc] files.

  Warning(include/linux/serial_core.h:485): No description found for parameter 'uport'
  Warning(include/linux/serial_core.h:485): Excess function parameter 'port' description in 'uart_handle_dcd_change'
  Warning(include/linux/serial_core.h:511): No description found for parameter 'uport'
  Warning(include/linux/serial_core.h:511): Excess function parameter 'port' description in 'uart_handle_cts_change'
  Warning(drivers/serial/serial_core.c:2437): No description found for parameter 'uport'
  Warning(drivers/serial/serial_core.c:2437): Excess function parameter 'port' description in 'uart_add_one_port'
  Warning(drivers/serial/serial_core.c:2509): No description found for parameter 'uport'
  Warning(drivers/serial/serial_core.c:2509): Excess function parameter 'port' description in 'uart_remove_one_port'

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Set proper console speed on resume if console suspend is disabled</title>
<updated>2009-09-19T20:13:33Z</updated>
<author>
<name>Deepak Saxena</name>
</author>
<published>2009-09-19T20:13:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba15ab0e8de0d4439a91342ad52d55ca9e313f3d'/>
<id>urn:sha1:ba15ab0e8de0d4439a91342ad52d55ca9e313f3d</id>
<content type='text'>
Commit b5b82df6, from May 2007, breaks no_console_suspend on the OLPC
XO laptop. Basically what happens is that upon returning from resume,
serial8250_resume_port() will reconfigure the port for high speed
mode and all console output will be garbled, making debug of the
resume path painful. This patch modifies uart_resume_port() to
reset the port to the state it was in before we suspended.

Original patch by Marcelo Tosatti

Second patch by Deepak then reworked by Alan to fit with the tty changes
before it got submitted. Also fixed the console path to set c_i/ospeed as
some drivers require the termios fields are valid

Signed-off-by: Deepak Saxena &lt;dsaxena@laptop.org&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>serial: introduce tty krefs</title>
<updated>2009-09-19T20:13:33Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2009-09-19T20:13:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b01478f97a671c97fad9254aa91892209b018b5'/>
<id>urn:sha1:7b01478f97a671c97fad9254aa91892209b018b5</id>
<content type='text'>
Initially just use the helper and thus krefs when we set and clear the
port values.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>serial: kill USF_CLOSING_* definitions</title>
<updated>2009-09-19T20:13:32Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2009-09-19T20:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=016af53a6de6837e5be3da68901083ea85ebb4da'/>
<id>urn:sha1:016af53a6de6837e5be3da68901083ea85ebb4da</id>
<content type='text'>
The serial layer for some reason uses different defines for the special
case close delays and then conditionally switches to/from the normal ones
in the ioctls.

Remove this rather pointless abstraction

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>serial: move port users helper</title>
<updated>2009-09-19T20:13:32Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2009-09-19T20:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b58d13a0216d4e0753668214f23e1d2c24c30f8c'/>
<id>urn:sha1:b58d13a0216d4e0753668214f23e1d2c24c30f8c</id>
<content type='text'>
This little helper is now tty_port specific and useful generally so move it

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>serial: move delta_msr_wait into the tty_port</title>
<updated>2009-09-19T20:13:31Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2009-09-19T20:13:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bdc04e3174e18f475289fa8f4144f66686326b7e'/>
<id>urn:sha1:bdc04e3174e18f475289fa8f4144f66686326b7e</id>
<content type='text'>
This is used by various drivers not just serial and can be extracted
as commonality

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>serial: replace the state mutex with the tty port mutex</title>
<updated>2009-09-19T20:13:31Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2009-09-19T20:13:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2bceae065ed8c4f552b35c4dde4cc2db05ce9e3'/>
<id>urn:sha1:a2bceae065ed8c4f552b35c4dde4cc2db05ce9e3</id>
<content type='text'>
They cover essentially the same stuff and we can therefore fold it into the
tty_port one.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>serial: move the flags into the tty_port field</title>
<updated>2009-09-19T20:13:30Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2009-09-19T20:13:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ccce6debb62d94964e3878f978a56b0f3e32d94f'/>
<id>urn:sha1:ccce6debb62d94964e3878f978a56b0f3e32d94f</id>
<content type='text'>
Fortunately the serial layer was designed to use the same flag values but
with different names. It has its own SUSPENDED flag which is a free slot in
the ASYNC flags so we allocate it in the ASYNC flags instead.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
