summaryrefslogtreecommitdiff
path: root/drivers/net/b44.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-01-29 15:36:54 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-06 19:03:56 -0500
commita7bed27dc69e3bc9238549a4964ea94ec318362c (patch)
treeec8fc1780794a8b8e4a992727462a03cb437873c /drivers/net/b44.h
parentf5cd7872768d5856b1b409a33f516e5ac7798f75 (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.h10
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 @@
#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