Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753456AbZGBSqA (ORCPT ); Thu, 2 Jul 2009 14:46:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751838AbZGBSpo (ORCPT ); Thu, 2 Jul 2009 14:45:44 -0400 Received: from kroah.org ([198.145.64.141]:38300 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751532AbZGBSpn (ORCPT ); Thu, 2 Jul 2009 14:45:43 -0400 Date: Thu, 2 Jul 2009 11:31:49 -0700 From: Greg KH To: Alan Cox Cc: Kumar Gala , Linux-Kernel List Subject: Re: good example of a tty driver Message-ID: <20090702183149.GA11720@kroah.com> References: <20090702192744.029620ae@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090702192744.029620ae@lxorguk.ukuu.org.uk> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1406 Lines: 37 On Thu, Jul 02, 2009 at 07:27:44PM +0100, Alan Cox wrote: > On Thu, 2 Jul 2009 11:48:09 -0500 > Kumar Gala wrote: > > > Alan, > > > > Can you point me at any good drivers to use as an example of using the > > tty layer. I'm trying to get an out of tree driver brought up to date > > for the Avocent ESP-16 MI Serial Hubs (serial over ethernet): > > Its very much in flux with the drivers getting kref support, helper > functions and the like in the current releases. > > > > > http://www.connectivity.avocent.com/products/network-based/esp_16.asp > > > > Thankfully the have a GPL driver but it was last updated against 2.6.23: > > > > http://www.connectivity.avocent.com/drivers/esp_serial_hubs/dd64e069.asp > > > > However I've never worked on any tty drivers so its a bit black magic > > at this point. I was hoping that an example would at least get me > > able to bring the driver up to a point that we can get it into the > > staging tree. > > I would make it build, chuck it in the staging tree and go from there That sounds good to me as well. Kumar, feel free to send me a patch :) 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/