From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v2 04/10] net: smc911x: use io{read,write}*_rep accessors Date: Mon, 10 Dec 2012 15:47:05 -0500 (EST) Message-ID: <20121210.154705.1773845547652835423.davem@davemloft.net> References: <1355166762-15133-1-git-send-email-will.deacon@arm.com> <1355166762-15133-5-git-send-email-will.deacon@arm.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:59776 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826Ab2LJUrI (ORCPT ); Mon, 10 Dec 2012 15:47:08 -0500 In-Reply-To: <1355166762-15133-5-git-send-email-will.deacon@arm.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: will.deacon@arm.com Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, benh@kernel.crashing.org, arnd@arndb.de, james.hogan@imgtec.com, matthew@mattleach.net, netdev@vger.kernel.org From: Will Deacon Date: Mon, 10 Dec 2012 19:12:36 +0000 > From: Matthew Leach > > The {read,write}s{b,w,l} operations are not defined by all > architectures and are being removed from the asm-generic/io.h > interface. > > This patch replaces the usage of these string functions in the smc911x > accessors with io{read,write}{8,16,32}_rep calls instead. > > Cc: Arnd Bergmann > Cc: Ben Herrenschmidt > Cc: netdev@vger.kernel.org > Signed-off-by: Matthew Leach > Signed-off-by: Will Deacon This misses the two uses in smsc911x_tx_writefifo and smsc911x_rx_readfifo.