diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2005-12-22 23:18:25 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 01:15:33 +0200 |
commit | 7359bbfd85751de23079cc26cd248635aebe840b (patch) | |
tree | b562d57cf0d54119d0386bfaa18d849d90d0946b /drivers | |
parent | [PATCH] serpent: fix endian warnings (diff) | |
download | linux-7359bbfd85751de23079cc26cd248635aebe840b.tar.xz linux-7359bbfd85751de23079cc26cd248635aebe840b.zip |
[PATCH] chelsio: add endian annotations
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/chelsio/cpl5_cmd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/chelsio/cpl5_cmd.h b/drivers/net/chelsio/cpl5_cmd.h index 27925e487bcf..5b357d9e88d6 100644 --- a/drivers/net/chelsio/cpl5_cmd.h +++ b/drivers/net/chelsio/cpl5_cmd.h @@ -108,7 +108,7 @@ struct cpl_tx_pkt_lso { u8 iff:4; #endif u16 vlan; - u32 len; + __be32 len; u32 rsvd2; u8 rsvd3; @@ -119,7 +119,7 @@ struct cpl_tx_pkt_lso { u8 ip_hdr_words:4; u8 tcp_hdr_words:4; #endif - u16 eth_type_mss; + __be16 eth_type_mss; }; struct cpl_rx_pkt { @@ -138,7 +138,7 @@ struct cpl_rx_pkt { u8 iff:4; #endif u16 csum; - u16 vlan; + __be16 vlan; u16 len; }; |