提交 53c03f5c 编写于 作者: A Al Viro 提交者: David S. Miller

via-rhine: endianness

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 b1eab701
...@@ -335,16 +335,16 @@ enum wol_bits { ...@@ -335,16 +335,16 @@ enum wol_bits {
/* The Rx and Tx buffer descriptors. */ /* The Rx and Tx buffer descriptors. */
struct rx_desc { struct rx_desc {
s32 rx_status; __le32 rx_status;
u32 desc_length; /* Chain flag, Buffer/frame length */ __le32 desc_length; /* Chain flag, Buffer/frame length */
u32 addr; __le32 addr;
u32 next_desc; __le32 next_desc;
}; };
struct tx_desc { struct tx_desc {
s32 tx_status; __le32 tx_status;
u32 desc_length; /* Chain flag, Tx Config, Frame length */ __le32 desc_length; /* Chain flag, Tx Config, Frame length */
u32 addr; __le32 addr;
u32 next_desc; __le32 next_desc;
}; };
/* Initial value for tx_desc.desc_length, Buffer size goes to bits 0-10 */ /* Initial value for tx_desc.desc_length, Buffer size goes to bits 0-10 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册