diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-23 01:37:46 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 23:51:58 (GMT) |
commit | ee41a82fa362449e608c4dab7df261058ffd52c0 (patch) | |
tree | 9345eae60266edba9e694eb2aec86b080238614f /drivers/net/amd8111e.h | |
parent | cc2d6596ca79667830a90ca177ba53b0d83262de (diff) | |
download | linux-ee41a82fa362449e608c4dab7df261058ffd52c0.tar.xz |
amd8111e: trivial endianness annotations, NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/amd8111e.h')
-rw-r--r-- | drivers/net/amd8111e.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/amd8111e.h b/drivers/net/amd8111e.h index 612e653..28c60a7 100644 --- a/drivers/net/amd8111e.h +++ b/drivers/net/amd8111e.h @@ -655,32 +655,32 @@ typedef enum { struct amd8111e_tx_dr{ - u16 buff_count; /* Size of the buffer pointed by this descriptor */ + __le16 buff_count; /* Size of the buffer pointed by this descriptor */ - u16 tx_flags; + __le16 tx_flags; - u16 tag_ctrl_info; + __le16 tag_ctrl_info; - u16 tag_ctrl_cmd; + __le16 tag_ctrl_cmd; - u32 buff_phy_addr; + __le32 buff_phy_addr; - u32 reserved; + __le32 reserved; }; struct amd8111e_rx_dr{ - u32 reserved; + __le32 reserved; - u16 msg_count; /* Received message len */ + __le16 msg_count; /* Received message len */ - u16 tag_ctrl_info; + __le16 tag_ctrl_info; - u16 buff_count; /* Len of the buffer pointed by descriptor. */ + __le16 buff_count; /* Len of the buffer pointed by descriptor. */ - u16 rx_flags; + __le16 rx_flags; - u32 buff_phy_addr; + __le32 buff_phy_addr; }; struct amd8111e_link_config{ |