From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <17938.57292.870224.132415@cargo.ozlabs.ibm.com> Date: Wed, 4 Apr 2007 09:14:20 +1000 From: Paul Mackerras To: David Woodhouse Subject: Re: [PATCH] Stop pmac_zilog from abusing 8250's device numbers. In-Reply-To: <1175610345.2665.15.camel@shinybook.infradead.org> References: <1175610345.2665.15.camel@shinybook.infradead.org> Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , David Woodhouse writes: > There are proper device numbers registered for pmac_zilog now. Use them. Sigh. I guess this is inevitable, but IMNSHO this exposes a weakness in our serial subsystem. The problem is that this means that a user has to know "oh, the serial port on my computer is implemented with a Z85C30 chip, therefore it's /dev/ttyPZ0 not /dev/ttyS0, like it would be if the designers had used a 16C550". Plus I'm sure this is going to mean that people using gui ppp dialers on powermacs will suddenly find that the gui can no longer find their serial port and they have no idea why. Why should a user know or care about that? It really should be "it's the built-in serial port on my computer therefore it's /dev/ttyS0". Paul.