From owner-freebsd-usb@FreeBSD.ORG Fri Mar 30 19:19:27 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DA9816A400 for ; Fri, 30 Mar 2007 19:19:27 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.freebsd.org (Postfix) with ESMTP id BBB0A13C4BC for ; Fri, 30 Mar 2007 19:19:26 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from 77.79.171.66.subscriber.vzavenue.net (HELO homobox.opal.com) ([66.171.79.77]) by smtp.vzavenue.net with ESMTP; 30 Mar 2007 14:50:14 -0400 X-REPUTATION: -2.0 X-REMOTE-IP: 66.171.79.77 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FADP1DEZCq09NUGdsb2JhbACPfAEBKg X-IronPort-AV: i="4.14,354,1170651600"; d="scan'208"; a="142394509:sNHT18104625" Received: from linwhf.opal.com (localhost [127.0.0.1]) by homobox.opal.com (8.13.8/8.13.8) with ESMTP id l2UIoD11053657 for ; Fri, 30 Mar 2007 14:50:14 -0400 (EDT) (envelope-from fbsd@opal.com) Received: from 192.168.3.65 ([192.168.3.65] helo=linwhf.opal.com) by ASSP-nospam; 30 Mar 2007 14:50:13 -0400 Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.8/8.13.8) with ESMTP id l2UIo10L002681 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Fri, 30 Mar 2007 14:50:01 -0400 (EDT) (envelope-from fbsd@opal.com) Received: (from jr@localhost) by linwhf.opal.com (8.13.8/8.13.8/Submit) id l2UIo08U002680 for freebsd-usb@freebsd.org; Fri, 30 Mar 2007 14:50:00 -0400 (EDT) (envelope-from fbsd@opal.com) X-Authentication-Warning: linwhf.opal.com: jr set sender to fbsd@opal.com using -f Date: Fri, 30 Mar 2007 14:50:00 -0400 From: "J.R. Oldroyd" To: freebsd-usb@freebsd.org Message-ID: <20070330185000.GG1328@linwhf.opal.com> References: <20070216003327.GE1336@linwhf.opal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070216003327.GE1336@linwhf.opal.com> User-Agent: Mutt/1.4.2.2i Subject: Re: Call For Testers: axe(4) with Ax88178 and Ax88772 support X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2007 19:19:27 -0000 On Feb 15, 19:33, J.R. Oldroyd wrote: > I have updated the axe(4) driver with Ax88178 and Ax88772 support. > > Go here to get it: > http://opal.com/jr/freebsd/sys/dev/usb/ > My original version of these Ax88178 and Ax88772 enhancements (back in February) did not use the chips' input frame bursting because the FreeBSD usb_ether framework does not support it. I have now enhanced the driver, removing its use of the usb_ether framework, and doing its own buffer management with large input buffers which can handle bursts of multiple input frames in one buffer. The diffs and files on the web page referenced above have been updated for this new version. The driver appears to work, and I have set it to burst up to 4096 bytes. The device can actually burst up to 16384 bytes. However, if I set it to burst more than 4096 bytes, the usb layer (ehci on my test system) stalls, and all input stops after just a few input frames. I'd appreciate feedback from anyone if larger burst sizes work for you. See the notes on that web page for details of how to change the driver's burst size. -jr