Skip to contentSkip to conversation

ipg: endianness annotations

PATCH New Al Viro 1 participant 1 message Oct 14, 2007 Network drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 ipg: endianness annotations

---
 drivers/net/ipg.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
drivers/net/ipg.h +6 -6
index 1952d0d..e418b90 100644
@@ -776,17 +776,17 @@ enum ipg_regs {
  * TFD field is 64 bits wide.
  */
 struct ipg_tx {
-	u64 next_desc;
-	u64 tfc;
-	u64 frag_info;
+	__le64 next_desc;
+	__le64 tfc;
+	__le64 frag_info;
 };
 
 /* Receive Frame Descriptor. Note, each RFD field is 64 bits wide.
  */
 struct ipg_rx {
-	u64 next_desc;
-	u64 rfs;
-	u64 frag_info;
+	__le64 next_desc;
+	__le64 rfs;
+	__le64 frag_info;
 };
 
 struct SJumbo {
Signature · 1 line
1.5.3.GIT