Re: [PATCH] pcmcia: ppc64 needs 64-bit ioaddr_t

2007-05-14 Thread Christoph Hellwig
On Mon, May 14, 2007 at 05:57:31PM -0500, Olof Johansson wrote: > On Sun, May 13, 2007 at 11:46:08PM +0200, Christoph Hellwig wrote: > > On Sat, May 12, 2007 at 09:31:05AM -0500, Olof Johansson wrote: > > > ppc64 really needs ioaddr_t to be 64-bit, since I/O addresses really > > > are MMIO addresse

Re: [PATCH] pcmcia: ppc64 needs 64-bit ioaddr_t

2007-05-14 Thread Olof Johansson
On Tue, May 15, 2007 at 08:47:04AM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2007-05-14 at 15:08 -0700, Andrew Morton wrote: > > > > Well that's some pretty sad code you've found there. The kernel > > surely has > > some appropriate type to use here without us having to invent a new > > one.

Re: [PATCH] pcmcia: ppc64 needs 64-bit ioaddr_t

2007-05-14 Thread Olof Johansson
On Sun, May 13, 2007 at 11:46:08PM +0200, Christoph Hellwig wrote: > On Sat, May 12, 2007 at 09:31:05AM -0500, Olof Johansson wrote: > > ppc64 really needs ioaddr_t to be 64-bit, since I/O addresses really > > are MMIO addresses, and remapped to a high range. > > > > While the type is exported to

Re: [PATCH] pcmcia: ppc64 needs 64-bit ioaddr_t

2007-05-14 Thread Benjamin Herrenschmidt
On Mon, 2007-05-14 at 15:08 -0700, Andrew Morton wrote: > > Well that's some pretty sad code you've found there. The kernel > surely has > some appropriate type to use here without us having to invent a new > one. > But I suspect if we were to rationalise things in there it will get > messy. Th

Re: [PATCH] pcmcia: ppc64 needs 64-bit ioaddr_t

2007-05-14 Thread Andrew Morton
On Sat, 12 May 2007 09:31:05 -0500 [EMAIL PROTECTED] (Olof Johansson) wrote: > ppc64 really needs ioaddr_t to be 64-bit, since I/O addresses really > are MMIO addresses, and remapped to a high range. > > While the type is exported to userspace, there hasn't been any platforms > with PCMCIA on 64-

Re: [PATCH] pcmcia: ppc64 needs 64-bit ioaddr_t

2007-05-13 Thread Christoph Hellwig
On Sat, May 12, 2007 at 09:31:05AM -0500, Olof Johansson wrote: > ppc64 really needs ioaddr_t to be 64-bit, since I/O addresses really > are MMIO addresses, and remapped to a high range. > > While the type is exported to userspace, there hasn't been any platforms > with PCMCIA on 64-bit powerpc un

Re: [PATCH] pcmcia: ppc64 needs 64-bit ioaddr_t

2007-05-13 Thread Olof Johansson
On Sat, May 12, 2007 at 09:31:05AM -0500, Olof Johansson wrote: > ppc64 really needs ioaddr_t to be 64-bit, since I/O addresses really > are MMIO addresses, and remapped to a high range. > > While the type is exported to userspace, there hasn't been any platforms > with PCMCIA on 64-bit powerpc un