From owner-freebsd-usb@FreeBSD.ORG Fri Jan 19 16:28:35 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 E3A4516A401 for ; Fri, 19 Jan 2007 16:28:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 7FA9F13C45D for ; Fri, 19 Jan 2007 16:28:35 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe08.swip.net (CommuniGate Pro SMTP 5.0.12) with ESMTPA id 386733100; Fri, 19 Jan 2007 17:28:34 +0100 From: Hans Petter Selasky To: Volker Date: Fri, 19 Jan 2007 17:28:09 +0100 User-Agent: KMail/1.7 References: <200701191350.l0JDoI6q048506@freefall.freebsd.org> <200701191534.17646.hselasky@c2i.net> <45B0EF4D.2000006@vwsoft.com> In-Reply-To: <45B0EF4D.2000006@vwsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701191728.10332.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb/108097: [usbgen] [patch] ADMtek 851X USB-to-LAN adapter 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, 19 Jan 2007 16:28:36 -0000 On Friday 19 January 2007 17:18, Volker wrote: > Hans Petter, > > On 01/19/07 15:34, Hans Petter Selasky wrote: > > Could you get the revision number for this chip. For example what > > does > > > "usbdevs -v" output? > > usbdevs -v says: > > port 4 addr 8: full speed, power 144 mA, config 1, ADM8515 USB To > LAN NIC(0x8515), ADMTEK(0x0a46), rev 1.01 You can try setting the AUE_FLAG_VER_2 for this device, and see what happens. You don't need current to install current to try my driver. # # the following works on head and 6-stable # svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b # # The following commands will # install the driver on FreeBSD: # cd i4b/trunk/i4b/FreeBSD.usb make S=../src package make install # then build a new kernel. > > > PS: I have added support for the newer AMDtek 8513 to my new USB > > stack. You > > > maybe want to try that one first. > > Currently I don't have a CURRENT machine installed. > > http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/if_aue.c > > > Look for 0x0201 > > Talking about this one in aue_attach? > if (uaa->release >= 0x0201) { > sc->sc_flags |= AUE_FLAG_VER_2; /* XXX currently undocumented */ > } Yes, and in the callback functions. --HPS