diff options
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 { | |||
335 | 335 | ||
336 | /* The Rx and Tx buffer descriptors. */ | 336 | /* The Rx and Tx buffer descriptors. */ |
337 | struct rx_desc { | 337 | struct rx_desc { |
338 | s32 rx_status; | 338 | __le32 rx_status; |
339 | u32 desc_length; /* Chain flag, Buffer/frame length */ | 339 | __le32 desc_length; /* Chain flag, Buffer/frame length */ |
340 | u32 addr; | 340 | __le32 addr; |
341 | u32 next_desc; | 341 | __le32 next_desc; |
342 | }; | 342 | }; |
343 | struct tx_desc { | 343 | struct tx_desc { |
344 | s32 tx_status; | 344 | __le32 tx_status; |
345 | u32 desc_length; /* Chain flag, Tx Config, Frame length */ | 345 | __le32 desc_length; /* Chain flag, Tx Config, Frame length */ |
346 | u32 addr; | 346 | __le32 addr; |
347 | u32 next_desc; | 347 | __le32 next_desc; |
348 | }; | 348 | }; |
349 | 349 | ||
350 | /* Initial value for tx_desc.desc_length, Buffer size goes to bits 0-10 */ | 350 | /* Initial value for tx_desc.desc_length, Buffer size goes to bits 0-10 */ |