alpha: add io{read,write}{16,32}be functions
authorMichael Cree <mcree@orcon.net.nz>
Wed, 30 Nov 2011 13:01:40 +0000 (08:01 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Aug 2014 17:07:41 +0000 (18:07 +0100)
commit1df72e0db666f088e5077ab44c998624a97ab361
tree1c72d789a17ad9ffedcb0065f44941e4908f7f19
parent951c03ac6f73eda3b6ae41ffe8c4a603d0a3b3af
alpha: add io{read,write}{16,32}be functions

commit 25534eb7707821b796fd84f7115367e02f36aa60 upstream.

These functions are used in some PCI drivers with big-endian
MMIO space.

Admittedly it is almost certain that no one this side of the
Moon would use such a card in an Alpha but it does get us
closer to being able to build allyesconfig or allmodconfig,
and it enables the Debian default generic config to build.

Tested-by: Raúl Porcel <armin76@gentoo.org>
Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/alpha/include/asm/io.h