diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-01-29 15:36:54 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-06 19:03:56 -0500 |
commit | a7bed27dc69e3bc9238549a4964ea94ec318362c (patch) | |
tree | ec8fc1780794a8b8e4a992727462a03cb437873c /drivers/net/b44.h | |
parent | f5cd7872768d5856b1b409a33f516e5ac7798f75 (diff) |
b44 endian annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/b44.h')
-rw-r--r-- | drivers/net/b44.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/b44.h b/drivers/net/b44.h index 4944507fad23..18fc13336628 100644 --- a/drivers/net/b44.h +++ b/drivers/net/b44.h | |||
@@ -308,8 +308,8 @@ | |||
308 | #define MII_TLEDCTRL_ENABLE 0x0040 | 308 | #define MII_TLEDCTRL_ENABLE 0x0040 |
309 | 309 | ||
310 | struct dma_desc { | 310 | struct dma_desc { |
311 | u32 ctrl; | 311 | __le32 ctrl; |
312 | u32 addr; | 312 | __le32 addr; |
313 | }; | 313 | }; |
314 | 314 | ||
315 | /* There are only 12 bits in the DMA engine for descriptor offsetting | 315 | /* There are only 12 bits in the DMA engine for descriptor offsetting |
@@ -327,9 +327,9 @@ struct dma_desc { | |||
327 | #define RX_COPY_THRESHOLD 256 | 327 | #define RX_COPY_THRESHOLD 256 |
328 | 328 | ||
329 | struct rx_header { | 329 | struct rx_header { |
330 | u16 len; | 330 | __le16 len; |
331 | u16 flags; | 331 | __le16 flags; |
332 | u16 pad[12]; | 332 | __le16 pad[12]; |
333 | }; | 333 | }; |
334 | #define RX_HEADER_LEN 28 | 334 | #define RX_HEADER_LEN 28 |
335 | 335 | ||