Commit fb8e4444 authored by Al Viro's avatar Al Viro Committed by David S. Miller

cxgb3: trivial endianness annotations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent bd7eb1c5
...@@ -168,8 +168,8 @@ enum { ...@@ -168,8 +168,8 @@ enum {
}; };
struct sg_ent { /* SGE scatter/gather entry */ struct sg_ent { /* SGE scatter/gather entry */
u32 len[2]; __be32 len[2];
u64 addr[2]; __be64 addr[2];
}; };
#ifndef SGE_NUM_GENBITS #ifndef SGE_NUM_GENBITS
......
...@@ -79,7 +79,7 @@ enum { ...@@ -79,7 +79,7 @@ enum {
}; };
struct tx_desc { struct tx_desc {
u64 flit[TX_DESC_FLITS]; __be64 flit[TX_DESC_FLITS];
}; };
struct rx_desc { struct rx_desc {
...@@ -904,8 +904,8 @@ static void write_wr_hdr_sgl(unsigned int ndesc, struct sk_buff *skb, ...@@ -904,8 +904,8 @@ static void write_wr_hdr_sgl(unsigned int ndesc, struct sk_buff *skb,
const struct sge_txq *q, const struct sge_txq *q,
const struct sg_ent *sgl, const struct sg_ent *sgl,
unsigned int flits, unsigned int sgl_flits, unsigned int flits, unsigned int sgl_flits,
unsigned int gen, unsigned int wr_hi, unsigned int gen, __be32 wr_hi,
unsigned int wr_lo) __be32 wr_lo)
{ {
struct work_request_hdr *wrp = (struct work_request_hdr *)d; struct work_request_hdr *wrp = (struct work_request_hdr *)d;
struct tx_sw_desc *sd = &q->sdesc[pidx]; struct tx_sw_desc *sd = &q->sdesc[pidx];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment