]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fix timesync endianity
authorMichal Kalderon <Michal.Kalderon@qlogic.com>
Mon, 25 Aug 2014 14:48:33 +0000 (17:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Aug 2014 00:30:22 +0000 (17:30 -0700)
commit24c11cd3867b1b5424a239eb5e17d2531c7329af
treece0fc8524e7d22459fe3ceea3c91d87c801d19b4
parent5d3c6e5ed076b3e983800c579f61e35078074d08
bnx2x: Fix timesync endianity

Commit 72049c98a828b ("bnx2x: Add timestamping and PTP hardware clock support")
has a missing conversion to LE32, which will prevent the feature from working
on big endian machines.

Signed-off-by: Michal Kalderon <Michal.Kalderon@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c