From owner-freebsd-net@freebsd.org Thu Oct 20 20:43:29 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCED8C1B98B for ; Thu, 20 Oct 2016 20:43:29 +0000 (UTC) (envelope-from david@aogsquid.ucsd.edu) Received: from fed1rmfepo202.cox.net (fed1rmfepo202.cox.net [68.230.241.147]) by mx1.freebsd.org (Postfix) with ESMTP id AB1A7FB4 for ; Thu, 20 Oct 2016 20:43:29 +0000 (UTC) (envelope-from david@aogsquid.ucsd.edu) Received: from fed1rmimpo110.cox.net ([68.230.241.159]) by fed1rmfepo202.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20161020204323.HJCA3827.fed1rmfepo202.cox.net@fed1rmimpo110.cox.net> for ; Thu, 20 Oct 2016 16:43:23 -0400 Received: from [192.168.25.200] ([174.65.112.147]) by fed1rmimpo110.cox.net with cox id xwjN1t0093ArtDJ01wjNAM; Thu, 20 Oct 2016 16:43:23 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A090205.58092C6B.002F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.1 cv=SdJXDqlu c=1 sm=1 tr=0 a=kEcOQgfb31AP6aoOu6fJYg==:117 a=kEcOQgfb31AP6aoOu6fJYg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=N659UExz7-8A:10 a=KL6-4wenZDBwHSelpQgA:9 a=pILNOxqGKmIA:10 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (PLAIN) smtp.auth=dhorwitt@cox.net Subject: Re: Adding RTL8153 support to rue(4) USB to Ethernet driver To: freebsd-net@freebsd.org References: <5807B630.1060806@aogsquid.ucsd.edu> <3622755d-b0cd-60bf-0f81-469d06e65595@selasky.org> From: David Horwitt Message-ID: <58092C6D.8080105@aogsquid.ucsd.edu> Date: Thu, 20 Oct 2016 13:43:25 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <3622755d-b0cd-60bf-0f81-469d06e65595@selasky.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2016 20:43:29 -0000 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? Thanks, DH