Skip to content

Commit

Permalink
[PATCH] chelsio: add endian annotations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Oct 10, 2006
1 parent d08f74e commit 7359bbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/chelsio/cpl5_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ struct cpl_tx_pkt_lso {
u8 iff:4;
#endif
u16 vlan;
u32 len;
__be32 len;

u32 rsvd2;
u8 rsvd3;
Expand All @@ -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 {
Expand All @@ -138,7 +138,7 @@ struct cpl_rx_pkt {
u8 iff:4;
#endif
u16 csum;
u16 vlan;
__be16 vlan;
u16 len;
};

Expand Down

0 comments on commit 7359bbf

Please sign in to comment.