ipg: endianness annotations
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 14 Oct 2007 18:41:19 +0000 (19:41 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 14 Oct 2007 19:41:52 +0000 (12:41 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/ipg.h

index 1952d0dfd314b1c0375fa0d351a1b4a3b1f5a29d..e418b9035caceb3be77a4927896df424daf39245 100644 (file)
@@ -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 {