Re: Patch to 3c59x.c

From: Russell King (rmk@arm.linux.org.uk)
Date: Sat Feb 12 2000 - 10:05:12 EST

  • Next message: Jeff Garzik: "RFC: Adding no-BIOS support to Linux?"

    Pete Zaitcev writes:
    > recent intruduction of DMA cache coherency interfaces
    > allowed me to remove crud that I carried in my copy
    > of 3c59x.c and to think about a full merge. All I need
    > is this (against 2.3.43):

    Would it be better to use the __LITTLE_ENDIAN_BITFIELD and/or
    __BIG_ENDIAN_BITFIELD that linux/include/asm/byteorder.h indirectly
    gives you (thereby preventing a sprawling big long list of

    #if defined(__arch1__) || defined(__arch2__)

    type things)?

    Have a look at drivers/block/ide-floppy.c for example usage.
       _____
      |_____| ------------------------------------------------- ---+---+-
      | | Russell King rmk@arm.linux.org.uk --- ---
      | | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
      | +-+-+ --- -+-
      / | THE developer of ARM Linux |+| /|\
     / | | | --- |
        +-+-+ ------------------------------------------------- /\\\ |

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Feb 12 2000 - 11:25:01 EST