projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f53f413
)
ipg: endianness annotations
author
Al Viro
<viro@ftp.linux.org.uk>
Sun, 14 Oct 2007 18:41:19 +0000
(19:41 +0100)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ipg.h
b/drivers/net/ipg.h
index 1952d0dfd314b1c0375fa0d351a1b4a3b1f5a29d..e418b9035caceb3be77a4927896df424daf39245 100644
(file)
--- 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 {
-
u
64 next_desc;
-
u
64 tfc;
-
u
64 frag_info;
+
__le
64 next_desc;
+
__le
64 tfc;
+
__le
64 frag_info;
};
/* Receive Frame Descriptor. Note, each RFD field is 64 bits wide.
*/
struct ipg_rx {
-
u
64 next_desc;
-
u
64 rfs;
-
u
64 frag_info;
+
__le
64 next_desc;
+
__le
64 rfs;
+
__le
64 frag_info;
};
struct SJumbo {