b44 endian annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@ -308,8 +308,8 @@
|
||||
#define MII_TLEDCTRL_ENABLE 0x0040
|
||||
|
||||
struct dma_desc {
|
||||
u32 ctrl;
|
||||
u32 addr;
|
||||
__le32 ctrl;
|
||||
__le32 addr;
|
||||
};
|
||||
|
||||
/* There are only 12 bits in the DMA engine for descriptor offsetting
|
||||
@ -327,9 +327,9 @@ struct dma_desc {
|
||||
#define RX_COPY_THRESHOLD 256
|
||||
|
||||
struct rx_header {
|
||||
u16 len;
|
||||
u16 flags;
|
||||
u16 pad[12];
|
||||
__le16 len;
|
||||
__le16 flags;
|
||||
__le16 pad[12];
|
||||
};
|
||||
#define RX_HEADER_LEN 28
|
||||
|
||||
|
Reference in New Issue
Block a user