Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2220589iof; Tue, 7 Jun 2022 23:37:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOwowgESkvamkS9w7EaxDbbnmDTgiiHCZmAectGfLtz7uCWofvKqS91l9Uv7CLxtf0J/ki X-Received: by 2002:a63:f14a:0:b0:3fd:d2aa:6b30 with SMTP id o10-20020a63f14a000000b003fdd2aa6b30mr10795274pgk.348.1654670237470; Tue, 07 Jun 2022 23:37:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654670237; cv=none; d=google.com; s=arc-20160816; b=QoFsWWMltLS0yvZNw2/Tls5AYQdmy4ejPqLjyN+JmwIHJxTNSgSIEQPyLMeN9ypVkf 5862n5WXQBl90W4MfB7W00Ya9pzNO34agoRVRZI+F3zpuKNPBlqplfzRKR9JRiijOb/T waUcjvbUrpB6AT07BMOxS3Xp5RGouEBRDIdqXVATM4rJXEegbJXqCRMsh5jb1cWT/RLU a4c4WEbkHJoO3Wdm+DAlojTDYWBQR2hCoT9E4lb72XoAprNTg8TzHjM7EjDRVcJQB7Zp cRBtUydbS8BQ3sxJpuuxqzg4QzAq5fgLnepbsc7yIJrs6VgubADTXPPXVqBui6V0rc1B fs2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=JXSiYxgFZZ2tjAxBcyTrI4C3XZX0DeCU5mEV+jv6R6k=; b=hM62IgHC79wflcnkvLpY2UYQkZMo42RC9FZ576/1I7y0RGgkoJg/T157qLTfbgkku/ DptFaNqmCk4WJRlHuz0a3jD0VkizUekFEmzlAdwbRgKMannCPOrmvWY89kdAZUNKJPI8 XQkLkBjswtssN1YI+pu4XSRwmHKpsv2Hiuxt0bTWVZxfu1L7pCyzaQ1VKe6W0d6FVI6P zvaBdY/hA35qgFGz/ceQWRs99pLpd1oOJO9VJHx9u/xqPYy0dZDQJjTukC9R+s/vTOwz ni+Zf2Q5PdoVJ3D/UAud2tU+cOEP4QMEH8erSj1JSmFLLpHnT7uYMgwGAjtC1bIpmlQt HlmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hartkopp.net header.s=strato-dkim-0002 header.b=tTIXRIwQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d3-20020a636803000000b003fabebb91b0si27203706pgc.753.2022.06.07.23.37.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 23:37:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@hartkopp.net header.s=strato-dkim-0002 header.b=tTIXRIwQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B05BDFC83C; Tue, 7 Jun 2022 23:00:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352086AbiFHCS7 (ORCPT + 99 others); Tue, 7 Jun 2022 22:18:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243368AbiFHBzQ (ORCPT ); Tue, 7 Jun 2022 21:55:16 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [81.169.146.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B41531F7DAA; Tue, 7 Jun 2022 13:52:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1654635116; s=strato-dkim-0002; d=hartkopp.net; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject:Cc:Date: From:Subject:Sender; bh=JXSiYxgFZZ2tjAxBcyTrI4C3XZX0DeCU5mEV+jv6R6k=; b=tTIXRIwQyepuLXyRIEgr8laM1lqaJ/fmrXqiArmaPMoqiCXCC9HO6/UVS7VAqP3tyf Vvfg+spfS8Cm5h5lUdih2JmXw5jluDL4lUFeB1qpQp3K2x5isOTq+wYHGfHQYo5gLxwA OU/VijO4lXs8jPIFuQB4aGnGyrcuHQ0Zj2qZ3JGOISSO7aSY7GXlI0tQFZ/UpOoPulPm mIQ4fC8b1hbuyCmvdX1MTezHbP+PUoRwMz3VZx6jFc3Y51OUltbeZkk/p1RGCaHV4zpk aYB3UdEu1zQMZMoJ4SaU17Zv9/Eal9EHj+jLOJSaN0mY78t3tCexZXA3TrRj2qs2yNbc JmpA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P2MHfkW8eP4Mre39l357AZT/I7AY/7nT2yrDxb8mjG14FZxedJy6qgO1q3DbdV+Ofo7wY7W6Qxgy" X-RZG-CLASS-ID: mo00 Received: from [172.20.10.8] by smtp.strato.de (RZmta 47.45.0 DYNA|AUTH) with ESMTPSA id R0691fy57Kpt8dN (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 7 Jun 2022 22:51:55 +0200 (CEST) Subject: Re: [PATCH v5 0/7] can: refactoring of can-dev module and of Kbuild To: Marc Kleine-Budde Cc: Vincent MAILHOL , linux-can , open list , Max Staudt , netdev References: <20220513142355.250389-1-mailhol.vincent@wanadoo.fr> <20220604163000.211077-1-mailhol.vincent@wanadoo.fr> <2e8666f3-1bd9-8610-6b72-e56e669d3484@hartkopp.net> <20220607202706.7fbongzs3ixzpydm@pengutronix.de> From: Oliver Hartkopp Message-ID: <44670e69-6d67-c6c7-160c-1ae6e740aabb@hartkopp.net> Date: Tue, 7 Jun 2022 22:51:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20220607202706.7fbongzs3ixzpydm@pengutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 07.06.22 22:27, Marc Kleine-Budde wrote: > On 07.06.2022 22:12:46, Oliver Hartkopp wrote: >> So what about: >> >> symbol: CONFIG_NETDEVICES >> | >> +-> CAN Device Drivers >> symbol: CONFIG_CAN_DEV >> | >> +-> software/virtual CAN device drivers >> | (at time of writing: slcan, vcan, vxcan) >> | >> +-> hardware CAN device drivers with Netlink support >> symbol: CONFIG_CAN_NETLINK (matches previous CONFIG_CAN_DEV) >> | >> +-> CAN bit-timing calculation (optional for all drivers) >> | symbol: CONFIG_CAN_BITTIMING >> | >> +-> CAN rx offload (optional but selected by some drivers) >> | symbol: CONFIG_CAN_RX_OFFLOAD >> | >> +-> CAN devices drivers >> (some may select CONFIG_CAN_RX_OFFLOAD) >> >> (I also added 'hardware' to CAN device drivers with Netlink support) to have >> a distinction to 'software/virtual' CAN device drivers) > > The line between hardware and software/virtual devices ist blurry, the > new can327 driver uses netlink and the slcan is currently being > converted.... Right, which could mean that slcan and can327 should be located in the 'usual' CAN device driver section and not in the sw/virtual device section. The slcan and can327 need some kind of hardware - while vcan and vxcan don't. Best regards, Oliver