Skip to content

Commit

Permalink
r8169: add endianess annotations to [RT]xDesc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rolf Eike Beer authored and Jeff Garzik committed Jul 9, 2007
1 parent e9f63f3 commit 6cccd6e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,15 @@ enum desc_status_bit {
#define RsvdMask 0x3fffc000

struct TxDesc {
u32 opts1;
u32 opts2;
u64 addr;
__le32 opts1;
__le32 opts2;
__le64 addr;
};

struct RxDesc {
u32 opts1;
u32 opts2;
u64 addr;
__le32 opts1;
__le32 opts2;
__le64 addr;
};

struct ring_info {
Expand Down

0 comments on commit 6cccd6e

Please sign in to comment.