CPM2 uart early console

Tom Rini trini at kernel.crashing.org
Wed Oct 27 00:35:14 EST 2004


On Fri, Oct 22, 2004 at 05:01:54PM -0500, Rune Torgersen wrote:
> > 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...

That doesn't make sense.  Pantelis?

-- 
Tom Rini
http://gate.crashing.org/~trini/



More information about the Linuxppc-embedded mailing list