From: Al Viro <viro@ftp.linux.org.uk>
Date: Sun, 14 Oct 2007 18:41:19 +0000 (+0100)
Subject: ipg: endianness annotations
X-Git-Tag: v2.6.24-rc1~1302
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=857e37dc367142f25836fac42e045f08114bd4be;p=linux.git

ipg: endianness annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---

diff --git a/drivers/net/ipg.h b/drivers/net/ipg.h
index 1952d0dfd314..e418b9035cac 100644
--- a/drivers/net/ipg.h
+++ b/drivers/net/ipg.h
@@ -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 {