diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/linux/linux-jlime-jornada6xx-2.6.17/io.h-fix.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux/linux-jlime-jornada6xx-2.6.17/io.h-fix.patch')
-rw-r--r-- | recipes/linux/linux-jlime-jornada6xx-2.6.17/io.h-fix.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/linux/linux-jlime-jornada6xx-2.6.17/io.h-fix.patch b/recipes/linux/linux-jlime-jornada6xx-2.6.17/io.h-fix.patch new file mode 100644 index 0000000000..0ae39a8dc5 --- /dev/null +++ b/recipes/linux/linux-jlime-jornada6xx-2.6.17/io.h-fix.patch @@ -0,0 +1,31 @@ +--- linux-2.6.17/include/asm-sh/io.h_orig 2006-09-17 22:52:10.000000000 +0000 ++++ linux-2.6.17/include/asm-sh/io.h 2006-09-17 22:54:01.000000000 +0000 +@@ -138,17 +138,17 @@ + #define readl_relaxed(a) readl(a) + + /* Simple MMIO */ +-#define ioread8(a) readb(a) +-#define ioread16(a) readw(a) +-#define ioread16be(a) be16_to_cpu(__raw_readw((a))) +-#define ioread32(a) readl(a) +-#define ioread32be(a) be32_to_cpu(__raw_readl((a))) +- +-#define iowrite8(v,a) writeb((v),(a)) +-#define iowrite16(v,a) writew((v),(a)) +-#define iowrite16be(v,a) __raw_writew(cpu_to_be16((v)),(a)) +-#define iowrite32(v,a) writel((v),(a)) +-#define iowrite32be(v,a) __raw_writel(cpu_to_be32((v)),(a)) ++#define ioread8(a) inb(a) ++#define ioread16(a) inw(a) ++#define ioread16be(a) be16_to_cpu(inw((a))) ++#define ioread32(a) inl(a) ++#define ioread32be(a) be32_to_cpu(inl((a))) ++ ++#define iowrite8(v,a) outb((v),(a)) ++#define iowrite16(v,a) outw((v),(a)) ++#define iowrite16be(v,a) outw(cpu_to_be16((v)),(a)) ++#define iowrite32(v,a) outl((v),(a)) ++#define iowrite32be(v,a) outl(cpu_to_be32((v)),(a)) + + #define ioread8_rep(a,d,c) insb((a),(d),(c)) + #define ioread16_rep(a,d,c) insw((a),(d),(c)) |