Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1905722imm; Thu, 18 Oct 2018 06:15:22 -0700 (PDT) X-Google-Smtp-Source: ACcGV61rlu3cWJwfMa/lV7dpZ1d2SJncwAQn3XcdQ9qw5OLjVAzTX4iNQpnIhNA9LfevB22Nzu8y X-Received: by 2002:a62:2a15:: with SMTP id q21-v6mr14570582pfq.61.1539868522020; Thu, 18 Oct 2018 06:15:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539868521; cv=none; d=google.com; s=arc-20160816; b=Q7tVwUAlnHcPK9XSt6ShoLbuRfTGl6XyaC3ph2VbiU9Z8izarpUjFZfHUXlK80wT5Z 5o91pQrCh/RzKLgl4yYCe3c3f9OhXUdJhq1n/cb092IkR0dv9mEsiuQGOP8tRHwJOM/V GE2THFKJMDNz8wclJ+2PubkoZ6EVax3Imq/e9/bJotZ9VzShY6cD5u4unR1rbsfL2NGs kUuREUvHM9JHkrSvtCGmootBQPRKMTavw3Q9WZeJUvS6vA5uawPmm4ioLtRIxU4Ji97E TxtNBzpIq+ZjR7b3/w5roR9s4BDQbjb5ftRGUVI3k3ugDyrhmpU+EDwPSScUztcq2KFL u9DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :from:cc:to:subject:dkim-signature:dkim-filter; bh=pQ5nZ1qDEAtPX9EMJ1JtbQ2/TEbkHb1ki8t3eY8HsLA=; b=M8AlokWu3TiZ3o6E8ZMidBgtrj2jZuVHabx6RCZhtjEmn1Z6Wg107fgBKoOXtAzKpn 59NQ8nsnzc+Hv9AAM5ZbWpnJy+F6vUXB4YuPXV3ieEhoqrTR0TwSKYTM0mLBrZb0eJln zajGRwFscMa5txwvTfeWuZqBADJbS1Y6DPlCE6mrWyAByqxqZUlhfhrOn4XFzVDmTksG NtzcoUmWrlYxNgCl2srmRtjdbMthoPv5d+pF1x9OmUseYI6EtEj8pY6nqgiL0d6EED/B mZ/PCSCvrkQmriQJeJ5wethEaso7chniRbAB51gQJZ/pFFwWD9zUaurMpYF22hEmJt0A m+pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=ReZOmL42; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5-v6si21405200pgl.419.2018.10.18.06.15.06; Thu, 18 Oct 2018 06:15:21 -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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=ReZOmL42; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728100AbeJRVNL (ORCPT + 99 others); Thu, 18 Oct 2018 17:13:11 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:42448 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727567AbeJRVNL (ORCPT ); Thu, 18 Oct 2018 17:13:11 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181018131211euoutp01a9f443cd28dfa5cbaaea0255feceae1c~ethbKi6G_1089210892euoutp01B for ; Thu, 18 Oct 2018 13:12:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181018131211euoutp01a9f443cd28dfa5cbaaea0255feceae1c~ethbKi6G_1089210892euoutp01B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539868331; bh=pQ5nZ1qDEAtPX9EMJ1JtbQ2/TEbkHb1ki8t3eY8HsLA=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=ReZOmL42WveD8EGR4Mt+4F91Rx6PVXj4FnIOhXmfwagdjnyi7TTBI2Ype5+HcB+UT 5saiLtQrzi7A1j2yuiyUWzfL5UdW9GZIHgu6PKBxihDwLuSYWJx3gyTA8c0kfywBrJ OD5n/xkuSTLOygrecsDmFvKvXk7HdiQk9jcdcjzs= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181018131211eucas1p25c937c5488b8a265a9b485ce69a01d3e~ethaq9rhO1486614866eucas1p2s; Thu, 18 Oct 2018 13:12:11 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id FC.DF.04441.AA688CB5; Thu, 18 Oct 2018 14:12:10 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181018131210eucas1p14a11ec7555ca9ef3003387f1985326e6~ethZ7giWB0310803108eucas1p1X; Thu, 18 Oct 2018 13:12:10 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181018131210eusmtrp133844b31873f8f7e5abaf5e7479c2a29~ethZrNf4E0324103241eusmtrp1u; Thu, 18 Oct 2018 13:12:10 +0000 (GMT) X-AuditID: cbfec7f2-a1ae89c000001159-1a-5bc886aa7fa0 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id CF.8D.04128.9A688CB5; Thu, 18 Oct 2018 14:12:09 +0100 (BST) Received: from [106.120.53.102] (unknown [106.120.53.102]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181018131209eusmtip274a9e9eafbaeed0ef0ed13eb8cc07393~ethZUwf1s2342923429eusmtip2p; Thu, 18 Oct 2018 13:12:09 +0000 (GMT) Subject: Re: [PATCH] ata: add Buddha PATA controller driver To: Christoph Hellwig Cc: John Paul Adrian Glaubitz , Michael Schmitz , Geert Uytterhoeven , Jens Axboe , linux-ide@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org From: Bartlomiej Zolnierkiewicz Date: Thu, 18 Oct 2018 15:12:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20181018124118.GA10376@infradead.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTYRj229nlbDQ5HhXflhnNsjI0xaBThhVU7E/Rv0Shmu6k4qayOS8l 4Q9vWKalMpwXTGva1FIzL6PUpjjFS+mITPJSs4RwKlqr9UNzOxP89zzv+z7v87wfH46RzRwR npCUSiuTpHIxV8DuHLK/D9LnDUeHVGhCqKbZYi71Y+Yti6pc9adGS+pY1FD3NxZlNlRxqYbF FoyqztXwzuOSHu0sT/KqMVBiHldLjAMFSDKSa2NL3k1MIMlGu981XpTgrIyWJ6TRyhMRtwTx enMbN6Wfk7Fgq+Nloy52IeLjQJyElT4dVogEOEk0Ilg36hFDfiGw9X13kQ0E5pkabEfytNzq lJNEA4KFJV8GryL4ZMlyYE8iHNaalrkO7EUcg5mGfKcFRhSx4O/KJM/R4BJn4FG+w46Ps4nD YP9q2cY47k1EQvHYEUdZSHjASMWi04tPhMFy/aYzA0aEwGBdFYfBB6DLWuXcD4SBB+P2+xgj TgPrXAOHCX0R3li1PAZ7wk9Thwv7wmjpAzYj1iBY/vfMRV4iaB4bYjFT4T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W9QGSUkkJ5YkpqdmlqQWgTTx8TBKdXAODHrwAlhfle3KR89VVemHb3y79O96mQ1 tmuuq061Mx7ttbJ7WqRbtv7+3U8bV7mfVXjkflHskpXbCxFXzYBj6Tteqi9eM/3Bv2TxqmVu zuUnT33OOL7wi0jHkmCRZZsEFWS0275zuOhI1l+/02Fw1uTNAhbOK4XrQ47cCVqkVas6cYaS fGN7hxJLcUaioRZzUXEiAM3fNKbDAgAA Message-Id: <20181018131210eucas1p14a11ec7555ca9ef3003387f1985326e6~ethZ7giWB0310803108eucas1p1X@eucas1p1.samsung.com> X-CMS-MailID: 20181018131210eucas1p14a11ec7555ca9ef3003387f1985326e6 X-Msg-Generator: CA X-RootMTR: 20181018122951eucas1p2be43dc17df8d2c754e771785b3ad7457 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181018122951eucas1p2be43dc17df8d2c754e771785b3ad7457 References: <20181018122951eucas1p2be43dc17df8d2c754e771785b3ad7457~es8dn4Tg90035600356eucas1p2H@eucas1p2.samsung.com> <20181018124118.GA10376@infradead.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/18/2018 02:41 PM, Christoph Hellwig wrote: >> +static int __init pata_buddha_init_one(void) >> +{ >> + struct zorro_dev *z = NULL; >> + >> + while ((z = zorro_find_device(ZORRO_WILDCARD, z))) { > > I'm not really an m68k expert, but shouldn't this implement a > struct zorro_driver instead? (or maybe two of them as xsurf > seems sufficiently different). I didn't want to introduce too many changes over old IDE's driver in the initial version of the libata driver as I can't test them myself. Once the new driver is verified to work I plan to convert it into proper Zorro_driver. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics