From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Brodkin Subject: [PATCH v2 0/3] make Xilinx System ACE driver arch-independent Date: Mon, 24 Jun 2013 12:26:01 +0400 Message-ID: <1372062364-25861-1-git-send-email-abrodkin@synopsys.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from us01smtp3.synopsys.com ([198.182.44.81]:53934 "EHLO hermes.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752506Ab3FXI0W (ORCPT ); Mon, 24 Jun 2013 04:26:22 -0400 Sender: linux-arch-owner@vger.kernel.org List-ID: To: linux-arch@vger.kernel.org Cc: Alexey Brodkin , Vineet Gupta , Mischa Jonker , Grant Likely , Arnd Bergmann , Michal Simek , Benjamin Herrenschmidt , Andy Shevchenko In v2 I put together 3 patches: 1. Blind replace of PPC/Microblaze-specific accessors with generic ones. 2. Fix functions that access data via dedicated register in SystemACE controller so now CPU accesses data with native endianess. 3. Remove dependency on PPC/Microblaze - i.e. make driver arch-independent. Alexey Brodkin (3): drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be) drivers/block/xsysace - use "_rep" accessors with CPU endianess for data drivers/block - make Xilinx SystemACE driver arch-independent drivers/block/Kconfig | 1 - drivers/block/xsysace.c | 74 ++++++++++++++--------------------------------- 2 files changed, 21 insertions(+), 54 deletions(-) Cc: Vineet Gupta Cc: Mischa Jonker Cc: Grant Likely Cc: Arnd Bergmann Cc: Michal Simek Cc: Benjamin Herrenschmidt Cc: Andy Shevchenko -- 1.7.10.4