Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2745418imm; Sun, 14 Oct 2018 03:57:49 -0700 (PDT) X-Google-Smtp-Source: ACcGV62eOZ6NLVV+Gan/PNx8J0NrDS8RS1G4dx93mGmJqZH+XbsKntpRECm77+fz89Fgw2GlVKyH X-Received: by 2002:a17:902:b492:: with SMTP id y18-v6mr12986303plr.254.1539514669904; Sun, 14 Oct 2018 03:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539514669; cv=none; d=google.com; s=arc-20160816; b=b9cE6CkSAcLyf0s2RZqcoahg1Hz4TpOPOZOR4Z00YBZtm+2tGFBeKnjooIDA4qSFDu HukqGsIPYBlDbAzLsFV7ZyERFuLzxy3bz4o2Xe/CHZ+7mVyvYU0e4JyduV/xRnCanm4h ZBx/qO/9LJxqIdGqYAHbfteiu7zXQil1OFvxg7m5Lqg3NVgKYDuNsa0bJBedWspvltnf peRrj0ISnq9HB8oElyzppcmC/jfTKPBDwA2JizAAmapeRLkJ+x2O3Y7L8X4e5u9S12Qb tvu/+pth2UlndXZzy02L/NKNZry6/lSe5zg8upLW2PWcsJSjP9N0aW8W5/zAFcA1e37I Zh0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=MQDPYU/0Cqsidu70UdEZWefFWPhLvDn9unEpQ0D6SX0=; b=p2QsbNB00dn7NJKkfdwLppl0WzSVvochbiMMLL2m4ISSC5e2bSK5diRLza6BdAHMd2 bq7nOcmGgRXTkB2gfIAS5JOdzrBFuB+WAskA8Demto7xRvqf3/6ko6aKkBekL86gFCR6 7oDhp4OVppb1E9dYh2gX6wb1AJVF6H78WygUfPttVufAvovJ7xlW40TqR84XiPN0PvbG Kjgi46lA3RNNNmlazz69ehHqz+qpXKx2LhGlyVd3eXYcr/ncO6Io8R5vJ+AB3/DCPmyG ysmMr3fnETIqeERgRN47hNJpzGINKARsuRLPvQtjllZIzfhYYtpqaT22WtXWKVRehoNN erZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11-v6si6637033pfn.212.2018.10.14.03.57.34; Sun, 14 Oct 2018 03:57:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726864AbeJNSgr (ORCPT + 99 others); Sun, 14 Oct 2018 14:36:47 -0400 Received: from mail-ua1-f67.google.com ([209.85.222.67]:46181 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbeJNSgr (ORCPT ); Sun, 14 Oct 2018 14:36:47 -0400 Received: by mail-ua1-f67.google.com with SMTP id z8so1050548uap.13; Sun, 14 Oct 2018 03:56:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MQDPYU/0Cqsidu70UdEZWefFWPhLvDn9unEpQ0D6SX0=; b=ggzSOmD+pVIw9w+YNEK2M55rCoWCLtP8Bfhw0JAqw8LpR1lI8zwv8Mgi3QFg9poWCh 9FTyzLQf0Xe6SW8A4NbE8GqyrnqNeezDgi7IzS2y8q5S3pbb0D2oz8dprbhcUN/8QEDs 67SqEQZ58culPyDdwY1sY6VhJ1blG219mcirVji0wQszBVYxpymtxD+CDMNMlvg59a38 v2grpoAj5Pnb/PtwP7Tpb9Z6HiMfjuQQ++FJiaGOmCfSZCs1wRfdtiFpUbiO/NGWHCIz 0Th6SCr14ZQAgPqKhUug2m9YL+YKLLMLgBgnDu6zLKAN6SjEkBiSHld4LBjUpkaSd5M5 9IVw== X-Gm-Message-State: ABuFfohjeFJpO6EofWHwaO/RVp+H6gQv6T5zW39ZnLUtbfrZCXyNOWvF Gg8qR3ReM0qa47882xSSkTDPa9mV0cxlNzdCTi8= X-Received: by 2002:a9f:31e2:: with SMTP id w31mr5834623uad.0.1539514569646; Sun, 14 Oct 2018 03:56:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Geert Uytterhoeven Date: Sun, 14 Oct 2018 12:55:57 +0200 Message-ID: Subject: Re: [PATCH v2 5/6] esp_scsi: De-duplicate PIO routines To: Finn Thain Cc: "James E.J. Bottomley" , "Martin K. Petersen" , Michael Schmitz , Hannes Reinecke , scsi , linux-m68k , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Finn, On Sun, Oct 14, 2018 at 8:35 AM Finn Thain wrote: > As a temporary measure, the code to implement PIO transfers was > duplicated in zorro_esp and mac_esp. Now that it has stabilized > move the common code into the core driver but don't build it unless > needed. > > This replaces the inline assembler with more portable writesb() calls. > Optimizing the m68k writesb() implementation is a separate patch. > > Tested-by: Stan Johnson > Signed-off-by: Finn Thain > Tested-by: Michael Schmitz Thanks for your patch! > --- a/drivers/scsi/Kconfig > +++ b/drivers/scsi/Kconfig > @@ -42,6 +42,10 @@ config SCSI_DMA > bool > default n > > +config SCSI_ESP_PIO > + bool > + default n "default n" is the default, so please drop this line. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds