linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pcmcia: ppc64 needs 32-bit ioaddr_t
@ 2007-06-25  0:54 Olof Johansson
  2007-06-25  1:35 ` Arnd Bergmann
  2007-06-25  5:53 ` Christoph Hellwig
  0 siblings, 2 replies; 4+ messages in thread
From: Olof Johansson @ 2007-06-25  0:54 UTC (permalink / raw)
  To: linux-kernel, linux-pcmcia; +Cc: akpm, linuxppc-dev, paulus

ppc64 really needs ioaddr_t to be 32-bit, since I/O addresses really are
MMIO addresses, and remapped at an offset that's well above 16 bits in
some cases.

While the type is exported to userspace, there hasn't been any platforms
with PCMCIA on 64-bit powerpc until now, so changing it won't regress
any existing users.


Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Paul Mackerras <paulus@samba.org>

Index: 2.6.21/include/pcmcia/cs_types.h
===================================================================
--- 2.6.21.orig/include/pcmcia/cs_types.h
+++ 2.6.21/include/pcmcia/cs_types.h
@@ -21,7 +21,7 @@
 #include <sys/types.h>
 #endif
 
-#if defined(__arm__) || defined(__mips__)
+#if defined(__arm__) || defined(__mips__) || defined(__powerpc64__)
 /* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */
 typedef u_int   ioaddr_t;
 #else

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-25  5:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-25  0:54 [PATCH] pcmcia: ppc64 needs 32-bit ioaddr_t Olof Johansson
2007-06-25  1:35 ` Arnd Bergmann
2007-06-25  2:42   ` Olof Johansson
2007-06-25  5:53 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).