r8169: add endianess annotations to [RT]xDesc
authorRolf Eike Beer <eike-kernel@sf-tec.de>
Mon, 21 May 2007 20:11:04 +0000 (22:11 +0200)
committerJeff Garzik <jeff@garzik.org>
Mon, 9 Jul 2007 02:16:45 +0000 (22:16 -0400)
Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
drivers/net/r8169.c

index 1942bf7843aa17fd149cbc09995cf3717152e1e9..f66ee3ba363b96007608c3c127b24137c3c8d509 100644 (file)
@@ -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 {