From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750765AbVHaKLA (ORCPT ); Wed, 31 Aug 2005 06:11:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750767AbVHaKLA (ORCPT ); Wed, 31 Aug 2005 06:11:00 -0400 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:15882 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id S1750765AbVHaKLA (ORCPT ); Wed, 31 Aug 2005 06:11:00 -0400 Date: Wed, 31 Aug 2005 11:10:48 +0100 From: Russell King To: Rahul Tank Cc: Linux-kernel Subject: Re: serial port multiplexing Message-ID: <20050831111048.E26480@flint.arm.linux.org.uk> Mail-Followup-To: Rahul Tank , Linux-kernel References: <20050825122045.57008.qmail@web8401.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20050825122045.57008.qmail@web8401.mail.in.yahoo.com>; from rahul5311@yahoo.co.in on Thu, Aug 25, 2005 at 01:20:45PM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 25, 2005 at 01:20:45PM +0100, Rahul Tank wrote: > I am a newbee tryinging for serial port > multiplexing. Currently my driver supports for one > port > (/dev/ttyS0). However i want to use the same physical > port for 2 virtual ports.I am NOT sending two type of > data simultaneously. I want to first reigister my > driver for /dev/ttyS0. When the kernel has booted ,i > want to disable it. Then i want to enable the driver > to register for say /dev/ttyS1. > in short i don't want the console to have controle > over the serial port. Try setting the kernel message level to zero after boot. That will prevent the kernel from displaying any further messages to that serial port, except when a serious problem (eg, oops) occurs. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core