~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-iop32x/include/mach/io.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * arch/arm/mach-iop32x/include/mach/io.h
 
3
 *
 
4
 * Copyright (C) 2001 MontaVista Software, Inc.
 
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
 
 
11
#ifndef __IO_H
 
12
#define __IO_H
 
13
 
 
14
#include <asm/hardware/iop3xx.h>
 
15
 
 
16
extern void __iomem *__iop3xx_ioremap(unsigned long cookie, size_t size,
 
17
        unsigned int mtype);
 
18
extern void __iop3xx_iounmap(void __iomem *addr);
 
19
 
 
20
#define IO_SPACE_LIMIT          0xffffffff
 
21
#define __io(p)         ((void __iomem *)IOP3XX_PCI_IO_PHYS_TO_VIRT(p))
 
22
#define __mem_pci(a)            (a)
 
23
 
 
24
#define __arch_ioremap  __iop3xx_ioremap
 
25
#define __arch_iounmap  __iop3xx_iounmap
 
26
 
 
27
#endif