[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070922062551.GE10625@parisc-linux.org>
Date: Sat, 22 Sep 2007 00:25:51 -0600
From: Matthew Wilcox <matthew@....cx>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: Olof Johansson <olof@...om.net>, linuxppc-dev@...abs.org,
Andrew Morton <akpm@...ux-foundation.org>,
linux-pcmcia@...ts.infradead.org, linux-kernel@...r.kernel.org,
hch@....de
Subject: Re: [PATCH v2] pcmcia: Convert io_req_t to use kio_addr_t
On Fri, Sep 21, 2007 at 11:39:36PM +0100, Alan Cox wrote:
> On Fri, 21 Sep 2007 17:15:16 -0500
> Olof Johansson <olof@...om.net> wrote:
>
> > Convert the io_req_t members to kio_addr_t, to allow use on machines with
> > more than 16 bits worth of IO ports (i.e. secondary busses on ppc64, etc).
>
> What about the formatting and field widths ?
>
> ulong would probably be a lot saner than kio_addr_t and yet more type
> obfuscation.
I don't think anyone uses ioports > 32bit. Certainly i386 takes an int
port as parameter to {in,out}[bwl] (and it really only uses 16-bits).
parisc uses 24 bits. I don't know what the various ppcs do, but pci
bars can only be 32-bit for ioports. So my opinion is that ioports
should be uint, not ulong.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists