LWN.net Logo

Add memcpy_toio32, a 32-bit MMIO copy routine

From:  Bryan O'Sullivan <bos@pathscale.com>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH 0 of 3] Add memcpy_toio32, a 32-bit MMIO copy routine
Date:  Tue, 27 Dec 2005 15:41:54 -0800
Cc:  mpm@selenic.com, akpm@osdl.org, hch@infradead.org
Archive-link:  Article, Thread

Following some discussion with Matt, Andrew and Chris, here is a recast
of the 32-bit MMIO patch I posted the other day.  The routine is now
named memcpy_toio32, and is provided in generic and x86_64-optimised
forms.

I haven't added a memcpy_fromio32, or routines for other access sizes,
because our hardware doesn't need them.  If someone wants them for
reasons of symmetry, I can introduce them.

Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>


Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds