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:
e9f63f3
)
r8169: add endianess annotations to [RT]xDesc
author
Rolf Eike Beer
<eike-kernel@sf-tec.de>
Mon, 21 May 2007 20:11:04 +0000
(22:11 +0200)
committer
Jeff Garzik
<jeff@garzik.org>
Mon, 9 Jul 2007 02:16:45 +0000
(22:16 -0400)
Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
drivers/net/r8169.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/r8169.c
b/drivers/net/r8169.c
index 1942bf7843aa17fd149cbc09995cf3717152e1e9..f66ee3ba363b96007608c3c127b24137c3c8d509 100644
(file)
--- a/
drivers/net/r8169.c
+++ b/
drivers/net/r8169.c
@@
-362,15
+362,15
@@
enum desc_status_bit {
#define RsvdMask 0x3fffc000
struct TxDesc {
-
u
32 opts1;
-
u
32 opts2;
-
u
64 addr;
+
__le
32 opts1;
+
__le
32 opts2;
+
__le
64 addr;
};
struct RxDesc {
-
u
32 opts1;
-
u
32 opts2;
-
u
64 addr;
+
__le
32 opts1;
+
__le
32 opts2;
+
__le
64 addr;
};
struct ring_info {