>From sl Tue Apr 2 02:25:57 2002 Return-path: <[EMAIL PROTECTED]> Envelope-to: [EMAIL PROTECTED] Delivery-date: Tue, 02 Apr 2002 02:25:57 -0800 Received: from [204.174.19.24] (helo=basalt.belcarra.com) by whiskey.enposte.net with esmtp (Exim 3.35 #1) id 16sLUD-0000sq-00 for [EMAIL PROTECTED]; Tue, 02 Apr 2002 02:25:57 -0800 Received: from lnlin.lineo.com ([64.50.107.20]) by basalt.belcarra.com with esmtp (Exim 3.34 #1) id 16sLUD-00010Y-01 for [EMAIL PROTECTED]; Tue, 02 Apr 2002 02:25:57 -0800 Received: from whiskey.enposte.net ([24.83.104.254]) by lnlin.lineo.com (Lotus Domino Release 5.0.8) with ESMTP id 2002040203132770:209117 ; Tue, 2 Apr 2002 03:13:27 -0700 Received: from sl by whiskey.enposte.net with local (Exim 3.35 #1) id 16sLUA-0000sl-00; Tue, 02 Apr 2002 02:25:54 -0800 Date: Tue, 2 Apr 2002 02:25:54 -0800 From: Stuart Lynne <[EMAIL PROTECTED]> To: David Brownell <[EMAIL PROTECTED]> Cc: Stuart Lynne <[EMAIL PROTECTED]> Subject: Re: [linux-usb-devel] Lineo USB Device Software Message-ID: <[EMAIL PROTECTED]> Reply-To: Stuart Lynne <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <094601c1da2a$6ae293c0$[EMAIL PROTECTED]> Mime-Version: 1.0 In-Reply-To: <094601c1da2a$6ae293c0$[EMAIL PROTECTED]> User-Agent: Mutt/1.3.27i Sender: Stuart Lynne <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Resent-From: [EMAIL PROTECTED] Resent-Date: Tue, 2 Apr 2002 02:26:25 -0800 Resent-To: [EMAIL PROTECTED]
On Tue, Apr 02, 2002 at 01:40:25AM -0800, David Brownell wrote: > > I'd like to see that work smoothly with the "usbnet" > driver, which I think you're familiar with. Yes, and quite liked. You'll notice that usbdnet has a very similiar design. I got sick and tired of an older driver we where using for testing that was getting hard to maintain and extend so I threw it out and started from scrath using usbnet as a pattern for several key areas. > > serial > > > > And several bus interface drivers: > > > > StrongARM SA-1110 > > Linkup L7205 > > Hitachi SuperH 7727 > > ScanLogic SL11 > > Heh ... you did the right thing, making sure that your API > (whatever it is) talks to multiple device controllers before > pitching it very widely. Though, on principle, I'll hope that > it's not too hard to change things! Yes, it is probably a little over elaborated. We understand the problem domain better now. > > The network and serial drivers have optional CRC checking across all > > bulk transfers (to compensate for problems with StrongARM and Linkup > > FIFO implementations). > > Ah, I was wondering why you did that. It "shouldn't" be necessary, > and (at least when I first noticed it through Zaurus) docs were not > available to explain why. Presumably Ethernet CRC checks are > not going to solve the problem -- you want per-packet retransmit > to do the job it's supposed to do? That happens down at the USB level, and typically works ok. See the message I just sent out explaining CRC rationale (it is there to allow is to drop corrupt data, data corrupted typically between the USB hardware fifo's and the host CPU). > But since it seems to be, on those device controllers, it'd likely > be worth teaching "usbnet" about that (a fourth framing option). > > > The network driver configuration uses a new CDC Class extension that > > allows CDC type configurations to be implemented using a single > > interface and two bulk endpoints. > > Hmm, I'll hope the source comments explain that (tomorrow :). > As a rule I encourage sticking to standards as-written. Though > I know committee-itis all too well. Yes, well, and with the latest USB specifications it is nicely possible to implement and identify customized specifications by embedding a GUID in the configuration :-) > > I hope to have a mailing list setup in the next day or so. Send me > > email if you are interested. > > Might well be. I barely glanced at your interfaces before deciding > not to read more tonight. > > Got any particular plans for this -- like help coordinate a general > Linux-USB "Device Controller" API? Sure. -- __O Lineo - Where Open Meets Smart _-\<,_ PGP Fingerprint: 28 E2 A0 15 99 62 9A 00 (_)/ (_) 88 EC A3 EE 2D 1C 15 68 Stuart Lynne <[EMAIL PROTECTED]> www.lineo.com 604-461-7532 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel