From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932145AbWFFNDV (ORCPT ); Tue, 6 Jun 2006 09:03:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932151AbWFFNDV (ORCPT ); Tue, 6 Jun 2006 09:03:21 -0400 Received: from perninha.conectiva.com.br ([200.140.247.100]:45531 "EHLO perninha.conectiva.com.br") by vger.kernel.org with ESMTP id S932145AbWFFNDU (ORCPT ); Tue, 6 Jun 2006 09:03:20 -0400 Date: Tue, 6 Jun 2006 10:03:22 -0300 From: "Luiz Fernando N. Capitulino" To: Greg KH Cc: rmk@arm.linux.org.uk, linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net, Pete Zaitcev Subject: Re: [PATCH RFC 0/11] usbserial: Serial Core port. Message-ID: <20060606100322.459721cc@doriath.conectiva> In-Reply-To: <20060606072953.GC17682@suse.de> References: <1149217397133-git-send-email-lcapitulino@mandriva.com.br> <20060602204839.GA31251@suse.de> <20060603190352.5249c934@home.brethil> <20060606072953.GC17682@suse.de> Organization: Mandriva X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.9.1; i586-mandriva-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org (CC'ing Pete too). On Tue, 6 Jun 2006 00:29:53 -0700 Greg KH wrote: | On Sat, Jun 03, 2006 at 07:03:52PM -0300, Luiz Fernando N. Capitulino wrote: | > On Fri, 2 Jun 2006 13:48:39 -0700 | > Greg KH wrote: | > | > | On Fri, Jun 02, 2006 at 12:03:06AM -0300, Luiz Fernando N.Capitulino wrote: | > | > | > | > Hi folks. | > | > | > | > This patch series is my first attempt to port the USB-Serial layer to the | > | > Serial Core API. Currently USB-Serial uses the TTY layer directly, duplicating | > | > code and solutions from the Serial Core implementation. | > | > | > | > The final (ported) USB-Serial code is simpler and cleaner. Now I'd like to know | > | > whether I'm doing it right or not. | > | > | > | > Note that this is a work in progress though. I've only ported the USB-Serial | > | > core and one of its drivers, the pl2303 one. | > | > | > | > Most of my questions and design decisions are adressed in the patches, please | > | > refer to them for details. | > | | > | Nice first cut at this. But please try to also convert 2 other drivers | > | at the same time to make sure that the model is right. I'd suggest the | > | io_edgeport and the funsoft drivers. io_edgeport because it is very | > | complex in that it doesn't share a single bulk in/out pair for every | > | port, but multiplexes them all through one pipe. And funsoft because we | > | want to still be able to write usb-serial drivers that are this simple. | > | > I'd love to do that but, unfortunatally, USB-Serial cables are too | > expensive in Brazil (and I have no sure if I can find these ones in | > Curitiba). | | No need to test fully, if it builds, I can test the io_edgeport driver, | and the funsoft one is pretty much a "nothing" driver. Okay. Mandriva just supplied an USB-Serial cable wich is handled by the ftdio_sio driver. I'll port this one first, because it will allow us to make the missing tests. BTW, I'll also postpone the 'libata-like' design change, because it doesn't seem to as easy as it looked at first (note that that design change will not impact ported drivers too much, since most of its code are Serial Core's methods). -- Luiz Fernando N. Capitulino