projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
856c401
)
be2net: endianness fix in be_cmd_set_qos().
author
Ajit Khaparde
<ajit.khaparde@emulex.com>
Fri, 11 Feb 2011 13:33:02 +0000
(13:33 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 12 Feb 2011 05:14:43 +0000
(21:14 -0800)
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/benet/be_cmds.c
b/drivers/net/benet/be_cmds.c
index a179cc6d79f2e636aad7ac5ca4899855f8ec8de0..d3b671d9e027d649bdd90c84047ab24db73a84b4 100644
(file)
--- a/
drivers/net/benet/be_cmds.c
+++ b/
drivers/net/benet/be_cmds.c
@@
-1868,8
+1868,8
@@
int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain)
OPCODE_COMMON_SET_QOS, sizeof(*req));
req->hdr.domain = domain;
- req->valid_bits =
BE_QOS_BITS_NIC
;
- req->max_bps_nic =
bps
;
+ req->valid_bits =
cpu_to_le32(BE_QOS_BITS_NIC)
;
+ req->max_bps_nic =
cpu_to_le32(bps)
;
status = be_mcc_notify_wait(adapter);