]> git.karo-electronics.de Git - linux-beck.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)
commit8f15c61301223138a01e62e009ad8b3a120b780c
treece0fc8524e7d22459fe3ceea3c91d87c801d19b4
parentaebf6244cd39ba01a6d748e8b29a4f6c7be52535
bnx2x: Fix timesync endianity

Commit eeed018cbfa30 ("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