<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/serial/cpm_uart, branch linux-2.6.22.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.22.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.22.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2007-05-10T04:44:58+00:00</updated>
<entry>
<title>[POWERPC] CPM_UART: Removed __init from cpm_uart_init_portdesc to fix warning</title>
<updated>2007-05-10T04:44:58+00:00</updated>
<author>
<name>Kumar Gala</name>
<email>galak@kernel.crashing.org</email>
</author>
<published>2007-05-10T04:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=32a56ebb24f23da1bbaf24292acf85b6c04526ab'/>
<id>urn:sha1:32a56ebb24f23da1bbaf24292acf85b6c04526ab</id>
<content type='text'>
cpm_uart_init_portdesc is referenced from non-init code and thus we were
getting the following warning:

WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:cpm_uart_init_portdesc from .text between 'cpm_uart_init' (at offset 0x18020) and 'cpm_uart_drv_remove'

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] CPM_UART: cpm_uart_set_termios should take ktermios, not termios</title>
<updated>2007-05-10T04:05:48+00:00</updated>
<author>
<name>Scott Wood</name>
<email>scottwood@freescale.com</email>
</author>
<published>2007-05-08T17:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1bda8f3056126ccdbe10c747e00dd9e61cca48ca'/>
<id>urn:sha1:1bda8f3056126ccdbe10c747e00dd9e61cca48ca</id>
<content type='text'>
This eliminates some warnings.

Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Change rheap functions to use ulongs instead of pointers</title>
<updated>2007-05-10T04:01:43+00:00</updated>
<author>
<name>Timur Tabi</name>
<email>timur@freescale.com</email>
</author>
<published>2007-05-08T19:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4c35630ccda56ed494f6102d2e147fefe14b78d2'/>
<id>urn:sha1:4c35630ccda56ed494f6102d2e147fefe14b78d2</id>
<content type='text'>
The rheap allocation functions return a pointer, but the actual value is based
on how the heap was initialized, and so it can be anything, e.g. an offset
into a buffer.  A ulong is a better representation of the value returned by
the allocation functions.

This patch changes all of the relevant rheap functions to use a unsigned long
integers instead of a pointer.  In case of an error, the value returned is
a negative error code that has been cast to an unsigned long.  The caller can
use the IS_ERR_VALUE() macro to check for this.

All code which calls the rheap functions is updated accordingly.  Macros
IS_MURAM_ERR() and IS_DPERR(), have been deleted in favor of IS_ERR_VALUE().

Also added error checking to rh_attach_region().

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>SPIN_LOCK_UNLOCKED cleanup in drivers/serial</title>
<updated>2007-05-08T18:15:11+00:00</updated>
<author>
<name>Milind Arun Choudhary</name>
<email>milindchoudhary@gmail.com</email>
</author>
<published>2007-05-08T07:30:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=076fa0fa2d53046d32f5157022d683b8027f05ed'/>
<id>urn:sha1:076fa0fa2d53046d32f5157022d683b8027f05ed</id>
<content type='text'>
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead

Signed-off-by: Milind Arun Choudhary &lt;milindchoudhary@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Fix compile failure in cpm_uart_cpm2</title>
<updated>2007-02-16T03:00:19+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2007-02-15T17:43:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0f9ec0a828565c4d2dcb01ce6af824c001396357'/>
<id>urn:sha1:0f9ec0a828565c4d2dcb01ce6af824c001396357</id>
<content type='text'>
Fix bug that exists in kernel.org since 2.6.17rc4 - compiles fail if
CONFIG_SERIAL_CPM_SMC is defined.  Tested on a board using SMC1 console.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Fix kernel build errors for mpc8272ads and mpc8560ads</title>
<updated>2007-02-07T03:03:20+00:00</updated>
<author>
<name>Vitaly Bordug</name>
<email>vbordug@ru.mvista.com</email>
</author>
<published>2007-01-30T23:09:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5427828e83b7f3c000eaec1cfb09c9bc4d024ad1'/>
<id>urn:sha1:5427828e83b7f3c000eaec1cfb09c9bc4d024ad1</id>
<content type='text'>
Recent update of asm-powerpc/io.h caused cpm-related stuff to break in the
current kernel. Current patch fixes it, as well as other inconsistencies
expressed, that do not permit targets from working properly:

