]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/asm-arm/arch-iop33x/io.h
Merge branch 'header-move' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemo...
[mirror_ubuntu-artful-kernel.git] / include / asm-arm / arch-iop33x / io.h
CommitLineData
1da177e4 1/*
c852ac80 2 * include/asm-arm/arch-iop33x/io.h
1da177e4 3 *
c852ac80 4 * Copyright (C) 2001 MontaVista Software, Inc.
1da177e4
LT
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
c852ac80
LB
11#ifndef __IO_H
12#define __IO_H
1da177e4 13
be509729 14#include <asm/arch/hardware.h>
7fca0aa4 15
6df26700 16extern void __iomem *__iop3xx_ioremap(unsigned long cookie, size_t size,
f75fd965 17 unsigned int mtype);
6df26700
DW
18extern void __iop3xx_iounmap(void __iomem *addr);
19
c852ac80 20#define IO_SPACE_LIMIT 0xffffffff
6df26700 21#define __io(p) ((void __iomem *)IOP3XX_PCI_IO_PHYS_TO_VIRT(p))
1da177e4 22#define __mem_pci(a) (a)
1da177e4 23
6df26700
DW
24#define __arch_ioremap(a, s, f) __iop3xx_ioremap(a, s, f)
25#define __arch_iounmap(a) __iop3xx_iounmap(a)
c852ac80 26
1da177e4 27#endif