From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753440AbYIOSvf (ORCPT ); Mon, 15 Sep 2008 14:51:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755278AbYIOSvU (ORCPT ); Mon, 15 Sep 2008 14:51:20 -0400 Received: from anchor-post-37.mail.demon.net ([194.217.242.87]:54271 "EHLO anchor-post-37.mail.demon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754696AbYIOSvS (ORCPT ); Mon, 15 Sep 2008 14:51:18 -0400 Date: Mon, 15 Sep 2008 19:51:12 +0100 (BST) From: Mark Fortescue To: Alan Cox cc: David Miller , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org, joy@entuzijast.net Subject: Re: Allow 8250 to work on sparc. In-Reply-To: <20080915172211.6751bb17@the-village.bc.nu> Message-ID: References: <20080912.211854.102505246.davem@davemloft.net> <20080915172211.6751bb17@the-village.bc.nu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alan, On Mon, 15 Sep 2008, Alan Cox wrote: >> At the user level, there is no difference between a sun zilog serial port, >> an 8250 serial port or a USB serial port so these should be allocated >> using the same allocation system. > > That isn't strictly true. I am intrigued. Other than the valid baud rates what differences are visible at the user level? > >> For me, it would also simplify the issue of trying to work what devive to >> look for when I plug in a new USB serial port device. It would be the new >> /dev/ttyS to appear in /dev. > > Naming is a private matter for udev anyway, independant of numbering for > major/minor > Yes, but I have not found a simple way to configure it to add serial port devices to the next available /dev/ttyS. If this was the default, it would be much easier for me :). (I am assuming that all the different serial port devices I use are transparent at the user level, hence my question above.) Regards Mark.