Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751028AbVKWPhF (ORCPT ); Wed, 23 Nov 2005 10:37:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751032AbVKWPhF (ORCPT ); Wed, 23 Nov 2005 10:37:05 -0500 Received: from zeus1.kernel.org ([204.152.191.4]:46798 "EHLO zeus1.kernel.org") by vger.kernel.org with ESMTP id S1751028AbVKWPhC (ORCPT ); Wed, 23 Nov 2005 10:37:02 -0500 Date: Wed, 23 Nov 2005 15:36:55 +0000 From: Russell King To: Jon Smirl Cc: Vojtech Pavlik , Greg KH , lkml Subject: Re: Christmas list for the kernel Message-ID: <20051123153655.GD15449@flint.arm.linux.org.uk> Mail-Followup-To: Jon Smirl , Vojtech Pavlik , Greg KH , lkml References: <9e4733910511221031o44dd90caq2b24fbac1a1bae7b@mail.gmail.com> <20051122204918.GA5299@kroah.com> <9e4733910511221313t4a1e3c67wc7b08160937eb5c5@mail.gmail.com> <20051123121726.GA7328@ucw.cz> <9e4733910511230643j64922738p709fecd6c86b4a95@mail.gmail.com> <20051123150349.GA15449@flint.arm.linux.org.uk> <9e4733910511230719h67fa96bdxdeb654aa12f18e67@mail.gmail.com> <20051123152558.GB15449@flint.arm.linux.org.uk> <9e4733910511230731p12d7c712pe20e89886832c95f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e4733910511230731p12d7c712pe20e89886832c95f@mail.gmail.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1296 Lines: 31 On Wed, Nov 23, 2005 at 10:31:15AM -0500, Jon Smirl wrote: > On 11/23/05, Russell King wrote: > > > This is confusing... > > > > > > Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled > > > serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > > > serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > > > serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > > > serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > > Could this be the source of the four port versus the two port > confusion in the higher layers? It says 4 ports and list four ports, > but two are duplicates. Only if something's parsing the kernel messages. The "4 ports" is about the _maximum_ number of ports that the driver will support, and it will therefore create tty devices for ttyS0 to ttyS3 regardless of whether the hardware exists. To see why this is done, read my previous mails in this thread. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/