From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932865AbcHVWCc (ORCPT ); Mon, 22 Aug 2016 18:02:32 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:34168 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756511AbcHVWAV (ORCPT ); Mon, 22 Aug 2016 18:00:21 -0400 Date: Tue, 23 Aug 2016 00:00:17 +0200 From: Pavel Machek To: One Thousand Gnomes Cc: Marcel Holtmann , Rob Herring , Arnd Bergmann , Greg Kroah-Hartman , Jiri Slaby , Sebastian Reichel , Peter Hurley , NeilBrown , "Dr . H . Nikolaus Schaller" , Linus Walleij , "open list:BLUETOOTH DRIVERS" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC PATCH 0/3] UART slave device bus Message-ID: <20160822220017.GA10689@amd> References: <20160818011445.22726-1-robh@kernel.org> <12886761.WF058qtZp8@wuerfel> <2775954.hrE2UdODgU@wuerfel> <20160822180254.5c95af7c@lxorguk.ukuu.org.uk> <20160822183849.6dfdb9d2@lxorguk.ukuu.org.uk> <2D07EA08-1055-4292-96B3-32913EC9BBE1@holtmann.org> <20160822223223.398ee72d@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160822223223.398ee72d@lxorguk.ukuu.org.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2016-08-22 22:32:23, One Thousand Gnomes wrote: > > why would we even have it create a /dev/ttyX for these devices in the first place. Lets just not create an uevent for it and lets not create a dev_t for it. > > Because if you don't it's a regression. It's not permissible to break > existing userspace. Well... it would be good to do the right thing, at least in the places where we can. Yes, renumbering people's serials is bad, OTOH for new platforms it would be nice not to expose ttyS15 which can only return -EBUSY. And we may want to do incompatible change at some point. People should not have to use hciattach on n900 from now on until end of time, just because we exposed USB port as ttyO1 in past. ...actually. I guess we should disable that ttyO1 in the device tree for now, so nobody can start using it. As we currently have 2-3 people in world who got that bluetooth to work with out-of-tree patches, breakage should be quite acceptable :-). Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html