From: Gabor Juhos Date: Sun, 04 Jan 2009 12:17:20 +0100 Subject: [ath9k-devel] [RFC 02/12] ath9k: introduce bus specific register access routines In-Reply-To: <20090104072706.GB12905@infradead.org> References: <1230990262-22923-1-git-send-email-juhosg@openwrt.org> <1230990262-22923-3-git-send-email-juhosg@openwrt.org> <20090104072706.GB12905@infradead.org> Message-ID: <49609AC0.8090606@openwrt.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Christoph Hellwig ?rta: > On Sat, Jan 03, 2009 at 02:44:12PM +0100, Gabor Juhos wrote: >> The AHB bus will require different code for register access, so we make >> them replaceable as well. > > What kind of different code? ioread*/iowrite* are supposed to be bus-agnostic. > > I have used __raw_{read,write}*. You are right, I have tried it right now and it works with io{read,write}* as well. I will remove them.