X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4d70a5a68afb9e1cdde85c965047bcb1cfe972e7..8bef1323b005ae4e3343eba2d3e601a49a95c8b8:/target/linux/generic-2.6/patches-2.6.24/930-ppc_big_endian_io_memory_accessors.patch diff --git a/target/linux/generic-2.6/patches-2.6.24/930-ppc_big_endian_io_memory_accessors.patch b/target/linux/generic-2.6/patches-2.6.24/930-ppc_big_endian_io_memory_accessors.patch index 939e590a1..5b3755e87 100644 --- a/target/linux/generic-2.6/patches-2.6.24/930-ppc_big_endian_io_memory_accessors.patch +++ b/target/linux/generic-2.6/patches-2.6.24/930-ppc_big_endian_io_memory_accessors.patch @@ -30,10 +30,9 @@ and didn't make it with the ppc32 equivalent. Thanks. --- -diff -uprN a/include/asm-ppc/io.h b/include/asm-ppc/io.h ---- a/include/asm-ppc/io.h 2005-08-21 17:49:44.000000000 -0400 -+++ b/include/asm-ppc/io.h 2005-08-21 20:29:55.000000000 -0400 -@@ -487,11 +487,21 @@ static inline unsigned int ioread16(void +--- a/include/asm-ppc/io.h ++++ b/include/asm-ppc/io.h +@@ -413,11 +413,21 @@ return readw(addr); } @@ -55,7 +54,7 @@ diff -uprN a/include/asm-ppc/io.h b/include/asm-ppc/io.h static inline void iowrite8(u8 val, void __iomem *addr) { writeb(val, addr); -@@ -502,11 +512,21 @@ static inline void iowrite16(u16 val, vo +@@ -428,11 +438,21 @@ writew(val, addr); } @@ -77,4 +76,3 @@ diff -uprN a/include/asm-ppc/io.h b/include/asm-ppc/io.h static inline void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) { _insb(addr, dst, count); -