Skip to contentSkip to conversation

Add endianess annotations to [RT]xDesc

PATCH In review Rolf Eike Beer 2 participants 2 messages May 16, 2007 – May 17, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add endianess annotations to [RT]xDesc

[R8169] Add endianess annotations to [RT]xDesc

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

 drivers/net/r8169.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
drivers/net/r8169.c +6 -6
index 45876a8..2261835 100644
@@ -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 {