CPM2 uart early console

Rune Torgersen runet at innovsys.com
Sat Oct 23 08:01:54 EST 2004


> From: Tom Rini [mailto:trini at kernel.crashing.org] 
> On Thu, Oct 21, 2004 at 04:57:56PM -0500, Rune Torgersen wrote:
> > BTW..
> > What are the device node numbers for ttyCPM[0..5] ?
> 
> 204 42...45 (devices.txt in linuxppc-2.5, Pantelis ever 
> figure out what to do about the device # conflict with the 
> i.MX driver so we can push that small bit upstream ?)

Aparently not that simple.... I looked in the source, and it depends if 
an 8250 stype serial port is defined or not...

#ifndef CONFIG_SERIAL_8250
#define SERIAL_CPM_MAJOR	TTY_MAJOR
#define SERIAL_CPM_MINOR	64
#else
#define SERIAL_CPM_MAJOR	204
#define SERIAL_CPM_MINOR	42
#endif

Urgh...




More information about the Linuxppc-embedded mailing list