From owner-freebsd-net@FreeBSD.ORG Sun Jun 7 13:33:18 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE220789 for ; Sun, 7 Jun 2015 13:33:18 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9730F1A8D for ; Sun, 7 Jun 2015 13:33:18 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by ieclw1 with SMTP id lw1so83404364iec.3 for ; Sun, 07 Jun 2015 06:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=izGvVRYXtyskqxUS57Ae+I1N2rbejZ4SrI98WLKBWew=; b=EbPi1+DVOnk0Ky9MHOB2ea1GOxRpgOsWSUsl6ooHMTsT52n2bJGtkW6LAmbDNoNQMu Od/k2jKEidzJimvremBt5gLQv4yCncFr3RaceuUZ6IQEuSovmjyhiyb0cxUQ4j3We80g Uzj/b76HEQHC9RCb7Pchrrw8mG2jnjQbgW5yHFfmIfvDsmBqNreKo1LcDy9W8MzgwwJ6 H+I4q+8yJSYfTBVaFcvByoXfzHqQ8dkqjZWUYYGmbOJbE2fbrnQOyvW3c61xpcPFbDU7 XBAWrkRGuCPBFMXEQYWNGtQE436HyqRPdHpjJD9iDiP0UWZzX7bYIWf+7o4Sd134fdA9 jCUw== MIME-Version: 1.0 X-Received: by 10.107.138.208 with SMTP id c77mr14978846ioj.24.1433683997913; Sun, 07 Jun 2015 06:33:17 -0700 (PDT) Received: by 10.64.236.10 with HTTP; Sun, 7 Jun 2015 06:33:17 -0700 (PDT) In-Reply-To: <556F2159.1010704@selasky.org> References: <556F1AC7.3030505@selasky.org> <556F2159.1010704@selasky.org> Date: Sun, 7 Jun 2015 21:33:17 +0800 Message-ID: Subject: Re: Adding RTL8153 support to rue(4) USB to Ethernet driver From: Ben Woods To: Hans Petter Selasky Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2015 13:33:18 -0000 On 3 June 2015 at 23:46, Hans Petter Selasky wrote: > On 06/03/15 17:42, Ben Woods wrote: >> >> Thank you for your help HPS! How can we make this work out of the box >> in the future? > > > Hi, > > In dev/usb/quirk/usb_quirk.c you can add a quirk that config index 1 should > be selected by default for your device. > > --HPS > Thanks again for your help HPS. I have submitted a bug report with my patch here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200693 I am curious why the cdce driver is used, as I was expecting it to use the rue(4) driver. Regardless, I have tested this patch and confirmed it works on FreeBSD current. Regards, Ben