Subject: [PATCH][R8169] Add endianess annotations to [RT]xDesc

From: Rolf Eike Beer <[email-masked]>
Date: Wed, 16 May 2007 13:10:57 +0200

[R8169] Add endianess annotations to [RT]xDesc

Signed-off-by: Rolf Eike Beer <[email-masked]>

---
commit 8b36037f072047e61557506ee917dcc25680bd69
tree faafe5e664affabef85ff4dcab280338fd528fae
parent b26c4a9f50ccfade25e3699f616ce97590dc2cb7
author Rolf Eike Beer <[email-masked]> Wed, 16 May 2007 08:23:39 +0200
committer Rolf Eike Beer <[email-masked]> Wed, 16 May 2007 08:23:39 +0200

 drivers/net/r8169.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 45876a8..2261835 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -405,15 +405,15 @@ enum _DescStatusBit {
 #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 {