Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757508Ab0HCSVb (ORCPT ); Tue, 3 Aug 2010 14:21:31 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:37538 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756924Ab0HCSV3 convert rfc822-to-8bit (ORCPT ); Tue, 3 Aug 2010 14:21:29 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; b=e0B16kIBYDdG8/A3BRjd1nPKqAB91H/uNHKXnKKEVexQZKZ3RObcQyTusmNdL870cV W6aJnQYcEo/zSXb/LRG+VD+RYAbM786xrztfskhZ03taANhdSCu6XaL2WQOnRERyJNE+ WX3frK3MkrGv0uhrk8vQQC9DbtCye1crpm4Xk= From: Marek Vasut Organization: Hack&Dev To: Greg KH Subject: Re: [PATCH] USB-serial dummy cable driver Date: Tue, 3 Aug 2010 20:21:07 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.34-1-amd64; KDE/4.4.4; x86_64; ; ) Cc: linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, nm127@freemail.hu, linux-kernel@vger.kernel.org, maxinbjohn@gmail.com, forest.bond@outpostembedded.com, vijaykumar@zilogic.com References: <1280728807-20296-1-git-send-email-marek.vasut@gmail.com> <201008031936.39556.marek.vasut@gmail.com> <20100803174912.GA2190@suse.de> In-Reply-To: <20100803174912.GA2190@suse.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Message-Id: <201008032021.07504.marek.vasut@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2777 Lines: 67 Dne ?t 3. srpna 2010 19:49:12 Greg KH napsal(a): > On Tue, Aug 03, 2010 at 07:36:39PM +0200, Marek Vasut wrote: > > Dne ?t 3. srpna 2010 18:38:26 Greg KH napsal(a): > > > On Tue, Aug 03, 2010 at 06:14:15PM +0200, Marek Vasut wrote: > > > > Dne ?t 3. srpna 2010 00:47:18 Greg KH napsal(a): > > > > > On Mon, Aug 02, 2010 at 08:00:07AM +0200, Marek Vasut wrote: > > > > > > This driver is used to implement USB-serial like behaviour over > > > > > > dummy > > > > > > > > > > > > USB cables. These are used in the following devices: > > > > > > Funsoft Serial USB driver > > > > > > Genesys Logic GL620USB USB Laplink cable > > > > > > HP4x (48/49) Serial cable > > > > > > Motorola phones > > > > > > Siemens USB-MPI Serial USB driver > > > > > > ViVOpay USB Serial Driver > > > > > > ZIO Motherboard USB driver > > > > > > > > > > I like the idea, but not the name :) > > > > > > > > Please don't expect miracles from me after 26 hours without sleep ;-) > > > > > > > > > Ideally, all of these would be able to be handled by the usb-serial > > > > > generic driver directly. > > > > > > > > I just noticed that one. Stupid me. > > > > > > > > > But really, having these multiple drivers is a good thing, they > > > > > properly convey to the user what the device is, and it gives these > > > > > developers and companies a sense of ownership over the code, and > > > > > that matters at times. > > > > > > > > > > So you lost the names of the devices with this patch, which isn't > > > > > good. > > > > > > > > Sheesh ... that's true, but having pile of copies of the same code is > > > > not good either. > > > > > > I agree, that's why I said it should be reduced. > > > > > > > Can't we then just deprecate all these drivers and set correct udev > > > > rules? > > > > > > udev can not change the name of the device in sysfs, or the name in the > > > kernel of the device. > > > > That's right, but it can bind the generic driver with the hardware. And > > who would care about the driver name, really ? The interface just > > appears and that's what matters (to me and probably to users) ... > > There are persistant device links in /dev/serial/ that might care about > the driver name. We don't want to break them, right? We can start a slow migration though. Eg. push the serial-generic as a way-to-go so the distro teams can pick this change and incorporate it into their stuff. Maybe just mark all those drivers as "DEPRECATED" and add a note there "use generic-serial". > > thanks, > > greg k-h -- 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/