projects
/
profile
/
ivi
/
kernel-x86-ivi.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
|
history
diff --git
a/drivers/net/ipg.h
b/drivers/net/ipg.h
index
1952d0d
..
e418b90
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 {