aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_cmds.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-06-06 20:42:02 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-06 20:42:02 -0400
commiteedc765ca4b19a41cf0b921a492ac08d640060d1 (patch)
tree95c566c6238cc953e1e336115d2daafe8bcb388f /drivers/net/benet/be_cmds.c
parente59d44df46edaafb6b637e98d046775524b31104 (diff)
parent024a07bacf8287a6ddfa83e9d5b951c5e8b4070e (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/sfc/net_driver.h drivers/net/sfc/siena.c
Diffstat (limited to 'drivers/net/benet/be_cmds.c')
-rw-r--r--drivers/net/benet/be_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c
index ce437b639cf8..ee1ad9693c8f 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/benet/be_cmds.c
@@ -1592,7 +1592,7 @@ int be_cmd_loopback_test(struct be_adapter *adapter, u32 port_num,
1592 1592
1593 be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_LOWLEVEL, 1593 be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_LOWLEVEL,
1594 OPCODE_LOWLEVEL_LOOPBACK_TEST, sizeof(*req)); 1594 OPCODE_LOWLEVEL_LOOPBACK_TEST, sizeof(*req));
1595 req->hdr.timeout = 4; 1595 req->hdr.timeout = cpu_to_le32(4);
1596 1596
1597 req->pattern = cpu_to_le64(pattern); 1597 req->pattern = cpu_to_le64(pattern);
1598 req->src_port = cpu_to_le32(port_num); 1598 req->src_port = cpu_to_le32(port_num);