aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRolf Eike Beer <eike-kernel@sf-tec.de>2007-05-21 16:11:04 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-08 22:16:45 -0400
commit6cccd6e7a261263cdf06576bd1b241be575638b6 (patch)
treeaaf5a122915a7bc5aa406f16b95fc9f7f8eca5ef /drivers
parente9f63f30863fd778a5329e93c7e2208b9bcb5b79 (diff)
r8169: add endianess annotations to [RT]xDesc
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/r8169.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 1942bf7843aa..f66ee3ba363b 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -362,15 +362,15 @@ enum desc_status_bit {
362#define RsvdMask 0x3fffc000 362#define RsvdMask 0x3fffc000
363 363
364struct TxDesc { 364struct TxDesc {
365 u32 opts1; 365 __le32 opts1;
366 u32 opts2; 366 __le32 opts2;
367 u64 addr; 367 __le64 addr;
368}; 368};
369 369
370struct RxDesc { 370struct RxDesc {
371 u32 opts1; 371 __le32 opts1;
372 u32 opts2; 372 __le32 opts2;
373 u64 addr; 373 __le64 addr;
374}; 374};
375 375
376struct ring_info { 376struct ring_info {