Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969751AbdIZPTv (ORCPT ); Tue, 26 Sep 2017 11:19:51 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:43797 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968202AbdIZPTt (ORCPT ); Tue, 26 Sep 2017 11:19:49 -0400 X-Google-Smtp-Source: AOwi7QBzWN4uVWRLIshkmWOagL6+b4KE4yIiWD8zh7j19tHknc2gTEN3/Zk87pqRLp5v+rMe+sWS1/WBNWOm1GVd0Uc= MIME-Version: 1.0 In-Reply-To: <20170926010925.114436-1-grundler@chromium.org> References: <20170926010925.114436-1-grundler@chromium.org> From: Doug Anderson Date: Tue, 26 Sep 2017 08:19:46 -0700 X-Google-Sender-Auth: fsdUlRuZHoezzHQe-tFw8yWXVTQ Message-ID: Subject: Re: [PATCH V2] r8152: add Linksys USB3GIGV1 id To: Grant Grundler Cc: Hayes Wang , linux-usb , "David S . Miller" , LKML , netdev@vger.kernel.org, Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1393 Lines: 34 Hi On Mon, Sep 25, 2017 at 6:09 PM, Grant Grundler wrote: > This linksys dongle by default comes up in cdc_ether mode. > This patch allows r8152 to claim the device: > Bus 002 Device 002: ID 13b1:0041 Linksys > > Signed-off-by: Grant Grundler > --- > drivers/net/usb/cdc_ether.c | 8 ++++++++ > drivers/net/usb/r8152.c | 2 ++ > 2 files changed, 10 insertions(+) > > V2: add LINKSYS_VENDOR_ID to cdc_ether blacklist I understand that in v1 people pointed out that if we didn't add this to the cdc_ether blacklist that we might end up picking the wrong driver. ...but one thing concerns me: what happens if someone has the CDC_ETHER driver configured in their system but _not_ the R8152 driver? All of a sudden this USB Ethernet adapter which used to work fine with the CDC Ethernet driver will stop working. I know that for at least some of the adapters in the CDC Ethernet blacklist it was claimed that the CDC Ethernet support in the adapter was kinda broken anyway so the blacklist made sense. ...but for the Linksys Gigabit adapter the CDC Ethernet driver seems to work OK, it's just not quite as full featured / efficient as the R8152 driver. Is that not a concern? I guess you could tell people in this situation that they simply need to enable the R8152 driver to get continued support for their Ethernet adapter? -Doug