diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-23 08:33:30 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:52:04 +0200 |
commit | 53c03f5c9e3c05a2484ad6bb1d88c0aa54befa47 (patch) | |
tree | 33fb95e699e5c1eaa5ee798721e38ed0a2b22009 /drivers/net/via-rhine.c | |
parent | r8169: endianness (diff) | |
download | linux-53c03f5c9e3c05a2484ad6bb1d88c0aa54befa47.tar.xz linux-53c03f5c9e3c05a2484ad6bb1d88c0aa54befa47.zip |
via-rhine: endianness
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r-- | drivers/net/via-rhine.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index 9669bce0fd07..07263cd93f9c 100644 --- a/drivers/net/via-rhine.c +++ b/drivers/net/via-rhine.c @@ -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 */ |