Re: iomapping a big endian area
From: James Bottomley (James.Bottomley_at_SteelEye.com)
Date: 04/05/05
- Previous message: Josselin Mouette: "Re: non-free firmware in kernel modules, aggregation and unclear copyright notice."
- In reply to: Christoph Hellwig: "Re: iomapping a big endian area"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Christoph Hellwig <hch@infradead.org> Date: Tue, 05 Apr 2005 09:05:32 -0500
On Tue, 2005-04-05 at 08:21 +0100, Christoph Hellwig wrote:
> What I really don't like is that you still need ifdefs and wrappers to
> support BE and LE wired chips in the same driver. Shouldn't you set the
> BE or LE flag at iomap() time and always use the same accessors?
No, if you look how it works. On parisc, it can be either BE or LE
depending on the chip wiring. There would be a case for selecting BE or
LE by #define, but there's no case I know today where we have a driver
that would always be BE.
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Josselin Mouette: "Re: non-free firmware in kernel modules, aggregation and unclear copyright notice."
- In reply to: Christoph Hellwig: "Re: iomapping a big endian area"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|