From: Rolf Eike Beer Date: Mon, 21 May 2007 20:11:04 +0000 (+0200) Subject: r8169: add endianess annotations to [RT]xDesc X-Git-Tag: v2.6.23-rc1~1201^2~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cccd6e7a261263cdf06576bd1b241be575638b6;p=linux-2.6 r8169: add endianess annotations to [RT]xDesc Signed-off-by: Rolf Eike Beer Signed-off-by: Francois Romieu Cc: Edward Hsu --- diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 1942bf7843..f66ee3ba36 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c @@ -362,15 +362,15 @@ enum desc_status_bit { #define RsvdMask 0x3fffc000 struct TxDesc { - u32 opts1; - u32 opts2; - u64 addr; + __le32 opts1; + __le32 opts2; + __le64 addr; }; struct RxDesc { - u32 opts1; - u32 opts2; - u64 addr; + __le32 opts1; + __le32 opts2; + __le64 addr; }; struct ring_info {