From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pentafluge.infradead.org (pentafluge.infradead.org [213.146.154.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 99B64DDE29 for ; Wed, 4 Apr 2007 15:20:42 +1000 (EST) Subject: Re: [PATCH] Stop pmac_zilog from abusing 8250's device numbers. From: David Woodhouse To: Paul Mackerras In-Reply-To: <17939.10130.687893.167511@cargo.ozlabs.ibm.com> References: <1175610345.2665.15.camel@shinybook.infradead.org> <17938.57292.870224.132415@cargo.ozlabs.ibm.com> <1175642916.10567.24.camel@shinybook.infradead.org> <20070403212928.GA12951@cynthia.pants.nu> <20070404022544.59b022a6@the-village.bc.nu> <17939.10130.687893.167511@cargo.ozlabs.ibm.com> Content-Type: text/plain Date: Wed, 04 Apr 2007 01:19:59 -0400 Message-Id: <1175663999.2932.8.camel@shinybook.infradead.org> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, Alan Cox List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2007-04-04 at 14:20 +1000, Paul Mackerras wrote: > I never suggested *all* serial ports should be /dev/ttySn, I said that > the built-in ports on the motherboard should be /dev/ttySn. Why? What's so special about the name 'ttyS'? > The built-in ports can generally be enumerated early on boot in a > stable order, and they should be assigned the low ttySn numbers, > regardless of what chip is used to implement them. I don't see why that 'should' be the case. Certainly it _isn't_ the case on most supported platforms -- we have separate device numbers, and names, for most types of ports. There's only one or two drivers which abuse ttySn for anything other than 8250 ports. -- dwmw2