Skip to content

Commit

Permalink
via-rhine: endianness
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Al Viro authored and David S. Miller committed Oct 10, 2007
1 parent b1eab70 commit 53c03f5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/net/via-rhine.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,16 +335,16 @@ enum wol_bits {

/* The Rx and Tx buffer descriptors. */
struct rx_desc {
s32 rx_status;
u32 desc_length; /* Chain flag, Buffer/frame length */
u32 addr;
u32 next_desc;
__le32 rx_status;
__le32 desc_length; /* Chain flag, Buffer/frame length */
__le32 addr;
__le32 next_desc;
};
struct tx_desc {
s32 tx_status;
u32 desc_length; /* Chain flag, Tx Config, Frame length */
u32 addr;
u32 next_desc;
__le32 tx_status;
__le32 desc_length; /* Chain flag, Tx Config, Frame length */
__le32 addr;
__le32 next_desc;
};

/* Initial value for tx_desc.desc_length, Buffer size goes to bits 0-10 */
Expand Down

0 comments on commit 53c03f5

Please sign in to comment.