<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/serial/altera_uart.c, branch linux-2.6.35.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.35.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.35.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2010-06-04T20:37:18+00:00</updated>
<entry>
<title>serial: altera_uart: Proper section for altera_uart_remove</title>
<updated>2010-06-04T20:37:18+00:00</updated>
<author>
<name>Tobias Klauser</name>
<email>tklauser@distanz.ch</email>
</author>
<published>2010-05-31T13:01:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c1bfffa94e0ca951ed450788991c9310adb8e823'/>
<id>urn:sha1:c1bfffa94e0ca951ed450788991c9310adb8e823</id>
<content type='text'>
altera_uart_remove should be in .devexit.text

Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>altera_uart: Simplify altera_uart_console_putc</title>
<updated>2010-06-04T20:37:18+00:00</updated>
<author>
<name>Tobias Klauser</name>
<email>tklauser@distanz.ch</email>
</author>
<published>2010-05-25T15:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fadf34f0f05ca5ea02ffcd89544cd372bbdb739b'/>
<id>urn:sha1:fadf34f0f05ca5ea02ffcd89544cd372bbdb739b</id>
<content type='text'>
The check for the TRDY flag after writing the character is not needed.
Also do a cpu_relax() inside the loop.

Pass a struct uart_port to altera_uart_console_putc, so we do not need
to get it (and dereference pointers) for every character.

Cc: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>altera_uart: Don't take spinlock in already protected functions</title>
<updated>2010-06-04T20:37:17+00:00</updated>
<author>
<name>Tobias Klauser</name>
<email>tklauser@distanz.ch</email>
</author>
<published>2010-05-25T14:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d8d721f4c005f9a69bd1b5d5c6ba99b7e1d464de'/>
<id>urn:sha1:d8d721f4c005f9a69bd1b5d5c6ba99b7e1d464de</id>
<content type='text'>
Don't take the port spinlock in uart functions where the serial core
already takes care of locking/unlocking them.

The code would actually lock up on architectures where spinlocks are
implemented (not the case on nios2 where this driver is primarily used
for now, thus this bug didn't trigger).

Also protect calling altera_uart_rx_chars/altera_uart_tx_chars in the
interrupt handler by the port spinlock.

Thanks to Ian Abbott for pointing these issues out.

Cc: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Cc: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>serial: Add driver for the Altera UART</title>
<updated>2010-05-21T16:34:30+00:00</updated>
<author>
<name>Tobias Klauser</name>
<email>tklauser@distanz.ch</email>
</author>
<published>2010-05-05T08:35:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6b7d8f8b5c43f7bedda750d8a9dab0658da1d2ba'/>
<id>urn:sha1:6b7d8f8b5c43f7bedda750d8a9dab0658da1d2ba</id>
<content type='text'>
Add an UART driver for the UART component available as a SOPC (System on
Programmable Chip) component for Altera FPGAs.

Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
