bnx2x: added cpu_to_le16 when preparing ramrod's data
authorAriel Elior <ariele@broadcom.com>
Mon, 12 Mar 2012 11:22:05 +0000 (11:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2012 00:01:25 +0000 (17:01 -0700)
commitab4a71392eb8a91061c63af1d506f5d4580073cf
treea3f67d7fa5a83848e2994dbe863e70107ff3b164
parentdb0ea84845538f15ab1b44da4af4b4fd7adc4d85
bnx2x: added cpu_to_le16 when preparing ramrod's data

Fixed endianess issue when passing arguments to FW.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c