Re: Patch to 3c59x.c

Russell King (rmk@arm.linux.org.uk)
Sat, 12 Feb 2000 15:05:12 +0000 (GMT)


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/