Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Karsten Keil <kkeil@...>
Cc: Benjamin Herrenschmidt <benh@...>, <linux-kernel@...>, <isdn4linux@...>, Andreas.Eversberg <Andreas.Eversberg@...>
Date: Tuesday, August 5, 2008 - 2:42 pm

On Tue, 5 Aug 2008, Karsten Keil wrote:

Even if they were exported, you couldn't.

lib/iomap.c is _not_ generic code. It's a library function for 
architectures that don't do it some other way. But various architectures 
can choose to not use lib/iomap.c at all - for example, they may have MMIO 
and PIO in the same address space, so they don't need the conditionals at 
all (because all the work was done at mapping time, not at runtime).

So if you actually have different models of operation for PIO and MMIO, 
then yes, you need to handle that in the driver itself.

		Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/4] Fix remaining big endian issue of hfcmulti, Karsten Keil, (Sat Aug 2, 10:35 am)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 12:29 am)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 9:04 am)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 5:43 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Linus Torvalds, (Tue Aug 5, 2:42 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 5:45 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 5:46 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 8:33 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 7:04 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, David Woodhouse, (Mon Aug 4, 8:03 am)