Date: Fri, 21 Oct 2016 09:18:11 +0200 From: Hans Petter Selasky <hps@selasky.org> To: David Horwitt <david@aogsquid.ucsd.edu>, freebsd-net@freebsd.org Subject: Re: Adding RTL8153 support to rue(4) USB to Ethernet driver Message-ID: <30de3b9c-98c4-0bbc-dce2-eddc52e98b10@selasky.org> In-Reply-To: <58092C6D.8080105@aogsquid.ucsd.edu> References: <5807B630.1060806@aogsquid.ucsd.edu> <3622755d-b0cd-60bf-0f81-469d06e65595@selasky.org> <58092C6D.8080105@aogsquid.ucsd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/20/16 22:43, David Horwitt wrote: > On 10/19/16 11:25, Hans Petter Selasky wrote: >> >> Hi, >> >> Search the idVendor and idProduct values in the Linux kernel. I think you need to implement some propritary miibus to >> get it working. CDC ethernet does not define any miibus. >> >> --HPS >> > Thank you for the quick response. > > Do you mean that I need to implement a small driver at VID:PID (0bda:8153 for this device) using cfg 0 to initialize the > built-in MII (using the Linux RTL8152/8153 driver as a model), and then switch to cfg 1 to use the CDC device for actual > operation? > No, I think the cfg 1 with CDC has the additional interface. Look at what the Linux driver does or get another ethernet adapter :-) --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30de3b9c-98c4-0bbc-dce2-eddc52e98b10>