Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp283088pxb; Tue, 12 Apr 2022 01:44:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYaxZ1qVc2H/tfwx5x0fGat6VOB17iV3LfK/FtKs3bRN8G/q6Qsnz2YP8RPv7R6DCQg9P5 X-Received: by 2002:a17:90a:ab08:b0:1cd:34ec:c731 with SMTP id m8-20020a17090aab0800b001cd34ecc731mr782703pjq.202.1649753069092; Tue, 12 Apr 2022 01:44:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649753069; cv=none; d=google.com; s=arc-20160816; b=xyAStaBArDLCxQw5ccpd7PK3b8WBUgbO7dSiiQXZd6EMgO9r4I+wMmLH2WTbC/9BG7 6ORDDDtjf3FVfSK9BT/NWSyQSL0dumeHbqIGlBgMtzMHtjnWQbzSRr4IssldhnZiUuTK qjnBqvVAinpOz+bqeVeSyAVR+qdO2KgHRkNU8P9zQAdqggaksbkE1s2LkvwGqQcLMxKP JY+sE3nP8WPjxbma8A58uUeFynn195UVR6kYGS+pdXI4ia18qPqR5+dJEm6ovAEVTHCi IqQUk2lRehL8JdN1D0RH8HQzrTPOCAxCaHzV5SBvPzKLS4q6KDDCs4CVhbAse3/bQX1s rJDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:organization :subject:cc:to:from:dkim-signature; bh=dNK6QvzfkB+BZ2rLeGGl1RWUm0ala0WHo/wVB47NP18=; b=Xz5ajaiBJNHXaTrQF6oTCtvKOo1wnrDF2F0WfKJazN41avvWKtnIYVci7AEUI9lHZi gb32j6CKXq5pLNAclyA6MSqQpglOQ2M8GauAWPnx4eC1Gpo42DrO+JDNeHDvddydRn6T nOk7aOCoatzufdVzKCsxGg41H8rG5c/Ip8SmW00AdkCCjYVbV98p9JMl/Z2HB3xts1tf XnFdJ/N3VpKFjxyYP7ZNtC6v0GNnUcLeAKCIjXs961h+o7CzS9Jhb/yXAmc8AbTEFc+M PQfF3GePT7eA64TBx8oa8FtuxFehWUJhdLTywfQPYEuYlxJQC0i3iPx5njCBfBscsFjO so+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mork.no header.s=b header.b=ljt89BOx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mork.no Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l64-20020a638843000000b0038618392390si2144514pgd.292.2022.04.12.01.44.15; Tue, 12 Apr 2022 01:44:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mork.no header.s=b header.b=ljt89BOx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mork.no Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236303AbiDHNhk (ORCPT + 99 others); Fri, 8 Apr 2022 09:37:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236291AbiDHNhg (ORCPT ); Fri, 8 Apr 2022 09:37:36 -0400 Received: from louie.mork.no (louie.mork.no [IPv6:2001:41c8:51:8a:feff:ff:fe00:e5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7055A2F429E; Fri, 8 Apr 2022 06:35:30 -0700 (PDT) Received: from canardo.dyn.mork.no ([IPv6:2a01:799:c9f:8600:0:0:0:1]) (authenticated bits=0) by louie.mork.no (8.15.2/8.15.2) with ESMTPSA id 238DZEaD542723 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Fri, 8 Apr 2022 14:35:15 +0100 Received: from miraculix.mork.no ([IPv6:2a01:799:c9f:8602:8cd5:a7b0:d07:d516]) (authenticated bits=0) by canardo.dyn.mork.no (8.15.2/8.15.2) with ESMTPSA id 238DZDlN2391998 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Fri, 8 Apr 2022 15:35:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1649424913; bh=dNK6QvzfkB+BZ2rLeGGl1RWUm0ala0WHo/wVB47NP18=; h=From:To:Cc:Subject:References:Date:Message-ID:From; b=ljt89BOxjAHcCO0CHlTHJLHmsDv7Fn7I2qmSTwJYpLga/lyrHn4Eay9jLyTwwmcVQ Hpe9hn/xYSzin0htvQwljku53u2vOM9g8uz67dhz/++tMq8yBTPaJ2AdKRgAZQe1Wa QTVTPWm1mYLw/H0QWmua3VphyvPvW2DUp4Ls9FQI= Received: (nullmailer pid 762927 invoked by uid 1000); Fri, 08 Apr 2022 13:35:13 -0000 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= To: Lars Melin Cc: sven@svenschwermer.de, linux-usb@vger.kernel.org, Sven Schwermer , linux-kernel@vger.kernel.org, oliver@neukum.org Subject: Re: [PATCH v1 2/2] net: usb: cdc_ether: Add Fibocom MA510 modem Organization: m References: <20220407074745.74195-1-sven@svenschwermer.de> <20220407074745.74195-2-sven@svenschwermer.de> <3b8a8497-df41-8bf4-6816-f4419cb7f950@gmail.com> Date: Fri, 08 Apr 2022 15:35:13 +0200 In-Reply-To: <3b8a8497-df41-8bf4-6816-f4419cb7f950@gmail.com> (Lars Melin's message of "Fri, 8 Apr 2022 08:15:00 +0700") Message-ID: <87ee27y9ym.fsf@miraculix.mork.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: clamav-milter 0.103.5 at canardo X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Lars Melin writes: > Why do you add this modem to the whitelist? I believe the clue is the > + .driver_info =3D (unsigned long)&wwan_info, to set FLAG_WWAN instead of the default FLAG_ETHER | FLAG_POINTTOPOINT > The net interface has the correct cdc_ether attributes so the > cdc_ether driver should bind automagically without any need for the > modem to be in the whitelist. Yes, this sort of works against the class driver philosophy. But we've already started down that road, so... Bj=C3=B8rn