be2net: swap only first 2 fields of mcc_wrb
authorSathya Perla <sathyap@serverengines.com>
Thu, 21 Jan 2010 22:51:36 +0000 (22:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jan 2010 09:08:51 +0000 (01:08 -0800)
commitfa4281bbbcb44d1f8bdac894ad0696535272cc43
treefe7ec8395ecd2177bb777481377e9a43af26d2ed
parent60abe78279568a7109db2bcbc71131766a91c2e5
be2net: swap only first 2 fields of mcc_wrb

Only the first two fields of mcc wrb - embedded, payload_len
need to be cpu_to_le32() swapped while issuing a cmd to the hw.
The fields tag0, tag1 are opaque and returned back to cpu as is...

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c