Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2028228pxu; Sun, 13 Dec 2020 11:05:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRHWKoqvzGl9O2xrpCEktjqSFcXFF31dfvnO1eqZVC0U7ZkgiBc/4MIdmZbx5K6aoDqjH/ X-Received: by 2002:a50:d74c:: with SMTP id i12mr21498439edj.236.1607886306003; Sun, 13 Dec 2020 11:05:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607886305; cv=none; d=google.com; s=arc-20160816; b=ZadwGA1TSpIp2BhNm7bf2hjx+BlPClOP7rWL09QoXMUfJ7IirOIC36wwr6vQ4xW7ox 5mPYrwYdEJObnuoCNibulmSvnhvFMOp+ZU4+uxqNFKymcHN8Z9Y4hp5cIysaiM1udyGq ETuyJFEjzK91nJBgOEkmqGYZXpOvA1Y5ax93hSMhYeai+IsFkUN8tVCiAVNxd3k/uOae 9OZpkbV0mNLkfTAMtNIlw1bqVX8WtFQ774lcxeKD53XjviJ8ncWmaZqnhkf8di5EOZk3 Qk/SvV/r/TFq+Fx/5CT5g7aDBiKUDSblQiqATVmEUP6KKBgAWuO/tfhKEcgQtHuRwqGB goTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :subject:cc:to:mime-version:user-agent:from:date:message-id :dkim-signature; bh=y65Ed7t5TSbO0dBqe9mOeL9J+97H7TMQaJSm9JkCIJs=; b=culauKMwY7zWyPJFgYeh95Kk/KvuhmLu6xVuYtr/tq8GUFD5sdwZtylbvJesxBF8BL r8L9piW72ami1gkh+qb3Jdlso8v9ErYLV4qNRa0jXM/huPU4f416pOSJvszp0lnHuB+n 1Wu9fBdzMPu8wtblGdUaOvty//a2W5BzPCYMh0Z0pc0AOH/rlmAlh9ZgHo6FHkoqcLjz eofumDdCUr+CeNkjnrgHqZJ+FB64R/K96IooE9JUUcSXGYO03Zp3Nqnjg8+RuQNk7Xxy xue/W7V3xGuTKWvXEeUcVnQzLoGBM1c6OR5rGkj3xlICJTjxx3iJG/s0WepnQgmiKaqC eehA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RPu7bmSu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y12si1870584ejq.432.2020.12.13.11.04.43; Sun, 13 Dec 2020 11:05:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RPu7bmSu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727182AbgLMRbE (ORCPT + 99 others); Sun, 13 Dec 2020 12:31:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727017AbgLMRbD (ORCPT ); Sun, 13 Dec 2020 12:31:03 -0500 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 180DAC0613CF for ; Sun, 13 Dec 2020 09:30:23 -0800 (PST) Received: by mail-ed1-x544.google.com with SMTP id r5so14699706eda.12 for ; Sun, 13 Dec 2020 09:30:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=y65Ed7t5TSbO0dBqe9mOeL9J+97H7TMQaJSm9JkCIJs=; b=RPu7bmSu/52FoKsxaI5YuzQuHrHBjTUK80qN0GDg4GBQ2JnWbgb9V8WYAUigZQDflK yCzRENY1ZJDhnkyPX4VOiry2J5Vh37d4jrsRLbyK6H89G7aXyP+O0pc+lBNdifsW9Riq wgYz6FK4u+KA8Jj560WWOGiJgWXlCct7Mn6jEM4Z4NgjioCCRopsip/hxEXaf/k/hOcr ETJNWYW9B1DQxMm0ZWsLzFz22vOXUwR0+8iGGJIWAPZx6//NeeS0iY7ISkGsdEBaU6am Mq5QtA3Hi1eO2qolYHTGDXp//G91riKIo/SvWaIaB0rjJEtYZiMhLdYWhJJVr2gxKXj7 yylw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=y65Ed7t5TSbO0dBqe9mOeL9J+97H7TMQaJSm9JkCIJs=; b=r+cV5QdznaiRupfuiAaB8+Z9RM3ogwWr/sZ53OxN/SxLRwE8boc8INkzG7lp574O/Y evvbEWDVKGYuLF4tkyHd2UjXBEKwOKOg4keJf+KWF1BgwJ6qcm4e2s+81m/7xdChfgtZ r23Q0WGzDL0AeE0CJ+JfqXpxZd52JCr8mf3uLhT4c+WXC9Y/Eakc2jffXOe+XWdE/xjD S9j/veVD4YinT+ywlOck8DjY4GrhTJNGzrte1kewuj8/Rz7YvDL14C0rAV3sra7TelM/ S0ZyJlUVRtpw0w1zx2RPYn58jLzLX8Ah+C+vPt1Yx5oT63txd3Ty63cKdWfmfuRmTUMg C6gg== X-Gm-Message-State: AOAM53308PYzVe5dwVMEIawX/+Nev1W6jG8ImEU4iixcwPLUAw3/jSPG aymkWuwwi7xU365t/YjXDTM= X-Received: by 2002:aa7:db01:: with SMTP id t1mr21329444eds.185.1607880621727; Sun, 13 Dec 2020 09:30:21 -0800 (PST) Received: from [109.186.216.164] (109-186-216-164.bb.netvision.net.il. [109.186.216.164]) by smtp.gmail.com with ESMTPSA id s26sm12984819edc.33.2020.12.13.09.30.20 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 13 Dec 2020 09:30:21 -0800 (PST) Message-ID: <5FD64F9A.3040807@gmail.com> Date: Sun, 13 Dec 2020 19:30:02 +0200 From: Eli Billauer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7 MIME-Version: 1.0 To: Randy Dunlap CC: gregkh@linuxfoundation.org, arnd@arndb.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH] char: xillybus: Add driver for XillyUSB (Xillybus variant for USB) References: <20201213170503.59017-1-eli.billauer@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Randy, The new driver doesn't depend on XILLYBUS, so the patch puts it correctly outside the "if XILLYBUS" clause. It indeed looks like a mistake, but it isn't. :) Thanks for paying attention to this. Regards, Eli On 13/12/20 19:22, Randy Dunlap wrote: > On 12/13/20 9:05 AM, eli.billauer@gmail.com wrote: > >> diff --git a/drivers/char/xillybus/Kconfig b/drivers/char/xillybus/Kconfig >> index 130dbdce858f..18fa99ec1029 100644 >> --- a/drivers/char/xillybus/Kconfig >> +++ b/drivers/char/xillybus/Kconfig >> @@ -32,3 +32,14 @@ config XILLYBUS_OF >> system, say M. >> >> endif # if XILLYBUS >> + >> > Hi Eli, > > You don't want this new part inside the "if XILLYBUS" block above? > IOW, XILLYUSB does not need XILLYBUS? > > >> +config XILLYUSB >> + tristate "XillyUSB: Xillybus generic FPGA interface for USB" >> + depends on USB >> + select CRC32 >> + help >> + XillyUSB is the Xillybus variant which uses USB for communicating >> + with the FPGA. >> + >> + Set to M if you want Xillybus to use USB for communicating with >> + the FPGA. >> > thanks. >