On Tue, Sep 25, 2007 at 05:33:59PM +0630, Deepak Gaur wrote:
> I am writing a kernel module which is required to parse the characters 
> received from a
> device attached to MPC8560 SCC2 (UART slave mode) on serial interface. This 
> SCC is
> required to be configured for single-buffer, character based operation. 
> Moreover on
> another SCC (SCC1 UART master mode) the board debug interface(console) is 
> connected.
> 
> While trying to figure out CPM UART device driver interface available in file
> drivers/serial/cpm_uart/cpm_uart_core.c for my kernel module I found that 
> some of the
> functions are available when CPM_UART_CONSOLE is enabled. 
> 
> My doubt is regarding status of this flag for my hardware setup. Should this 
> flag be
> enabled or not. If it is required to be enabled for supporting SCC1 then how 
> SCC2 will
> be handled?

That flag should only be set on the actual console.  What is it that you
need to do with the other port that the driver won't currently do?

-Scott
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to