Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3929014pxb; Mon, 1 Feb 2021 08:10:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyO4gltAWn4KyiaSEtRz2fiXKTw8SIsjfOWA03NiRWl5wTTVoKIAPhiRiXBx8bcftRn4nGH X-Received: by 2002:a17:906:390c:: with SMTP id f12mr7486517eje.31.1612195854729; Mon, 01 Feb 2021 08:10:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612195854; cv=none; d=google.com; s=arc-20160816; b=ElDi8oW1Fs9NHwPVZO+RGeVtys0vs6/53HhGKnlrxYbqImAdTkcD59BmoicdqfENDF o3PCIUcmSOUgEC852m5wPeXbce6O3zcRJkMlxxkZ80MCi+/xM0IL1zjZKAXp03ISP66m Dg52Gk5+0kSlyKacfoes3uQHGX1UHrqsxDUMJk+Di/4ZvGFkD0gFBoP6xgxIKgwLINuk l4+zfbx2/sTKnspSfGNCI0KgII0NtRfw63h16vnHjhSDDd8/9ZucDvVPAsL/0/46mqp/ yyw+qWT9uFKcQ5qGV65lD9MiaX+XOqLcWXY60t7w9BiTAhgKUUXVW4imcnSUvYXywKl1 37FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sQQcpZkPx9WSmWzwy4mnsvpECpG6hH/UHXD2T3AoVJk=; b=y/wb7UUsNQpw1k8pZJJdjZfLrQ9suyAqTgY906b9n/MMfJoffstooN6xaq4oPlYjc+ 7CVQ+QnPk4AKkYM/PxxQ0ywvQNb1NTrK9OmdR4JSx3gLSFZQZnM7EvbTvjBBa7v3fzN1 CKhW6h90EV2P9UsbBreEfmx945ssbIFhmP2vzwGLNNScLmtXAPbLcfVeV2o2eBe0t4q3 gJ0XNLOI9UIGmRsdp0Ixyr7hJMPXr5QMxpQQAb3LVD8d88FmjZSk+siKO9bJKjKk3ysq t9POJzt58Ypj/1CPK1G4v8UmxDIpiKDdNOqhvJPRmpNTUgng9g42AYuZ/ksZeIkLy9b7 COQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LcvVqzSf; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t17si11801375ejs.180.2021.02.01.08.10.28; Mon, 01 Feb 2021 08:10:54 -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=@linuxfoundation.org header.s=korg header.b=LcvVqzSf; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230281AbhBAQGy (ORCPT + 99 others); Mon, 1 Feb 2021 11:06:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:51210 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231144AbhBAQGt (ORCPT ); Mon, 1 Feb 2021 11:06:49 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5E6ED64D7F; Mon, 1 Feb 2021 16:06:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612195569; bh=sbVt3w4s2AkOOcnW1zod/LGOmTAFaiiCubsVmm7LWpo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LcvVqzSfOFsnKjy2BCLVmc9jrrEF4xPfB6h+gB7sm+YgslGx3x2S9+tLkUYxgIrIY UoMTcB99z+FF5EyC2ZEvZ383ABjT0YdOTyjLs2O6xTrkgplNdfOFhE+koBLzRmqnlA XtIvtOQWDko7TF3RyfIolnIzFOCWte53HYzmrXy8= Date: Mon, 1 Feb 2021 17:06:06 +0100 From: Greg KH To: eli.billauer@gmail.com Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [RESEND PATCH v2] char: xillybus: Add driver for XillyUSB (Xillybus variant for USB) Message-ID: References: <20210201155619.66960-1-eli.billauer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210201155619.66960-1-eli.billauer@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 01, 2021 at 05:56:19PM +0200, eli.billauer@gmail.com wrote: > From: Eli Billauer > > The XillyUSB driver is the USB variant for the Xillybus FPGA IP core. > Even though it presents a nearly identical API on the FPGA and host, > it's almost a complete rewrite of the driver: The framework for exchanging > data on a USB bus is fundamentally different from doing the same with a > PCIe interface, which leaves very little in common between the existing > driver and the new one for XillyUSB. > > Signed-off-by: Eli Billauer > --- > > Notes: > Changelog: > > v2: > - Add comment in Kconfig file, saying XILLYUSB really doesn't depend > on XILLYBUS (following comment by Randy Dunlap) > > - Use SEEK_* predefined constants instead of numbers As brought up on the other list, this should either: - use the same device nodes as the existing xillybus drivers do, as you have the same api - just do it all in userspace using libusb. thanks, greg k-h