From owner-freebsd-current@FreeBSD.ORG Wed Jul 20 20:25:09 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4C0B106566B for ; Wed, 20 Jul 2011 20:25:09 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB8B8FC26 for ; Wed, 20 Jul 2011 20:25:09 +0000 (UTC) Received: by iwr19 with SMTP id 19so751865iwr.13 for ; Wed, 20 Jul 2011 13:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=R/iL+wCifKIeJAAG1SSMy9D/9cIh5lyOSPiEjWaXF48=; b=AQRL7IXlvYxXyG8VvLtf06vtTTSiEAI7lPN3oc6bleKj3HmEFgNz0Vmhxxxgh5x19v pSXLd/LKQ9+1X8Qu6jsFGymqi2TKEF1noDBL6B/hkYOnLhDnlnDmIl11DQKv/cFRDVGi AQZSsboH6ZchC50wl/1ErVAdxGPrGggp3O9Kc= Received: by 10.231.21.15 with SMTP id h15mr8460999ibb.76.1311193508704; Wed, 20 Jul 2011 13:25:08 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id y3sm363226iba.38.2011.07.20.13.25.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jul 2011 13:25:08 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 20 Jul 2011 13:24:05 -0700 From: YongHyeon PYUN Date: Wed, 20 Jul 2011 13:24:05 -0700 To: Andrey Smagin Message-ID: <20110720202405.GB11521@michelle.cdnetworks.com> References: <20110630171914.GA12124@michelle.cdnetworks.com> <20110713000541.GC7564@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: AX88772A AX88772B chipset differences? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2011 20:25:09 -0000 On Wed, Jul 20, 2011 at 11:46:54PM +0400, Andrey Smagin wrote: > > 13 июля 2011, 04:07 от YongHyeon PYUN : > > On Thu, Jun 30, 2011 at 10:19:14AM -0700, YongHyeon PYUN wrote: > > > On Thu, Jun 30, 2011 at 02:44:48PM +0400, Andrey Smagin wrote: > > > > I have card based on AX88772B. I tried patch axe driver for vendor and > > device IDs. card detected, set up link, but no data received. What else need > > for patch in this driver ? Anybody have datasheet ? > > > > > > ASIX requires a login account to get the data sheet so it's not > > > publicly available to open source developers. > > > AFAIK the difference between AX88772A and AX88772B is IPv4/IPv6 > > > checksum offloading support of AX88772B. The introduction of > > > checksum offloading means they might have changed its RX header > > > format which in turn makes current RX handler to not work. The > > > other difference would be more advanced power saving used in > > > AX8877B but it wouldn't be much difference to axe(4) driver once > > > PHY is correctly woken in initialization phase. > > > Could you show me your diff and verbose boot output to know PHY > > > model and EEPROM data? > > > > I have a minimal patch for AX88772B. It requires more work to > > support TX/RX checksum offloading, flow-control and power saving > > but attached patch would be enough for most cases. > > Let me know whether it works or not. > > Great thanx !!! It work but I not tested under heavy load. Only ping and some Mbytes via nfs. > Thanks for testing. The patch was already committed to HEAD(r224020). I'm implementing TX/RX checksum offloading and flow-control and that feature would be available in near future. Thanks.