mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
0560cf5aa5
As Al did for Versatile in 2ad4f86b60
,
add a typesafe __io implementation for platforms to use. Convert
platforms to use this new simple typesafe implementation.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
20 lines
549 B
C
20 lines
549 B
C
/*
|
|
* arch/arm/mach-ns9xxx/include/mach/io.h
|
|
*
|
|
* Copyright (C) 2006 by Digi International Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published by
|
|
* the Free Software Foundation.
|
|
*/
|
|
#ifndef __ASM_ARCH_IO_H
|
|
#define __ASM_ARCH_IO_H
|
|
|
|
#define IO_SPACE_LIMIT 0xffffffff /* XXX */
|
|
|
|
#define __io(a) __typesafe_io(a)
|
|
#define __mem_pci(a) (a)
|
|
#define __mem_isa(a) (IO_BASE + (a))
|
|
|
|
#endif /* ifndef __ASM_ARCH_IO_H */
|