From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sandesh.cdotd.ernet.in (sandesh.cdotd.ernet.in [196.1.105.47]) by ozlabs.org (Postfix) with ESMTP id AE2D7DDE36 for ; Wed, 26 Sep 2007 13:37:08 +1000 (EST) Received: from sandesh.cdotd.ernet.in (localhost [127.0.0.1]) by localhost.cdotd.ernet.in (Postfix) with ESMTP id 31742CFEB8 for ; Tue, 25 Sep 2007 16:26:43 +0530 (IST) Received: from mail1.cdotd.ernet.in (mail1.cdotd.ernet.in [196.1.105.196])by sandesh.cdotd.ernet.in (Postfix) with ESMTP id 79FADCFDFAfor ; Tue, 25 Sep 2007 16:26:42 +0530 (IST) Received: from cdotd.ernet.in (localhost.localdomain [127.0.0.1])by mail1.cdotd.ernet.in (8.12.5/8.12.5) with ESMTP id l8PBE3B7019155for ; Tue, 25 Sep 2007 16:44:03 +0530 From: "Deepak Gaur" To: linuxppc-embedded@ozlabs.org Subject: CPM_UART_CONSOLE Date: Tue, 25 Sep 2007 17:44:03 +0630 Message-Id: <20070925111251.M85112@cdotd.ernet.in> In-Reply-To: <20070925104704.M46195@cdotd.ernet.in> References: <20070925104704.M46195@cdotd.ernet.in> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi all, 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 (Linux ppc) ./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? As I am a novice in this area , I shall be grateful if you please guide me in understanding this driver code. with regards, Deepak Gaur