From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31284 invoked by alias); 20 May 2009 08:20:50 -0000 Received: (qmail 31275 invoked by uid 22791); 20 May 2009 08:20:49 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mail04.solnet.ch (HELO mail04.solnet.ch) (212.101.4.138) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 May 2009 08:20:43 +0000 Received: from mail04.solnet.ch ([127.0.0.1]) by localhost (mail04.solnet.ch [127.0.0.1]) (SolNet-Check, port 10024) with LMTP id Kg+N61yYvRdM; Wed, 20 May 2009 08:20:40 +0000 (UTC) Received: from beta.intefo.ch (static-212-101-18-64.adsl.solnet.ch [212.101.18.64]) by mail04.solnet.ch (Postfix) with ESMTP id DDE7787125; Wed, 20 May 2009 08:20:39 +0000 (UTC) Received: from beta.intefo.ch ([127.0.0.1]) by localhost (beta.intefo.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id V7V1GH0yPl36; Wed, 20 May 2009 10:20:39 +0200 (CEST) Received: from [192.168.1.20] (simon.intefo.ch [192.168.1.20]) by beta.intefo.ch (Postfix) with ESMTP id 8E83D77024E; Wed, 20 May 2009 10:20:39 +0200 (CEST) Message-ID: <4A13BD59.4060905@intefo.ch> Date: Wed, 20 May 2009 08:20:00 -0000 From: Simon Kallweit User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Chris Holgate CC: Andrew Lunn , ecos-devel@sourceware.org Subject: Re: STM32 USB support References: <4A11CAAA.8040900@intefo.ch> <4A11D861.8090206@zynaptic.com> <4A11E5DF.2000403@intefo.ch> <4A129C34.9090606@zynaptic.com> <20090519120004.GI20046@lunn.ch> <4A12CD5F.20901@intefo.ch> <4A12DE12.7020504@zynaptic.com> In-Reply-To: <4A12DE12.7020504@zynaptic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-05/txt/msg00038.txt.bz2 Chris Holgate wrote: > Ethernet for the STM32? I'd considered having a stab at a driver for > one of the SPI based Ethernet chips (either the Micrel or Microchip) but > just don't have the time right now. We don't have the possibility to add real ethernet to our platform, using ethernet over USB could be a nice solution for device configuration (http server). >> The USB serial driver at least seems to be tailored >> for the AT91 driver right now and cannot be used generically yet. We >> could change that to use dynamic setup of endpoints, which I think would >> be a great idea. > > I've just had a look at the code and it shouldn't be too hard. The key > change is that in order to obtain a handle on the endpoint data > structures you need to wait for endpoint configuration to complete > (which the serial driver does anyway): I see. Should be easy to get around. I'll see if I can change the serial driver in a way so it's still usable with the other slave drivers. Simon