- Updated dts with a chosen node with interrupt controller,
- fixed messed device IDs among CPM2 SoC devices,
- corrected odd header name and fixed type in defines,
- Added 82xx subdir to the powerpc/platforms Makefile, missed during
  initial commit,
- new solely-powerpc header file for 8260 family (was using one from
  arch/ppc, this one cleaned up from the extra stuff), in fact for now
  a placeholder to get the board-specific includes for stuff not yet
  capable to live with devicetree peeks only
- Fixed couple of misprints in reference mpc8272 dts.

Signed-off-by: Vitaly Bordug &lt;vbordug@ru.mvista.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] cpm_uart: OF-related fix for CPM1</title>
<updated>2007-02-07T01:00:32+00:00</updated>
<author>
<name>Vitaly Bordug</name>
<email>vbordug@ru.mvista.com</email>
</author>
<published>2007-01-24T19:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f25222b99542bcadf1cc53cc9aa0e304849242ca'/>
<id>urn:sha1:f25222b99542bcadf1cc53cc9aa0e304849242ca</id>
<content type='text'>
This makes cpm uart able to work using OF-passed parameters
in case of CPM stuff (found on most mpc8xx reference and custom
boards). The idea is to keep ppc stuff working yet making it able to be
used for powerpc.

Signed-off-by: Vitaly Bordug &lt;vbordug@ru.mvista.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] CPM_UART: Fix inconsistency of function definition</title>
<updated>2006-12-04T09:39:25+00:00</updated>
<author>
<name>Kalle Pokki</name>
<email>kalle.pokki@iki.fi</email>
</author>
<published>2006-11-13T08:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=533462df56db99ceba4b4124b69469aa2a46a8de'/>
<id>urn:sha1:533462df56db99ceba4b4124b69469aa2a46a8de</id>
<content type='text'>
The below hunk was missed from the recent patch, and now, there are somewhat
inconsistent definitions:

in cpm_uart.h:
int __init cpm_uart_init_portdesc(void);

in cpm_uart_cpm1.c:
int __init cpm_uart_init_portdesc(void)
{
}

in cpm_uart_cpm2.c:
int cpm_uart_init_portdesc(void)
{
}

Signed-off-by: Kalle Pokki &lt;kalle.pokki@iki.fi&gt;
Signed-off-by: Vitaly Bordug &lt;vbordug@ru.mvista.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] CPM_UART: Fix non-console initialisation</title>
<updated>2006-11-10T10:35:36+00:00</updated>
<author>
<name>Kalle Pokki</name>
<email>kalle.pokki@iki.fi</email>
</author>
<published>2006-11-01T13:08:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0091cf5a6ae6e52fc95ceb53200975ef2c81c206'/>
<id>urn:sha1:0091cf5a6ae6e52fc95ceb53200975ef2c81c206</id>
<content type='text'>
The cpm_uart driver is initialised incorrectly, if there is a frame buffer
console, and CONFIG_SERIAL_CPM_CONSOLE is defined. The driver fails to
call cpm_uart_init_portdesc() and set_lineif() in this case.

Signed-off-by: Kalle Pokki &lt;kalle.pokki@iki.fi&gt;
Signed-off-by: Vitaly Bordug &lt;vbordug@ru.mvista.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] CPM_UART: Fix non-console transmit</title>
<updated>2006-11-10T10:26:40+00:00</updated>
<author>
<name>Kalle Pokki</name>
<email>kalle.pokki@iki.fi</email>
</author>
<published>2006-11-01T07:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=599540a85595bd5950354bd95f5ebf9c6e07c971'/>
<id>urn:sha1:599540a85595bd5950354bd95f5ebf9c6e07c971</id>
<content type='text'>
The SMC and SCC hardware transmitter is enabled at the wrong
place. Simply writing twice to the non-console port, like

$ echo asdf &gt; /dev/ttyCPM1
$ echo asdf &gt; /dev/ttyCPM1

puts the shell into endless uninterruptible sleep, since the
transmitter is stopped after the first write, and is not enabled
before the shutdown function of the second write. Thus the transmit
buffers are never emptied.

Signed-off-by: Kalle Pokki &lt;kalle.pokki@iki.fi&gt;
Signed-off-by: Vitaly Bordug &lt;vbordug@ru.mvista.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
</feed>
