From: Al Viro Date: Thu, 23 Aug 2007 06:33:30 +0000 (-0400) Subject: via-rhine: endianness X-Git-Tag: v2.6.24-rc1~1454^2~417 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53c03f5c9e3c05a2484ad6bb1d88c0aa54befa47;p=linux-2.6 via-rhine: endianness Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index 9669bce0fd..07263cd93f 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 */