Re: iomapping a big endian area

From: James Bottomley (James.Bottomley_at_SteelEye.com)
Date: 04/05/05

  • Next message: James Bottomley: "Re: iomapping a big endian area"
    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/


  • Next message: James Bottomley: "Re: iomapping a big endian area"

    Relevant Pages

    • Re: FYI: My current suspend bigdiff
      ... On Sun, Nov 30 2003, Pavel Machek wrote: ... > I do not know how much more support is needed to allow powermanagment ... to update every single "driver" with a kernel thread out there (like in ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kernel 2.6.8 pwc patches and counterpatches
      ... C'mon guys, put back the driver and hooks, and let the users decide. ... I ordered a philips webcam. ... I can find is that the drivers have been removed - making webcam support ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Parallel ATA with libata status with the patches Im working on
      ... Shifting a non-complex driver to libata with a few libata improvements ... Also drivers/ide contains detailed support for things that just aren't ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [OOPS] 2.4.22 / HPT372N
      ... > Now we did some experimenting with it and no BIOS settings seem ... Sep 7 23:50:17 bserv kernel: HPT372N support is EXPERIMENTAL ONLY. ... Currently the driver provided by highpoint ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: removable media support on 2.6.x
      ... What we do with our 2.4 version of the driver is something on this ... a better idea to address it with the kernel support we have now. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)